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.00127/0.00127, allocations: 113 kB / 18.94 MB, free: 2.934 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.001435/0.001435, allocations: 209 kB / 22.25 MB, free: 5.086 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.389/1.389, allocations: 230.6 MB / 256 MB, free: 8 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.8339/0.8339, allocations: 134 MB / 446.4 MB, free: 10.28 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.001904/0.001904, allocations: 73.83 kB / 0.6185 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1681, allocations: 85.91 MB / 0.7024 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003234/0.1713, allocations: 1.994 MB / 0.7044 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1726, allocations: 0.7596 MB / 0.7051 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1727, allocations: 7.938 kB / 0.7051 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.173, allocations: 87.62 kB / 0.7052 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.1731, allocations: 91.62 kB / 0.7053 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.1737, allocations: 182.5 kB / 0.7055 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.174, allocations: 263.4 kB / 0.7057 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.1742, allocations: 49.94 kB / 0.7058 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.1744, allocations: 123.6 kB / 0.7059 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.1746, allocations: 159.5 kB / 0.706 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.1747, allocations: 23.98 kB / 0.7061 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.1748, allocations: 91.94 kB / 0.7062 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.709e-05/0.1749, allocations: 63.77 kB / 0.7062 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.175, allocations: 103.3 kB / 0.7063 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.1754, allocations: 306.8 kB / 0.7066 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1754, allocations: 4 kB / 0.7066 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.113e-06/0.1755, allocations: 0 / 0.7066 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.1755, allocations: 0 / 0.7066 GB, free: 13.12 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.0008677/0.1763, allocations: 0.5219 MB / 0.7071 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1764, allocations: 8.031 kB / 0.7071 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.167e-05/0.1764, allocations: 46.73 kB / 0.7072 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.1765, allocations: 32.75 kB / 0.7072 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.1769, allocations: 249.2 kB / 0.7074 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.177, allocations: 15.94 kB / 0.7075 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.177, allocations: 12 kB / 0.7075 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.1774, allocations: 215.2 kB / 0.7077 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.1774, allocations: 7.938 kB / 0.7077 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.1774, allocations: 8 kB / 0.7077 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1774, allocations: 4 kB / 0.7077 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.1777, allocations: 124.4 kB / 0.7078 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008891/0.1786, allocations: 0.6526 MB / 0.7084 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.1789, allocations: 150.5 kB / 0.7086 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.1791, allocations: 92.94 kB / 0.7087 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.1791, allocations: 0 / 0.7087 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002926/0.1794, allocations: 173.1 kB / 0.7088 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.1794, allocations: 4 kB / 0.7088 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006891/0.1801, allocations: 378.9 kB / 0.7092 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/0.1802, allocations: 136.5 kB / 0.7093 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.1805, allocations: 277.8 kB / 0.7096 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.1805, allocations: 33.7 kB / 0.7096 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.1806, allocations: 156.3 kB / 0.7098 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.206e-05/0.1807, allocations: 47.67 kB / 0.7098 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.1807, allocations: 41.7 kB / 0.7099 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1809, allocations: 338.8 kB / 0.7102 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.1811, allocations: 83.95 kB / 0.7103 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.1812, allocations: 133 kB / 0.7104 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.1816, allocations: 249.1 kB / 0.7106 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1816, allocations: 0 / 0.7106 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004823/0.1821, allocations: 332.6 kB / 0.711 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.1821, allocations: 41.69 kB / 0.711 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1821, allocations: 4 kB / 0.711 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1821, allocations: 3.938 kB / 0.711 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.1823, allocations: 23.98 kB / 0.711 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1823, allocations: 3.938 kB / 0.711 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.1824, allocations: 27.88 kB / 0.7111 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.1824, allocations: 12.09 kB / 0.7111 GB, free: 8.242 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.0002438/0.1826, allocations: 198.4 kB / 0.7113 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.1827, allocations: 23.86 kB / 0.7113 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/0.1827, allocations: 25.77 kB / 0.7113 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1827, allocations: 4 kB / 0.7113 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1827, allocations: 3.938 kB / 0.7113 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1827, allocations: 0 / 0.7113 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.183, allocations: 268.5 kB / 0.7116 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.183, allocations: 4 kB / 0.7116 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.294e-05/0.1831, allocations: 12 kB / 0.7116 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.1831, allocations: 3.984 kB / 0.7116 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1831, allocations: 4 kB / 0.7116 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1831, allocations: 0 / 0.7116 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.1831, allocations: 7.938 kB / 0.7116 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007221/0.1838, allocations: 469 kB / 0.712 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.1839, allocations: 23.88 kB / 0.7121 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.1839, allocations: 8 kB / 0.7121 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.641e-05/0.184, allocations: 11.98 kB / 0.7121 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.1841, allocations: 27.89 kB / 0.7121 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.1841, allocations: 8 kB / 0.7121 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001898/0.1843, allocations: 201.2 kB / 0.7123 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1843, allocations: 192 / 0.7123 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002683/0.1846, allocations: 59.89 kB / 0.7124 GB, free: 6.828 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.001068/0.1857, allocations: 1.02 MB / 0.7134 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.1861, allocations: 267.2 kB / 0.7136 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1861, allocations: 0 / 0.7136 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.1863, allocations: 155.3 kB / 0.7138 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1866, allocations: 40.41 kB / 0.7138 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.1901, allocations: 2.753 MB / 0.7165 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.1905, allocations: 0.7554 MB / 0.7172 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.397e-05/0.1906, allocations: 17.48 kB / 0.7172 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.1907, allocations: 71.41 kB / 0.7173 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.1907, allocations: 0 / 0.7173 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.2241, allocations: 5.592 MB / 0.7228 GB, free: 12.14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.91, allocations: 6.188 kB / 0.7228 GB, free: 12.14 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.44004752899491] Failed to read output from testmodel.py, exit status != 0: 11.009948110993719 11.035122774 10.855259748 Calling exit ...