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.001302/0.001302, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001406/0.001406, allocations: 214.5 kB / 22.25 MB, free: 5.258 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.341/1.341, allocations: 230.6 MB / 256 MB, free: 7.742 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.7913/0.7913, allocations: 134 MB / 446.4 MB, free: 9.922 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.001929/0.001929, allocations: 65.48 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1609, allocations: 85.91 MB / 0.7024 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003264/0.1642, allocations: 1.928 MB / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.1655, allocations: 0.6974 MB / 0.7049 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1656, allocations: 7.938 kB / 0.7049 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.1659, allocations: 87.64 kB / 0.705 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.166, allocations: 87.58 kB / 0.7051 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.1666, allocations: 187.3 kB / 0.7053 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.1669, allocations: 263.4 kB / 0.7055 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.167, allocations: 49.94 kB / 0.7056 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.1672, allocations: 115.7 kB / 0.7057 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1674, allocations: 155.4 kB / 0.7058 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.1674, allocations: 23.94 kB / 0.7059 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1676, allocations: 87.94 kB / 0.7059 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.817e-05/0.1677, allocations: 55.83 kB / 0.706 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.363e-05/0.1678, allocations: 83.53 kB / 0.7061 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.1681, allocations: 310.7 kB / 0.7064 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1681, allocations: 3.984 kB / 0.7064 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.838e-06/0.1681, allocations: 8 kB / 0.7064 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.1681, allocations: 3.938 kB / 0.7064 GB, free: 12.91 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.0008092/0.169, allocations: 0.5102 MB / 0.7069 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.169, allocations: 12.03 kB / 0.7069 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.147e-05/0.169, allocations: 46.73 kB / 0.7069 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.1691, allocations: 32.75 kB / 0.707 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004748/0.1696, allocations: 245.2 kB / 0.7072 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.1696, allocations: 15.88 kB / 0.7072 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.1696, allocations: 16 kB / 0.7072 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004234/0.1701, allocations: 304.3 kB / 0.7075 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1701, allocations: 0 / 0.7075 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.1701, allocations: 8 kB / 0.7075 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1701, allocations: 0 / 0.7075 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.1704, allocations: 166 kB / 0.7077 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008207/0.1712, allocations: 0.6059 MB / 0.7083 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.1715, allocations: 188.3 kB / 0.7085 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.1717, allocations: 122.5 kB / 0.7086 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.1717, allocations: 4 kB / 0.7086 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003008/0.172, allocations: 202.8 kB / 0.7088 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.172, allocations: 0 / 0.7088 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0007084/0.1727, allocations: 440.7 kB / 0.7092 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.1728, allocations: 140.5 kB / 0.7093 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.1731, allocations: 277.9 kB / 0.7096 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.1731, allocations: 33.69 kB / 0.7096 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1733, allocations: 156.3 kB / 0.7098 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.1733, allocations: 55.61 kB / 0.7098 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.1734, allocations: 45.66 kB / 0.7099 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1735, allocations: 334.8 kB / 0.7102 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.1737, allocations: 121.7 kB / 0.7103 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.1739, allocations: 210.1 kB / 0.7105 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.1743, allocations: 253.1 kB / 0.7108 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1743, allocations: 0 / 0.7108 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005352/0.1748, allocations: 372.8 kB / 0.7111 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.1749, allocations: 36.2 kB / 0.7111 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1749, allocations: 0 / 0.7111 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1749, allocations: 4 kB / 0.7112 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.175, allocations: 27.92 kB / 0.7112 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.175, allocations: 7.938 kB / 0.7112 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.1751, allocations: 23.97 kB / 0.7112 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.1751, allocations: 16.08 kB / 0.7112 GB, free: 7.57 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.0001681/0.1753, allocations: 190.7 kB / 0.7114 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.1753, allocations: 31.86 kB / 0.7114 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.1754, allocations: 25.77 kB / 0.7115 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1754, allocations: 3.938 kB / 0.7115 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1754, allocations: 7.938 kB / 0.7115 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1754, allocations: 3.984 kB / 0.7115 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.1756, allocations: 244.5 kB / 0.7117 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1756, allocations: 0 / 0.7117 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.473e-05/0.1757, allocations: 15.98 kB / 0.7117 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1757, allocations: 0 / 0.7117 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.1758, allocations: 4 kB / 0.7117 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1758, allocations: 0 / 0.7117 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1758, allocations: 3.938 kB / 0.7117 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007481/0.1765, allocations: 0.5252 MB / 0.7122 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.1765, allocations: 23.84 kB / 0.7123 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.1766, allocations: 12.06 kB / 0.7123 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1767, allocations: 11.98 kB / 0.7123 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.1768, allocations: 27.89 kB / 0.7123 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.1768, allocations: 8 kB / 0.7123 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001882/0.177, allocations: 205.2 kB / 0.7125 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.177, allocations: 0 / 0.7125 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002576/0.1772, allocations: 51.94 kB / 0.7126 GB, free: 6.098 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.001099/0.1783, allocations: 1.092 MB / 0.7136 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004821/0.1788, allocations: 326.6 kB / 0.7139 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1788, allocations: 0 / 0.7139 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.179, allocations: 189 kB / 0.7141 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.1793, allocations: 33.05 kB / 0.7142 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.1826, allocations: 2.929 MB / 0.717 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.1828, allocations: 144.8 kB / 0.7172 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.432e-05/0.1828, allocations: 17.48 kB / 0.7172 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.1829, allocations: 71.41 kB / 0.7172 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.1829, allocations: 0 / 0.7172 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.2159, allocations: 6.094 MB / 0.7232 GB, free: 11.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.78, allocations: 20.83 kB / 0.7232 GB, free: 11.12 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.120353166013956] Failed to read output from testmodel.py, exit status != 0: 10.891721790190786 10.913143103 10.741009331 Calling exit ...