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.001262/0.001262, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001489/0.001489, allocations: 216.7 kB / 23.04 MB, free: 5.074 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.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 7.941 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.7908/0.7908, allocations: 134 MB / 447.2 MB, free: 10.14 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.001893/0.001893, allocations: 63.75 kB / 0.6193 GB, free: 7.164 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1637, allocations: 85.91 MB / 0.7032 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003195/0.1669, allocations: 1.997 MB / 0.7051 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1682, allocations: 0.7635 MB / 0.7059 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.923e-05/0.1683, allocations: 7.938 kB / 0.7059 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.1685, allocations: 79.64 kB / 0.706 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.1687, allocations: 91.58 kB / 0.7061 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.1692, allocations: 183.7 kB / 0.7062 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.1695, allocations: 255.4 kB / 0.7065 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.1696, allocations: 57.91 kB / 0.7065 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.1698, allocations: 115.7 kB / 0.7066 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.17, allocations: 163.5 kB / 0.7068 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.17, allocations: 20 kB / 0.7068 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.1702, allocations: 103.9 kB / 0.7069 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.916e-05/0.1702, allocations: 59.77 kB / 0.707 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1704, allocations: 107.3 kB / 0.7071 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.1707, allocations: 302.8 kB / 0.7074 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1707, allocations: 4 kB / 0.7074 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1707, allocations: 0 / 0.7074 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.1707, allocations: 3.984 kB / 0.7074 GB, free: 13.04 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.0008026/0.1715, allocations: 0.5102 MB / 0.7079 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1716, allocations: 12.03 kB / 0.7079 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.494e-05/0.1716, allocations: 4.188 kB / 0.7079 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/0.1716, allocations: 46.73 kB / 0.7079 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.1717, allocations: 28.75 kB / 0.708 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.1722, allocations: 252.9 kB / 0.7082 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.1722, allocations: 16 kB / 0.7082 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.1722, allocations: 12 kB / 0.7082 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.1726, allocations: 223.1 kB / 0.7084 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1726, allocations: 3.938 kB / 0.7084 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.1726, allocations: 8 kB / 0.7085 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1726, allocations: 0 / 0.7085 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.1729, allocations: 136.3 kB / 0.7086 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008031/0.1737, allocations: 0.6527 MB / 0.7092 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.174, allocations: 154.4 kB / 0.7094 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.1742, allocations: 92.95 kB / 0.7095 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1742, allocations: 4 kB / 0.7095 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.1745, allocations: 161 kB / 0.7096 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.1745, allocations: 0 / 0.7096 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.000664/0.1751, allocations: 375.1 kB / 0.71 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/0.1752, allocations: 136.5 kB / 0.7101 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.1755, allocations: 285.8 kB / 0.7104 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.1755, allocations: 33.7 kB / 0.7104 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.1757, allocations: 156.3 kB / 0.7106 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.1757, allocations: 39.69 kB / 0.7106 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.959e-05/0.1758, allocations: 37.7 kB / 0.7106 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1759, allocations: 342.8 kB / 0.711 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.1761, allocations: 87.95 kB / 0.711 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.1763, allocations: 135.2 kB / 0.7112 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.1766, allocations: 246.7 kB / 0.7114 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1766, allocations: 0 / 0.7114 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004935/0.1771, allocations: 337.1 kB / 0.7117 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.1771, allocations: 33.7 kB / 0.7118 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1771, allocations: 3.984 kB / 0.7118 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1772, allocations: 4 kB / 0.7118 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1773, allocations: 27.92 kB / 0.7118 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1773, allocations: 7.875 kB / 0.7118 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.1774, allocations: 27.97 kB / 0.7118 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.1774, allocations: 12 kB / 0.7118 GB, free: 8.156 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.0001715/0.1776, allocations: 187.5 kB / 0.712 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.1776, allocations: 31.84 kB / 0.712 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.1777, allocations: 21.78 kB / 0.7121 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1777, allocations: 0 / 0.7121 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1777, allocations: 3.938 kB / 0.7121 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1777, allocations: 7.984 kB / 0.7121 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.1779, allocations: 260.5 kB / 0.7123 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1779, allocations: 0 / 0.7123 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.178, allocations: 23.92 kB / 0.7124 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.178, allocations: 0 / 0.7124 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1781, allocations: 4 kB / 0.7124 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1781, allocations: 3.984 kB / 0.7124 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1781, allocations: 3.938 kB / 0.7124 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.1788, allocations: 468.6 kB / 0.7128 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.1788, allocations: 19.89 kB / 0.7128 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.1788, allocations: 19.92 kB / 0.7128 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.1789, allocations: 11.98 kB / 0.7129 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.179, allocations: 27.89 kB / 0.7129 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.179, allocations: 4 kB / 0.7129 GB, free: 7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001829/0.1792, allocations: 201.2 kB / 0.7131 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1792, allocations: 4.062 kB / 0.7131 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002582/0.1795, allocations: 55.89 kB / 0.7131 GB, free: 6.742 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.001093/0.1806, allocations: 1.031 MB / 0.7141 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000448/0.181, allocations: 255.2 kB / 0.7144 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.181, allocations: 7.938 kB / 0.7144 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.1812, allocations: 155.3 kB / 0.7145 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.1815, allocations: 34.61 kB / 0.7146 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.1849, allocations: 2.751 MB / 0.7173 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.1853, allocations: 0.7515 MB / 0.718 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.942e-05/0.1853, allocations: 25.47 kB / 0.718 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1854, allocations: 71.41 kB / 0.7181 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1854, allocations: 0 / 0.7181 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.2135, allocations: 5.615 MB / 0.7236 GB, free: 12.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.87, allocations: 4.062 kB / 0.7236 GB, free: 12.04 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.279569054953754] Failed to read output from testmodel.py, exit status != 0: 11.021630597067997 11.03879957 10.864975593 Calling exit ...