Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008975/0.0008975, allocations: 73.97 kB / 20.65 MB, free: 3.844 MB / 18.57 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.0009625/0.0009625, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 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.049/1.049, allocations: 177.1 MB / 204.5 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002326/0.002326, allocations: 245.5 kB / 261.3 MB, free: 12.63 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7233/0.7233, allocations: 138.4 MB / 456.3 MB, free: 1.453 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: translateModel(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.5564 GB, free: 312 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.537e-05, allocations: 2.312 kB / 0.5564 GB, free: 308 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002253/0.002268, allocations: 1.962 MB / 0.5583 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.003364, allocations: 0.7127 MB / 0.559 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.003464, allocations: 7.938 kB / 0.559 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.003662, allocations: 75.64 kB / 0.559 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.003762, allocations: 103.5 kB / 0.5591 GB, free: 13.42 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.004176, allocations: 187.6 kB / 0.5593 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.004408, allocations: 263.3 kB / 0.5596 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.004521, allocations: 50.16 kB / 0.5596 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.004671, allocations: 159.7 kB / 0.5598 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.004819, allocations: 131.7 kB / 0.5599 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.004844, allocations: 16 kB / 0.5599 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.00495, allocations: 91.86 kB / 0.56 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.005017, allocations: 55.77 kB / 0.5601 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.005077, allocations: 63.78 kB / 0.5601 GB, free: 12.42 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.005308, allocations: 231.2 kB / 0.5603 GB, free: 12.19 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.522e-06/0.005309, allocations: 0 / 0.5603 GB, free: 12.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.00531, allocations: 0 / 0.5603 GB, free: 12.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005314, allocations: 0 / 0.5603 GB, free: 12.19 MB / 490.7 MB 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.000502/0.005816, allocations: 0.6023 MB / 0.5609 GB, free: 11.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.005847, allocations: 8.75 kB / 0.5609 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.0059, allocations: 40.75 kB / 0.561 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.006105, allocations: 231.5 kB / 0.5612 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.006126, allocations: 16.36 kB / 0.5612 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.006149, allocations: 16.38 kB / 0.5612 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.006368, allocations: 267.6 kB / 0.5615 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.006376, allocations: 192 / 0.5615 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.006391, allocations: 8.375 kB / 0.5615 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.006396, allocations: 3.938 kB / 0.5615 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.119e-05/0.006467, allocations: 70.14 kB / 0.5616 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.006947, allocations: 0.678 MB / 0.5622 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.007066, allocations: 100.8 kB / 0.5623 GB, free: 9.988 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.007115, allocations: 73.36 kB / 0.5624 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.007123, allocations: 0 / 0.5624 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.007243, allocations: 160.2 kB / 0.5625 GB, free: 9.727 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.007244, allocations: 0 / 0.5625 GB, free: 9.727 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.000254/0.007498, allocations: 250.5 kB / 0.5628 GB, free: 9.457 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.007544, allocations: 136.5 kB / 0.5629 GB, free: 9.293 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.007701, allocations: 304.2 kB / 0.5632 GB, free: 8.977 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.007717, allocations: 25.7 kB / 0.5632 GB, free: 8.945 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.007812, allocations: 215 kB / 0.5634 GB, free: 8.727 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.00784, allocations: 43.67 kB / 0.5635 GB, free: 8.684 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.007893, allocations: 55.33 kB / 0.5635 GB, free: 8.621 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.008018, allocations: 0.5118 MB / 0.564 GB, free: 8.098 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.00806, allocations: 49.69 kB / 0.5641 GB, free: 8.043 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.291e-05/0.008143, allocations: 169.8 kB / 0.5642 GB, free: 7.836 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.768e-05/0.008241, allocations: 150 kB / 0.5644 GB, free: 7.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.008243, allocations: 3.938 kB / 0.5644 GB, free: 7.656 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001999/0.008443, allocations: 240.9 kB / 0.5646 GB, free: 7.402 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.008474, allocations: 45.62 kB / 0.5647 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.008478, allocations: 0 / 0.5647 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.008491, allocations: 4 kB / 0.5647 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/0.008586, allocations: 19.98 kB / 0.5647 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.008589, allocations: 0 / 0.5647 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.437e-05/0.008664, allocations: 23.89 kB / 0.5647 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.008676, allocations: 11.92 kB / 0.5647 GB, free: 7.293 MB / 490.7 MB 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.0001018/0.008778, allocations: 202.4 kB / 0.5649 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.008808, allocations: 31.8 kB / 0.5649 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.008838, allocations: 21.77 kB / 0.565 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.00884, allocations: 4 kB / 0.565 GB, free: 7.023 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008842, allocations: 0 / 0.565 GB, free: 7.023 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.008846, allocations: 3.984 kB / 0.565 GB, free: 7.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.008978, allocations: 173.2 kB / 0.5651 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.00898, allocations: 4 kB / 0.5651 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.009037, allocations: 19.92 kB / 0.5652 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.009039, allocations: 0 / 0.5652 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.009051, allocations: 8 kB / 0.5652 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.009054, allocations: 3.938 kB / 0.5652 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.009055, allocations: 0 / 0.5652 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.009479, allocations: 325.2 kB / 0.5655 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.009501, allocations: 31.78 kB / 0.5655 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.009525, allocations: 8 kB / 0.5655 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.009569, allocations: 7.938 kB / 0.5655 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.009622, allocations: 31.94 kB / 0.5655 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.009635, allocations: 4 kB / 0.5656 GB, free: 6.348 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.113e-05/0.009716, allocations: 201.1 kB / 0.5657 GB, free: 6.156 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009716, allocations: 4.031 kB / 0.5657 GB, free: 6.152 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.0099, allocations: 63.81 kB / 0.5658 GB, free: 6.09 MB / 490.7 MB 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.0001325/0.01003, allocations: 132.9 kB / 0.5659 GB, free: 5.949 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.01021, allocations: 218.3 kB / 0.5661 GB, free: 5.707 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.01021, allocations: 0 / 0.5661 GB, free: 5.707 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.118e-05/0.0103, allocations: 136.7 kB / 0.5663 GB, free: 5.551 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.01048, allocations: 50.05 kB / 0.5663 GB, free: 5.508 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004367/0.01092, allocations: 411.4 kB / 0.5667 GB, free: 5.074 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.352e-05/0.01096, allocations: 87.81 kB / 0.5668 GB, free: 4.969 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.805e-05/0.01101, allocations: 17.48 kB / 0.5668 GB, free: 4.953 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.01113, allocations: 118.2 kB / 0.5669 GB, free: 4.836 MB / 490.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01113, allocations: 0 / 0.5669 GB, free: 4.836 MB / 490.7 MB Notification: Performance of Templates: time 0.00474/0.01587, allocations: 3.202 MB / 0.5701 GB, free: 1.676 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.622446711640805]