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.0009665/0.0009665, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001552/0.001552, allocations: 167.3 kB / 24.84 MB, free: 9.258 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.9578/0.9578, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 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.6145/0.6145, allocations: 115 MB / 376.8 MB, free: 7.508 MB / 346.7 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.693e-06/1.693e-06, allocations: 0 / 482.7 MB, free: 11.76 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.989e-05, allocations: 2.312 kB / 482.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002224/0.002244, allocations: 1.962 MB / 484.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.003247, allocations: 0.7132 MB / 485.4 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.003361, allocations: 4.594 kB / 485.4 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.00357, allocations: 80.36 kB / 485.5 MB, free: 9.973 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.003676, allocations: 98.67 kB / 485.6 MB, free: 9.941 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.004178, allocations: 189.7 kB / 485.8 MB, free: 9.844 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.004463, allocations: 258.4 kB / 486 MB, free: 9.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.004587, allocations: 49.25 kB / 486.1 MB, free: 9.703 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.004748, allocations: 155.5 kB / 486.2 MB, free: 9.641 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.004919, allocations: 139.6 kB / 486.4 MB, free: 9.609 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.004947, allocations: 18.69 kB / 486.4 MB, free: 9.609 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.005059, allocations: 91.11 kB / 486.5 MB, free: 9.586 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.005115, allocations: 45.25 kB / 486.5 MB, free: 9.562 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.005174, allocations: 63.53 kB / 486.6 MB, free: 9.527 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.005423, allocations: 233.8 kB / 486.8 MB, free: 9.414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.005426, allocations: 2.719 kB / 486.8 MB, free: 9.414 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005427, allocations: 1.031 kB / 486.8 MB, free: 9.414 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005432, allocations: 0 / 486.8 MB, free: 9.414 MB / 410.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.0005581/0.00599, allocations: 0.5963 MB / 487.4 MB, free: 8.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.006024, allocations: 9.625 kB / 487.4 MB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.006085, allocations: 41 kB / 487.5 MB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.006285, allocations: 234.1 kB / 487.7 MB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.006307, allocations: 11.25 kB / 487.7 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.006331, allocations: 16.47 kB / 487.7 MB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.006545, allocations: 274.7 kB / 488 MB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.006554, allocations: 0 / 488 MB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.006566, allocations: 5.344 kB / 488 MB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.006574, allocations: 5.156 kB / 488 MB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.374e-05/0.006648, allocations: 73.72 kB / 488.1 MB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.007265, allocations: 0.6693 MB / 488.7 MB, free: 23.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.007389, allocations: 103.7 kB / 488.8 MB, free: 23.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.007435, allocations: 71.36 kB / 488.9 MB, free: 23.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-06/0.007444, allocations: 2.594 kB / 488.9 MB, free: 23.67 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/0.00756, allocations: 159.2 kB / 489.1 MB, free: 23.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.007561, allocations: 0 / 489.1 MB, free: 23.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002801/0.007842, allocations: 255.2 kB / 489.3 MB, free: 23.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.007873, allocations: 135.2 kB / 489.4 MB, free: 23.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.008045, allocations: 297.1 kB / 489.7 MB, free: 23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.008059, allocations: 30.86 kB / 489.8 MB, free: 22.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.395e-05/0.008153, allocations: 216.1 kB / 490 MB, free: 22.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.008179, allocations: 45.64 kB / 490 MB, free: 22.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.008231, allocations: 47.52 kB / 490.1 MB, free: 22.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.008353, allocations: 0.5109 MB / 490.6 MB, free: 22.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.757e-05/0.008401, allocations: 57.91 kB / 490.6 MB, free: 22.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.701e-05/0.008468, allocations: 170.8 kB / 490.8 MB, free: 21.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.486e-05/0.008562, allocations: 159 kB / 491 MB, free: 21.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.008565, allocations: 3.938 kB / 491 MB, free: 21.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002618/0.008827, allocations: 227.4 kB / 491.2 MB, free: 21.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.008865, allocations: 41.19 kB / 491.2 MB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.008871, allocations: 1.219 kB / 491.2 MB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.008883, allocations: 3.562 kB / 491.2 MB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.008977, allocations: 23.12 kB / 491.3 MB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.008982, allocations: 4.375 kB / 491.3 MB, free: 21.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.009063, allocations: 24.02 kB / 491.3 MB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.009077, allocations: 5.438 kB / 491.3 MB, free: 21.68 MB / 426.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.0001277/0.009204, allocations: 208.6 kB / 491.5 MB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.009239, allocations: 37.28 kB / 491.5 MB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.009271, allocations: 24.03 kB / 491.5 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.009273, allocations: 1.281 kB / 491.5 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.009275, allocations: 0 / 491.5 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.009278, allocations: 0.9688 kB / 491.5 MB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.009411, allocations: 179 kB / 491.7 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.009413, allocations: 0 / 491.7 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/0.00947, allocations: 15.8 kB / 491.7 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.009473, allocations: 5.25 kB / 491.7 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.009486, allocations: 2.75 kB / 491.7 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.009488, allocations: 1.375 kB / 491.7 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.009489, allocations: 0 / 491.7 MB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.009779, allocations: 333.5 kB / 492.1 MB, free: 21.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.009802, allocations: 30.56 kB / 492.1 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.009826, allocations: 12.81 kB / 492.1 MB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.009869, allocations: 9.672 kB / 492.1 MB, free: 21.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.009922, allocations: 29.2 kB / 492.2 MB, free: 21.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.009938, allocations: 7.344 kB / 492.2 MB, free: 21.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.276e-05/0.01003, allocations: 194.7 kB / 492.4 MB, free: 20.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01003, allocations: 0 / 492.4 MB, free: 20.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001901/0.01022, allocations: 58.91 kB / 492.4 MB, free: 20.87 MB / 426.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.0001498/0.01037, allocations: 135.8 kB / 492.5 MB, free: 20.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.01057, allocations: 217.7 kB / 492.8 MB, free: 20.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01057, allocations: 1.594 kB / 492.8 MB, free: 20.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.423e-05/0.01065, allocations: 139 kB / 492.9 MB, free: 20.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.01084, allocations: 42.98 kB / 492.9 MB, free: 20.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.01127, allocations: 420.2 kB / 493.3 MB, free: 20.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.01131, allocations: 88.27 kB / 493.4 MB, free: 20.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.13e-05/0.01136, allocations: 17 kB / 493.4 MB, free: 20.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.01149, allocations: 118.7 kB / 493.6 MB, free: 20.05 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01149, allocations: 1.656 kB / 493.6 MB, free: 20.05 MB / 426.7 MB Notification: Performance of Templates: time 0.005277/0.01676, allocations: 3.197 MB / 496.8 MB, free: 19.75 MB / 426.7 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.615231677889824]