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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001285, allocations: 106.2 kB / 16.4 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 179] 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.7765/0.7765, allocations: 132.2 MB / 429.4 MB, free: 6.004 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 59.56 kB / 0.5894 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1456, allocations: 80.21 MB / 0.6677 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003151/0.1488, allocations: 1.954 MB / 0.6696 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.15, allocations: 0.713 MB / 0.6703 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.314e-05/0.1501, allocations: 7.938 kB / 0.6703 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.1503, allocations: 75.66 kB / 0.6704 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.1505, allocations: 91.61 kB / 0.6705 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.151, allocations: 181.4 kB / 0.6706 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000322/0.1514, allocations: 279.4 kB / 0.6709 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.1515, allocations: 61.89 kB / 0.671 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1517, allocations: 119.6 kB / 0.6711 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.1519, allocations: 151.5 kB / 0.6712 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.1519, allocations: 20 kB / 0.6712 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.1521, allocations: 91.92 kB / 0.6713 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.346e-05/0.1522, allocations: 63.77 kB / 0.6714 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1523, allocations: 107.3 kB / 0.6715 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.1527, allocations: 310.7 kB / 0.6718 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1527, allocations: 0 / 0.6718 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1527, allocations: 0 / 0.6718 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1527, allocations: 0 / 0.6718 GB, free: 5.602 MB / 0.4981 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.0008943/0.1536, allocations: 0.5991 MB / 0.6724 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1537, allocations: 8.031 kB / 0.6724 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.1537, allocations: 46.73 kB / 0.6724 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.1538, allocations: 32.75 kB / 0.6724 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/0.1543, allocations: 303 kB / 0.6727 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.1543, allocations: 15.94 kB / 0.6728 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.1543, allocations: 16 kB / 0.6728 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.1547, allocations: 223.1 kB / 0.673 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1548, allocations: 0 / 0.673 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1548, allocations: 4 kB / 0.673 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1548, allocations: 7.938 kB / 0.673 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.1551, allocations: 136.3 kB / 0.6731 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008559/0.1559, allocations: 0.6809 MB / 0.6738 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.1563, allocations: 166.5 kB / 0.6739 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.1565, allocations: 101.1 kB / 0.674 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.1565, allocations: 0 / 0.674 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002949/0.1568, allocations: 161 kB / 0.6742 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.1568, allocations: 0 / 0.6742 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006882/0.1575, allocations: 383 kB / 0.6746 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/0.1576, allocations: 136.5 kB / 0.6747 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.1579, allocations: 282.7 kB / 0.675 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.158, allocations: 29.7 kB / 0.675 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1581, allocations: 156.3 kB / 0.6751 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.1581, allocations: 51.62 kB / 0.6752 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.1582, allocations: 45.61 kB / 0.6752 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1584, allocations: 338.8 kB / 0.6756 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.1586, allocations: 87.95 kB / 0.6756 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.1588, allocations: 132.9 kB / 0.6758 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.1591, allocations: 238.8 kB / 0.676 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1591, allocations: 0 / 0.676 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005283/0.1597, allocations: 341.4 kB / 0.6763 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.1597, allocations: 33.7 kB / 0.6763 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.1597, allocations: 4.094 kB / 0.6764 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1598, allocations: 7.984 kB / 0.6764 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1599, allocations: 24 kB / 0.6764 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.1599, allocations: 11.92 kB / 0.6764 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.16, allocations: 23.83 kB / 0.6764 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.16, allocations: 8 kB / 0.6764 GB, free: 500 kB / 0.4981 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.0001832/0.1602, allocations: 191.5 kB / 0.6766 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.1603, allocations: 27.86 kB / 0.6766 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.201e-05/0.1603, allocations: 25.83 kB / 0.6767 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1603, allocations: 4 kB / 0.6767 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1604, allocations: 7.922 kB / 0.6767 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1604, allocations: 3.984 kB / 0.6767 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.1607, allocations: 281.5 kB / 0.6769 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1607, allocations: 0 / 0.6769 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1608, allocations: 15.98 kB / 0.677 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1608, allocations: 0 / 0.677 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.1608, allocations: 12.08 kB / 0.677 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1608, allocations: 15.81 kB / 0.677 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1608, allocations: 3.938 kB / 0.677 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007359/0.1616, allocations: 461.6 kB / 0.6774 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.1617, allocations: 104.9 kB / 0.6775 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.1617, allocations: 4 kB / 0.6775 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.1619, allocations: 20.05 kB / 0.6776 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.162, allocations: 27.91 kB / 0.6776 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.162, allocations: 4 kB / 0.6776 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002056/0.1622, allocations: 205.9 kB / 0.6778 GB, free: 15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1622, allocations: 3.938 kB / 0.6778 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000262/0.1625, allocations: 59.89 kB / 0.6778 GB, free: 14.93 MB / 0.5137 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.001124/0.1636, allocations: 1.02 MB / 0.6788 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.1641, allocations: 297.1 kB / 0.6791 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1641, allocations: 0 / 0.6791 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.1643, allocations: 183.6 kB / 0.6793 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.1646, allocations: 32.48 kB / 0.6793 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.1682, allocations: 2.779 MB / 0.682 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.1686, allocations: 0.7592 MB / 0.6828 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.506e-05/0.1687, allocations: 21.55 kB / 0.6828 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.1688, allocations: 71.41 kB / 0.6829 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1689, allocations: 3.938 kB / 0.6829 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03581/0.2047, allocations: 5.387 MB / 0.6881 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/7.845, allocations: 0 / 0.6881 GB, free: 4.328 MB / 0.5137 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.22430840600282] Failed to read output from testmodel.py, exit status != 0: 7.913897680002265 7.937641804 7.780887824 Calling exit ...