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.001588/0.001588, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001928/0.001928, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.7907/0.7907, allocations: 134 MB / 447.2 MB, free: 9.992 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="cs",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.001851/0.001851, allocations: 66.23 kB / 0.6192 GB, free: 6.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1591, allocations: 85.91 MB / 0.7031 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003121/0.1622, allocations: 1.917 MB / 0.705 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1635, allocations: 0.7013 MB / 0.7057 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.1635, allocations: 7.938 kB / 0.7057 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.1638, allocations: 79.64 kB / 0.7058 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1639, allocations: 95.62 kB / 0.7059 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.1644, allocations: 195.1 kB / 0.706 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.1647, allocations: 251.5 kB / 0.7063 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1649, allocations: 57.92 kB / 0.7063 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.165, allocations: 119.6 kB / 0.7065 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.1652, allocations: 155.5 kB / 0.7066 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.1652, allocations: 20 kB / 0.7066 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1654, allocations: 107.9 kB / 0.7067 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.953e-05/0.1655, allocations: 55.72 kB / 0.7068 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.196e-05/0.1656, allocations: 83.53 kB / 0.7069 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.1659, allocations: 306.8 kB / 0.7072 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1659, allocations: 0 / 0.7072 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1659, allocations: 0 / 0.7072 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.1659, allocations: 4 kB / 0.7072 GB, free: 12.98 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.0007956/0.1667, allocations: 0.5219 MB / 0.7077 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1668, allocations: 12.03 kB / 0.7077 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.64e-05/0.1668, allocations: 192 / 0.7077 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/0.1668, allocations: 50.73 kB / 0.7077 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.1669, allocations: 28.75 kB / 0.7078 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004529/0.1673, allocations: 248.9 kB / 0.708 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.1674, allocations: 16 kB / 0.708 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.1674, allocations: 12 kB / 0.708 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.1678, allocations: 304.2 kB / 0.7083 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1678, allocations: 0 / 0.7083 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.1678, allocations: 7.984 kB / 0.7083 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1678, allocations: 4 kB / 0.7083 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.1681, allocations: 162.1 kB / 0.7085 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000782/0.1689, allocations: 0.6136 MB / 0.7091 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.1692, allocations: 188.4 kB / 0.7093 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.1694, allocations: 118.5 kB / 0.7094 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.1694, allocations: 4 kB / 0.7094 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.1697, allocations: 206.7 kB / 0.7096 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.1697, allocations: 0 / 0.7096 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006896/0.1704, allocations: 434.4 kB / 0.71 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.1705, allocations: 136.5 kB / 0.7101 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.1708, allocations: 281.8 kB / 0.7104 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1708, allocations: 29.7 kB / 0.7104 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1709, allocations: 160.3 kB / 0.7106 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.171, allocations: 51.61 kB / 0.7106 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.171, allocations: 37.72 kB / 0.7106 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1712, allocations: 346.7 kB / 0.711 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.1713, allocations: 117.7 kB / 0.7111 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.1716, allocations: 210.1 kB / 0.7113 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.1719, allocations: 257.3 kB / 0.7115 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1719, allocations: 0 / 0.7115 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005174/0.1724, allocations: 376.7 kB / 0.7119 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.1725, allocations: 37.7 kB / 0.7119 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1725, allocations: 0 / 0.7119 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1725, allocations: 4 kB / 0.7119 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1726, allocations: 19.98 kB / 0.712 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1726, allocations: 3.938 kB / 0.712 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1727, allocations: 31.97 kB / 0.712 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.1728, allocations: 8 kB / 0.712 GB, free: 7.625 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.0001733/0.1729, allocations: 187.5 kB / 0.7122 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.173, allocations: 27.86 kB / 0.7122 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.173, allocations: 29.77 kB / 0.7122 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.173, allocations: 0 / 0.7122 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.173, allocations: 7.938 kB / 0.7122 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.173, allocations: 0 / 0.7122 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.1733, allocations: 248.5 kB / 0.7125 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1733, allocations: 0 / 0.7125 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.752e-05/0.1734, allocations: 15.98 kB / 0.7125 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1734, allocations: 0 / 0.7125 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.1734, allocations: 8 kB / 0.7125 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1734, allocations: 0 / 0.7125 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1734, allocations: 3.938 kB / 0.7125 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007426/0.1741, allocations: 0.5268 MB / 0.713 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.1742, allocations: 15.89 kB / 0.713 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.1742, allocations: 20 kB / 0.7131 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1743, allocations: 15.98 kB / 0.7131 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.1744, allocations: 28.08 kB / 0.7131 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1744, allocations: 4 kB / 0.7131 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001889/0.1746, allocations: 209.1 kB / 0.7133 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1746, allocations: 0 / 0.7133 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002705/0.1749, allocations: 59.89 kB / 0.7134 GB, free: 6.141 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.001091/0.176, allocations: 1.078 MB / 0.7144 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004978/0.1765, allocations: 332.9 kB / 0.7147 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1765, allocations: 0 / 0.7147 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.1767, allocations: 189 kB / 0.7149 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.177, allocations: 34.75 kB / 0.7149 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.1803, allocations: 2.925 MB / 0.7178 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.1804, allocations: 144.8 kB / 0.7179 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.623e-05/0.1805, allocations: 17.48 kB / 0.7179 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1806, allocations: 71.41 kB / 0.718 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.1806, allocations: 0 / 0.718 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.2078, allocations: 5.779 MB / 0.7237 GB, free: 11.53 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.92, allocations: 5.016 kB / 0.7237 GB, free: 11.53 MB / 0.545 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 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: 14.325025146012194] Failed to read output from testmodel.py, exit status != 0: 11.073361748014577 11.088710605 10.919886473 Calling exit ...