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.000926/0.000926, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009068/0.0009068, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9598/0.9598, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.002557/0.002557, allocations: 241.1 kB / 260.5 MB, free: 12.89 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.7102/0.7102, allocations: 138.4 MB / 455.4 MB, free: 1.574 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.823e-06/1.823e-06, allocations: 0 / 0.555 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.587e-05, allocations: 2.312 kB / 0.555 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003141/0.003167, allocations: 1.982 MB / 0.557 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.004367, allocations: 0.7205 MB / 0.5577 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.004494, allocations: 0 / 0.5577 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.004748, allocations: 83.64 kB / 0.5577 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.004887, allocations: 99.44 kB / 0.5578 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.005467, allocations: 187.6 kB / 0.558 GB, free: 13.84 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004113/0.005879, allocations: 259.4 kB / 0.5583 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.006028, allocations: 50.14 kB / 0.5583 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.00622, allocations: 155.7 kB / 0.5585 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.006428, allocations: 143.7 kB / 0.5586 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.006466, allocations: 20 kB / 0.5586 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.006606, allocations: 91.91 kB / 0.5587 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.006682, allocations: 51.84 kB / 0.5588 GB, free: 13.08 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.246e-05/0.006764, allocations: 59.78 kB / 0.5588 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.007097, allocations: 247 kB / 0.559 GB, free: 12.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.0071, allocations: 0 / 0.559 GB, free: 12.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.007102, allocations: 4 kB / 0.559 GB, free: 12.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.007107, allocations: 0 / 0.559 GB, free: 12.78 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.0007584/0.007865, allocations: 0.6024 MB / 0.5596 GB, free: 12.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.007908, allocations: 12.75 kB / 0.5596 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.766e-05/0.007996, allocations: 40.75 kB / 0.5597 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.008407, allocations: 243.7 kB / 0.5599 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.008433, allocations: 12.38 kB / 0.5599 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.008466, allocations: 16.38 kB / 0.5599 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.008753, allocations: 275.6 kB / 0.5602 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.00876, allocations: 192 / 0.5602 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.008778, allocations: 12.12 kB / 0.5602 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.008786, allocations: 4 kB / 0.5602 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.008895, allocations: 86.12 kB / 0.5603 GB, free: 11.37 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/0.009499, allocations: 0.7166 MB / 0.561 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.009652, allocations: 108.8 kB / 0.5611 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.009716, allocations: 73.53 kB / 0.5612 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.009727, allocations: 4 kB / 0.5612 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.009877, allocations: 160.3 kB / 0.5613 GB, free: 10.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.009878, allocations: 0 / 0.5613 GB, free: 10.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003284/0.01021, allocations: 270.4 kB / 0.5616 GB, free: 9.922 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.01026, allocations: 132.5 kB / 0.5617 GB, free: 9.762 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.01045, allocations: 304.3 kB / 0.562 GB, free: 9.445 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.01046, allocations: 29.7 kB / 0.562 GB, free: 9.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.01056, allocations: 219 kB / 0.5622 GB, free: 9.188 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.01059, allocations: 47.69 kB / 0.5623 GB, free: 9.141 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.01064, allocations: 39.38 kB / 0.5623 GB, free: 9.094 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.01076, allocations: 0.5118 MB / 0.5628 GB, free: 8.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.01082, allocations: 57.67 kB / 0.5629 GB, free: 8.508 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.672e-05/0.01092, allocations: 174 kB / 0.5631 GB, free: 8.297 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.01104, allocations: 160.6 kB / 0.5632 GB, free: 8.113 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01105, allocations: 0 / 0.5632 GB, free: 8.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002319/0.01128, allocations: 264.7 kB / 0.5635 GB, free: 7.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.01138, allocations: 41.69 kB / 0.5635 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01139, allocations: 4 kB / 0.5635 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.0114, allocations: 0 / 0.5635 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.01148, allocations: 16 kB / 0.5635 GB, free: 7.773 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.01149, allocations: 7.984 kB / 0.5635 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/0.01155, allocations: 15.89 kB / 0.5635 GB, free: 7.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.01156, allocations: 8 kB / 0.5635 GB, free: 7.742 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.0001073/0.01167, allocations: 210.3 kB / 0.5637 GB, free: 7.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.0117, allocations: 39.78 kB / 0.5638 GB, free: 7.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.01173, allocations: 21.77 kB / 0.5638 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.01173, allocations: 0 / 0.5638 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01174, allocations: 4 kB / 0.5638 GB, free: 7.457 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01174, allocations: 4 kB / 0.5638 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.01189, allocations: 212.5 kB / 0.564 GB, free: 7.211 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01189, allocations: 0 / 0.564 GB, free: 7.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.01195, allocations: 19.94 kB / 0.564 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.01196, allocations: 7.922 kB / 0.564 GB, free: 7.184 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.01197, allocations: 8 kB / 0.5641 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.01197, allocations: 0 / 0.5641 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01197, allocations: 0 / 0.5641 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.0123, allocations: 344.7 kB / 0.5644 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.01232, allocations: 27.8 kB / 0.5644 GB, free: 6.773 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.01234, allocations: 8 kB / 0.5644 GB, free: 6.766 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.678e-05/0.01239, allocations: 11.98 kB / 0.5644 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/0.01246, allocations: 27.89 kB / 0.5645 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.01247, allocations: 7.984 kB / 0.5645 GB, free: 6.719 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.724e-05/0.01257, allocations: 205.2 kB / 0.5647 GB, free: 6.523 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01257, allocations: 4 kB / 0.5647 GB, free: 6.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000188/0.01276, allocations: 59.88 kB / 0.5647 GB, free: 6.461 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.0001432/0.0129, allocations: 131.2 kB / 0.5648 GB, free: 6.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.01313, allocations: 226.3 kB / 0.5651 GB, free: 6.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01313, allocations: 0 / 0.5651 GB, free: 6.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01324, allocations: 156.7 kB / 0.5652 GB, free: 5.895 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.01343, allocations: 32.67 kB / 0.5652 GB, free: 5.863 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.01393, allocations: 419.8 kB / 0.5656 GB, free: 5.422 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.734e-05/0.01398, allocations: 79.81 kB / 0.5657 GB, free: 5.324 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.983e-05/0.01403, allocations: 25.47 kB / 0.5657 GB, free: 5.301 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.01406, allocations: 16.5 kB / 0.5658 GB, free: 5.285 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01406, allocations: 0 / 0.5658 GB, free: 5.285 MB / 490.7 MB Notification: Performance of Templates: time 0.004717/0.01878, allocations: 2.922 MB / 0.5686 GB, free: 2.406 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.577106327051297]