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.001352/0.001352, 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.001556/0.001556, allocations: 213.2 kB / 22.24 MB, free: 5.262 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.789 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.8033/0.8033, allocations: 134 MB / 446.4 MB, free: 9.906 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.0019/0.0019, allocations: 63.62 kB / 0.6185 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1533, allocations: 85.92 MB / 0.7024 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003084/0.1564, allocations: 1.909 MB / 0.7042 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1576, allocations: 0.7091 MB / 0.7049 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.36e-05/0.1577, allocations: 0 / 0.7049 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1579, allocations: 87.62 kB / 0.705 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.158, allocations: 91.58 kB / 0.7051 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.1586, allocations: 184.1 kB / 0.7053 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000298/0.1589, allocations: 259.5 kB / 0.7055 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.159, allocations: 53.91 kB / 0.7056 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.1592, allocations: 119.7 kB / 0.7057 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.1594, allocations: 151.5 kB / 0.7058 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.1594, allocations: 20 kB / 0.7059 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.1596, allocations: 91.92 kB / 0.7059 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.1596, allocations: 59.78 kB / 0.706 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.201e-05/0.1597, allocations: 87.45 kB / 0.7061 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.1601, allocations: 314.7 kB / 0.7064 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1601, allocations: 0 / 0.7064 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.883e-06/0.1601, allocations: 0 / 0.7064 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.1601, allocations: 4 kB / 0.7064 GB, free: 12.94 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.0008131/0.1609, allocations: 0.5102 MB / 0.7069 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.161, allocations: 8.031 kB / 0.7069 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.161, allocations: 46.73 kB / 0.7069 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.1611, allocations: 32.75 kB / 0.707 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004893/0.1616, allocations: 249.2 kB / 0.7072 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.1616, allocations: 15.94 kB / 0.7072 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.1616, allocations: 12 kB / 0.7072 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.1621, allocations: 300.2 kB / 0.7075 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1621, allocations: 4 kB / 0.7075 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.1621, allocations: 7.984 kB / 0.7075 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1621, allocations: 4 kB / 0.7075 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.1624, allocations: 166 kB / 0.7077 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008119/0.1632, allocations: 0.6137 MB / 0.7083 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.1636, allocations: 184.2 kB / 0.7085 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.1637, allocations: 118.7 kB / 0.7086 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.1637, allocations: 4 kB / 0.7086 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.164, allocations: 209.4 kB / 0.7088 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.164, allocations: 4.031 kB / 0.7088 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006993/0.1647, allocations: 442.4 kB / 0.7092 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.1648, allocations: 132.5 kB / 0.7093 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.1651, allocations: 281.8 kB / 0.7096 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.1651, allocations: 29.7 kB / 0.7096 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.1652, allocations: 156.3 kB / 0.7098 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.1653, allocations: 39.69 kB / 0.7098 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.1653, allocations: 49.66 kB / 0.7099 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1655, allocations: 342.8 kB / 0.7102 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.1657, allocations: 113.7 kB / 0.7103 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.1659, allocations: 226 kB / 0.7105 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.1662, allocations: 237.3 kB / 0.7107 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1662, allocations: 32 / 0.7107 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005013/0.1667, allocations: 384.2 kB / 0.7111 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.1668, allocations: 37.69 kB / 0.7111 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1668, allocations: 4 kB / 0.7111 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1668, allocations: 96 / 0.7111 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1669, allocations: 27.86 kB / 0.7112 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1669, allocations: 7.938 kB / 0.7112 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.167, allocations: 27.97 kB / 0.7112 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.167, allocations: 8 kB / 0.7112 GB, free: 7.602 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.0001749/0.1672, allocations: 198.5 kB / 0.7114 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1673, allocations: 23.86 kB / 0.7114 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.418e-05/0.1673, allocations: 29.77 kB / 0.7115 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1673, allocations: 4 kB / 0.7115 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1673, allocations: 3.938 kB / 0.7115 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1673, allocations: 0 / 0.7115 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.1675, allocations: 232.6 kB / 0.7117 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1675, allocations: 4 kB / 0.7117 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.558e-05/0.1676, allocations: 23.88 kB / 0.7117 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1676, allocations: 4 kB / 0.7117 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.1677, allocations: 3.984 kB / 0.7117 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1677, allocations: 0 / 0.7117 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1677, allocations: 7.938 kB / 0.7117 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/0.1684, allocations: 0.5135 MB / 0.7122 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.1684, allocations: 31.83 kB / 0.7123 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/0.1685, allocations: 8 kB / 0.7123 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.1686, allocations: 16.05 kB / 0.7123 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.1687, allocations: 27.89 kB / 0.7123 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.1687, allocations: 8 kB / 0.7123 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000187/0.1689, allocations: 201.2 kB / 0.7125 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1689, allocations: 0 / 0.7125 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002672/0.1691, allocations: 59.92 kB / 0.7126 GB, free: 6.125 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.001081/0.1702, allocations: 1.096 MB / 0.7136 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.1707, allocations: 322.6 kB / 0.7139 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1707, allocations: 4 kB / 0.7139 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.1709, allocations: 185 kB / 0.7141 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.1712, allocations: 48.03 kB / 0.7142 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.1745, allocations: 2.919 MB / 0.717 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.1746, allocations: 148.8 kB / 0.7172 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.496e-05/0.1747, allocations: 21.47 kB / 0.7172 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1748, allocations: 75.41 kB / 0.7173 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.1748, allocations: 0 / 0.7173 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03553/0.2104, allocations: 6.086 MB / 0.7232 GB, free: 11.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.11, allocations: 14.31 kB / 0.7232 GB, free: 11.16 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 & 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: 14.514308887068182] Failed to read output from testmodel.py, exit status != 0: 11.209074759855866 11.224925079 11.06190658 Calling exit ...