Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 105.3 kB / 16.46 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001965/0.001965, allocations: 208.3 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.386/1.386, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8182/0.8182, allocations: 133.9 MB / 442.8 MB, free: 11.31 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 66.47 kB / 0.6134 GB, free: 8.766 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1607, allocations: 85.84 MB / 0.6972 GB, free: 3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003271/0.164, allocations: 1.987 MB / 0.6992 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1653, allocations: 0.748 MB / 0.6999 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1654, allocations: 3.938 kB / 0.6999 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.1656, allocations: 83.64 kB / 0.7 GB, free: 172 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.1657, allocations: 91.62 kB / 0.7001 GB, free: 80 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.1663, allocations: 182.8 kB / 0.7003 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.1667, allocations: 263.4 kB / 0.7005 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.1668, allocations: 53.64 kB / 0.7006 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.1669, allocations: 127.6 kB / 0.7007 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.1672, allocations: 155.5 kB / 0.7008 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.1672, allocations: 20 kB / 0.7008 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.1673, allocations: 95.92 kB / 0.7009 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.1674, allocations: 63.7 kB / 0.701 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.1675, allocations: 107.3 kB / 0.7011 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.1679, allocations: 302.8 kB / 0.7014 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1679, allocations: 3.938 kB / 0.7014 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1679, allocations: 0 / 0.7014 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.1679, allocations: 0 / 0.7014 GB, free: 14.73 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008835/0.1688, allocations: 0.5933 MB / 0.702 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1688, allocations: 9.109 kB / 0.702 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.403e-05/0.1689, allocations: 46.73 kB / 0.702 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.282e-05/0.169, allocations: 32.75 kB / 0.7021 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.1695, allocations: 311 kB / 0.7024 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.1695, allocations: 15.94 kB / 0.7024 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.1696, allocations: 19.94 kB / 0.7024 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.17, allocations: 219.1 kB / 0.7026 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.17, allocations: 0 / 0.7026 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.17, allocations: 8 kB / 0.7026 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.17, allocations: 4 kB / 0.7026 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.1703, allocations: 128.4 kB / 0.7027 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008701/0.1711, allocations: 0.6886 MB / 0.7034 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/0.1715, allocations: 150.5 kB / 0.7035 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.1717, allocations: 92.98 kB / 0.7036 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.1717, allocations: 4 kB / 0.7036 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.172, allocations: 169 kB / 0.7038 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.172, allocations: 0 / 0.7038 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0007135/0.1727, allocations: 375 kB / 0.7042 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.876e-05/0.1728, allocations: 132.5 kB / 0.7043 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.173, allocations: 286.7 kB / 0.7046 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.1731, allocations: 29.7 kB / 0.7046 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1732, allocations: 160.3 kB / 0.7047 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.1732, allocations: 35.69 kB / 0.7048 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.1733, allocations: 41.7 kB / 0.7048 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1735, allocations: 342.8 kB / 0.7051 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.1737, allocations: 87.95 kB / 0.7052 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.1738, allocations: 137.7 kB / 0.7054 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.1742, allocations: 245.4 kB / 0.7056 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1742, allocations: 8.031 kB / 0.7056 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005283/0.1747, allocations: 335 kB / 0.7059 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.1748, allocations: 37.69 kB / 0.706 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1748, allocations: 0 / 0.706 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1748, allocations: 0 / 0.706 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1749, allocations: 27.98 kB / 0.706 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1749, allocations: 3.938 kB / 0.706 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.175, allocations: 27.97 kB / 0.706 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.1751, allocations: 4 kB / 0.706 GB, free: 9.648 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.1753, allocations: 203.4 kB / 0.7062 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.1753, allocations: 23.86 kB / 0.7062 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/0.1754, allocations: 29.83 kB / 0.7063 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1754, allocations: 0 / 0.7063 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1754, allocations: 3.938 kB / 0.7063 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1754, allocations: 0 / 0.7063 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.1756, allocations: 293.5 kB / 0.7065 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1756, allocations: 3.938 kB / 0.7065 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.1757, allocations: 15.98 kB / 0.7066 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1757, allocations: 4 kB / 0.7066 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.1758, allocations: 4 kB / 0.7066 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1758, allocations: 4 kB / 0.7066 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1758, allocations: 3.938 kB / 0.7066 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.1765, allocations: 468.6 kB / 0.707 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.281e-05/0.1766, allocations: 100.9 kB / 0.7071 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.1766, allocations: 4 kB / 0.7071 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1767, allocations: 15.98 kB / 0.7071 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.1768, allocations: 27.91 kB / 0.7072 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.1768, allocations: 7.984 kB / 0.7072 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001969/0.177, allocations: 202 kB / 0.7074 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.177, allocations: 64 / 0.7074 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002785/0.1773, allocations: 63.89 kB / 0.7074 GB, free: 8.094 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/0.1784, allocations: 1.024 MB / 0.7084 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004704/0.1789, allocations: 264.9 kB / 0.7087 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1789, allocations: 0 / 0.7087 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.1791, allocations: 155.3 kB / 0.7088 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.1794, allocations: 38.34 kB / 0.7089 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.1829, allocations: 2.762 MB / 0.7116 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1833, allocations: 0.7514 MB / 0.7123 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.521e-05/0.1834, allocations: 21.91 kB / 0.7123 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.1835, allocations: 67.42 kB / 0.7124 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of SimCode: time 6.02e-07/0.1835, allocations: 0 / 0.7124 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07131/0.2548, allocations: 5.386 MB / 0.7176 GB, free: 13.56 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.287, allocations: 0 / 0.7176 GB, free: 13.56 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IDEAS_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.869517626997549] Failed to read output from testmodel.py, exit status != 0: 8.355634592997376 8.370834536 8.200136631 Calling exit ...