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.001793/0.001793, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.00197/0.00197, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 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.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.003318/0.003318, allocations: 229.5 kB / 259.8 MB, free: 12.84 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 1.198/1.198, allocations: 138.5 MB / 454.7 MB, free: 1.461 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.463e-06/1.463e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.938e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003849/0.003879, allocations: 1.943 MB / 0.5562 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.005366, allocations: 0.7167 MB / 0.5569 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.245e-05/0.005458, allocations: 0 / 0.5569 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.00571, allocations: 83.58 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.005874, allocations: 95.56 kB / 0.5571 GB, free: 14 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.006459, allocations: 187.5 kB / 0.5573 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.00683, allocations: 263.4 kB / 0.5575 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.006983, allocations: 50.16 kB / 0.5576 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.007243, allocations: 155.7 kB / 0.5577 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.007481, allocations: 139.7 kB / 0.5578 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.00753, allocations: 24 kB / 0.5579 GB, free: 13.19 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.007703, allocations: 87.92 kB / 0.558 GB, free: 13.1 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.806e-05/0.007801, allocations: 55.83 kB / 0.558 GB, free: 13.05 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.007905, allocations: 63.78 kB / 0.5581 GB, free: 12.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004946/0.008399, allocations: 331 kB / 0.5584 GB, free: 12.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.008403, allocations: 0 / 0.5584 GB, free: 12.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.008404, allocations: 0 / 0.5584 GB, free: 12.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.00841, allocations: 0 / 0.5584 GB, free: 12.66 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.001029/0.00944, allocations: 0.6254 MB / 0.559 GB, free: 11.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.009478, allocations: 16.69 kB / 0.559 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.009579, allocations: 40.75 kB / 0.5591 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.01006, allocations: 247.7 kB / 0.5593 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.01009, allocations: 12.36 kB / 0.5593 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.01013, allocations: 16.38 kB / 0.5593 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.0106, allocations: 287 kB / 0.5596 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.01062, allocations: 8.172 kB / 0.5596 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.01064, allocations: 12.12 kB / 0.5596 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.01065, allocations: 4 kB / 0.5596 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.01092, allocations: 126.1 kB / 0.5597 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.01202, allocations: 0.7794 MB / 0.5605 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.01238, allocations: 152.8 kB / 0.5606 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.01254, allocations: 93.5 kB / 0.5607 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.01256, allocations: 4 kB / 0.5607 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003035/0.01287, allocations: 188.4 kB / 0.5609 GB, free: 9.855 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.01287, allocations: 0 / 0.5609 GB, free: 9.855 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006845/0.01355, allocations: 318.4 kB / 0.5612 GB, free: 9.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.01367, allocations: 140.5 kB / 0.5613 GB, free: 9.352 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.01406, allocations: 348.3 kB / 0.5617 GB, free: 8.988 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.0141, allocations: 33.7 kB / 0.5617 GB, free: 8.949 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.0143, allocations: 223.1 kB / 0.5619 GB, free: 8.727 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.01435, allocations: 51.59 kB / 0.562 GB, free: 8.676 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.01446, allocations: 51.36 kB / 0.562 GB, free: 8.617 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003146/0.01477, allocations: 0.5235 MB / 0.5625 GB, free: 8.082 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.01495, allocations: 89.67 kB / 0.5626 GB, free: 7.988 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.01545, allocations: 207.2 kB / 0.5628 GB, free: 7.742 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.01578, allocations: 196.8 kB / 0.563 GB, free: 7.523 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.01579, allocations: 4 kB / 0.563 GB, free: 7.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005492/0.01634, allocations: 296.9 kB / 0.5633 GB, free: 7.211 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.01638, allocations: 37.69 kB / 0.5633 GB, free: 7.168 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.01639, allocations: 3.984 kB / 0.5633 GB, free: 7.164 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.01641, allocations: 0 / 0.5633 GB, free: 7.164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.01654, allocations: 27.92 kB / 0.5634 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01655, allocations: 4 kB / 0.5634 GB, free: 7.133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.01666, allocations: 19.88 kB / 0.5634 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.01668, allocations: 8 kB / 0.5634 GB, free: 7.105 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.0002207/0.0169, allocations: 223.3 kB / 0.5636 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.01696, allocations: 31.8 kB / 0.5636 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/0.01701, allocations: 25.78 kB / 0.5637 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01702, allocations: 0 / 0.5637 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.01703, allocations: 3.984 kB / 0.5637 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01703, allocations: 0 / 0.5637 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.01733, allocations: 248.5 kB / 0.5639 GB, free: 6.535 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01733, allocations: 0 / 0.5639 GB, free: 6.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.01743, allocations: 15.98 kB / 0.5639 GB, free: 6.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01743, allocations: 7.938 kB / 0.5639 GB, free: 6.512 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.01746, allocations: 8 kB / 0.5639 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01746, allocations: 3.938 kB / 0.5639 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01746, allocations: 0 / 0.5639 GB, free: 6.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007258/0.01818, allocations: 413.2 kB / 0.5643 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.01823, allocations: 23.8 kB / 0.5643 GB, free: 6.031 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.01827, allocations: 4 kB / 0.5644 GB, free: 6.027 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.628e-05/0.01836, allocations: 15.98 kB / 0.5644 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/0.01845, allocations: 23.95 kB / 0.5644 GB, free: 5.988 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.01847, allocations: 12.03 kB / 0.5644 GB, free: 5.977 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002339/0.01871, allocations: 221.1 kB / 0.5646 GB, free: 5.766 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01871, allocations: 0 / 0.5646 GB, free: 5.766 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002868/0.01899, allocations: 67.81 kB / 0.5647 GB, free: 5.699 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.0002248/0.01922, allocations: 129.9 kB / 0.5648 GB, free: 5.562 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005235/0.01974, allocations: 293.9 kB / 0.5651 GB, free: 5.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01974, allocations: 4.188 kB / 0.5651 GB, free: 5.246 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.02001, allocations: 184.6 kB / 0.5653 GB, free: 5.043 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.0203, allocations: 35.3 kB / 0.5653 GB, free: 5.012 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/0.02117, allocations: 451.7 kB / 0.5657 GB, free: 4.539 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.02134, allocations: 144.7 kB / 0.5659 GB, free: 4.379 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.079e-05/0.02142, allocations: 17.48 kB / 0.5659 GB, free: 4.359 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.02148, allocations: 16.5 kB / 0.5659 GB, free: 4.34 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02148, allocations: 0 / 0.5659 GB, free: 4.34 MB / 490.7 MB Notification: Performance of Templates: time 0.007643/0.02912, allocations: 2.883 MB / 0.5687 GB, free: 1.5 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: 5.80615338194184]