Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001224/0.001224, allocations: 74.98 kB / 19.93 MB, free: 1.77 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.001384/0.001384, allocations: 171 kB / 23.22 MB, free: 4.887 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.393/1.393, allocations: 177.2 MB / 203.5 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9059/0.9059, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.5547 GB, free: 2.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.194e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.645 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003266/0.003298, allocations: 1.922 MB / 0.5565 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.004649, allocations: 0.7011 MB / 0.5572 GB, free: 12 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.004766, allocations: 7.938 kB / 0.5572 GB, free: 4 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.005023, allocations: 79.75 kB / 0.5573 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.005174, allocations: 99.39 kB / 0.5574 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.005765, allocations: 186.6 kB / 0.5576 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.006114, allocations: 259.4 kB / 0.5578 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.006273, allocations: 54.14 kB / 0.5579 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.00648, allocations: 155.7 kB / 0.558 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.006703, allocations: 143.7 kB / 0.5582 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.006747, allocations: 20 kB / 0.5582 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.006904, allocations: 91.88 kB / 0.5583 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-05/0.006995, allocations: 51.83 kB / 0.5583 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.225e-05/0.007087, allocations: 63.77 kB / 0.5584 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.007542, allocations: 335 kB / 0.5587 GB, free: 14.49 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.007546, allocations: 0 / 0.5587 GB, free: 14.49 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007547, allocations: 0 / 0.5587 GB, free: 14.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.007552, allocations: 0 / 0.5587 GB, free: 14.49 MB / 478.1 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.0009398/0.008492, allocations: 0.5141 MB / 0.5592 GB, free: 13.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.008531, allocations: 12.62 kB / 0.5592 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.008601, allocations: 28.73 kB / 0.5592 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.009148, allocations: 248.9 kB / 0.5595 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.009177, allocations: 16.38 kB / 0.5595 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.009213, allocations: 12.38 kB / 0.5595 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.009698, allocations: 308.2 kB / 0.5598 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.009709, allocations: 0 / 0.5598 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.009729, allocations: 4 kB / 0.5598 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.009738, allocations: 4 kB / 0.5598 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.01003, allocations: 162.1 kB / 0.56 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008817/0.01091, allocations: 0.5791 MB / 0.5605 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/0.01132, allocations: 184.2 kB / 0.5607 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.01151, allocations: 118.7 kB / 0.5608 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.01153, allocations: 8.016 kB / 0.5608 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/0.01188, allocations: 201.7 kB / 0.561 GB, free: 11.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.01188, allocations: 0 / 0.561 GB, free: 11.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007861/0.01266, allocations: 446.4 kB / 0.5614 GB, free: 11.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.841e-05/0.01276, allocations: 132.5 kB / 0.5616 GB, free: 11.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.01305, allocations: 273.8 kB / 0.5618 GB, free: 11.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.01308, allocations: 25.7 kB / 0.5619 GB, free: 11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.01321, allocations: 160.3 kB / 0.562 GB, free: 10.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.01326, allocations: 43.64 kB / 0.562 GB, free: 10.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.01334, allocations: 45.64 kB / 0.5621 GB, free: 10.75 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.0135, allocations: 334.8 kB / 0.5624 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.0137, allocations: 121.7 kB / 0.5625 GB, free: 10.29 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.01397, allocations: 218.1 kB / 0.5627 GB, free: 10.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.01437, allocations: 242.7 kB / 0.563 GB, free: 9.777 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01437, allocations: 0 / 0.563 GB, free: 9.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005841/0.01495, allocations: 382.5 kB / 0.5633 GB, free: 9.387 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.01501, allocations: 41.62 kB / 0.5634 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01501, allocations: 0 / 0.5634 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.01503, allocations: 0 / 0.5634 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.01516, allocations: 27.98 kB / 0.5634 GB, free: 9.312 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01517, allocations: 0 / 0.5634 GB, free: 9.312 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.0153, allocations: 27.88 kB / 0.5634 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.01531, allocations: 4 kB / 0.5634 GB, free: 9.281 MB / 478.1 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.0002244/0.01554, allocations: 208 kB / 0.5636 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.01558, allocations: 23.86 kB / 0.5636 GB, free: 9.039 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.01563, allocations: 21.78 kB / 0.5637 GB, free: 9.023 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01563, allocations: 4.094 kB / 0.5637 GB, free: 9.02 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.01564, allocations: 7.922 kB / 0.5637 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01564, allocations: 0 / 0.5637 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.01588, allocations: 209.1 kB / 0.5639 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01588, allocations: 0 / 0.5639 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.01599, allocations: 15.98 kB / 0.5639 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01599, allocations: 0 / 0.5639 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.01601, allocations: 8 kB / 0.5639 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.01601, allocations: 3.984 kB / 0.5639 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01601, allocations: 0 / 0.5639 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008388/0.01685, allocations: 0.5213 MB / 0.5644 GB, free: 8.191 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.0169, allocations: 23.83 kB / 0.5644 GB, free: 8.168 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.01694, allocations: 8 kB / 0.5644 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.01705, allocations: 19.92 kB / 0.5645 GB, free: 8.141 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.163e-05/0.01713, allocations: 23.95 kB / 0.5645 GB, free: 8.117 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.01715, allocations: 12.05 kB / 0.5645 GB, free: 8.105 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.01735, allocations: 193.2 kB / 0.5647 GB, free: 7.914 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01735, allocations: 0 / 0.5647 GB, free: 7.914 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000286/0.01764, allocations: 55.89 kB / 0.5647 GB, free: 7.859 MB / 478.1 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.0002259/0.01787, allocations: 135.1 kB / 0.5649 GB, free: 7.715 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005426/0.01841, allocations: 322.8 kB / 0.5652 GB, free: 7.375 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01841, allocations: 4 kB / 0.5652 GB, free: 7.371 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002625/0.01867, allocations: 189 kB / 0.5654 GB, free: 7.168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.01897, allocations: 35.67 kB / 0.5654 GB, free: 7.141 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008623/0.01983, allocations: 476.5 kB / 0.5658 GB, free: 6.645 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.01998, allocations: 148.7 kB / 0.566 GB, free: 6.477 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.131e-05/0.02006, allocations: 17.48 kB / 0.566 GB, free: 6.461 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.0201, allocations: 16.5 kB / 0.566 GB, free: 6.445 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.02011, allocations: 288 / 0.566 GB, free: 6.445 MB / 478.1 MB Notification: Performance of Templates: time 0.007237/0.02734, allocations: 2.887 MB / 0.5688 GB, free: 3.617 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.215996999293566] Failed to read output from testmodel.py, exit status != 0: 0.036135751754045486 0.05127806999999994 0.04061084199999994 Calling exit ...