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.0009771/0.0009771, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.001155/0.001155, allocations: 169 kB / 24.14 MB, free: 356 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.079/1.079, allocations: 177.1 MB / 204.6 MB, free: 5.07 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.6017/0.6017, allocations: 115 MB / 376 MB, free: 7.441 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.283e-06/1.283e-06, allocations: 0 / 428.7 MB, free: 2.848 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.358e-05, allocations: 2.312 kB / 428.7 MB, free: 2.844 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002485/0.002508, allocations: 1.979 MB / 430.7 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003554, allocations: 0.7359 MB / 431.4 MB, free: 116 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.003661, allocations: 3.938 kB / 431.4 MB, free: 112 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.003873, allocations: 83.58 kB / 431.5 MB, free: 28 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003993/0.004272, allocations: 87.62 kB / 431.6 MB, free: 15.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.004731, allocations: 191.5 kB / 431.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.004966, allocations: 263.4 kB / 432 MB, free: 15.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.005087, allocations: 58.73 kB / 432.1 MB, free: 15.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.005233, allocations: 147.7 kB / 432.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.005392, allocations: 123.7 kB / 432.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.005418, allocations: 16 kB / 432.4 MB, free: 15.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.005522, allocations: 91.88 kB / 432.4 MB, free: 15.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.005589, allocations: 59.83 kB / 432.5 MB, free: 15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.005647, allocations: 63.77 kB / 432.6 MB, free: 14.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.005883, allocations: 219.3 kB / 432.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.005885, allocations: 0 / 432.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005887, allocations: 3.938 kB / 432.8 MB, free: 14.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.00589, allocations: 4 kB / 432.8 MB, free: 14.72 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.0004894/0.00638, allocations: 481 kB / 433.3 MB, free: 14.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.006411, allocations: 8.031 kB / 433.3 MB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.006459, allocations: 32.91 kB / 433.3 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.006658, allocations: 204.8 kB / 433.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.006681, allocations: 20.36 kB / 433.5 MB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.006706, allocations: 12.38 kB / 433.5 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.006932, allocations: 251.9 kB / 433.8 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.006939, allocations: 3.938 kB / 433.8 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.006952, allocations: 8 kB / 433.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.006958, allocations: 4 kB / 433.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.373e-05/0.007032, allocations: 80.95 kB / 433.9 MB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.00747, allocations: 459.7 kB / 434.3 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.007593, allocations: 124.2 kB / 434.4 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.007635, allocations: 66.53 kB / 434.5 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.007644, allocations: 0 / 434.5 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.007767, allocations: 149.5 kB / 434.7 MB, free: 12.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.786e-06/0.00777, allocations: 4 kB / 434.7 MB, free: 12.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001991/0.007969, allocations: 207.1 kB / 434.9 MB, free: 12.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.008021, allocations: 136.5 kB / 435 MB, free: 12.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.008148, allocations: 229 kB / 435.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.008167, allocations: 29.7 kB / 435.2 MB, free: 12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.008234, allocations: 132.9 kB / 435.4 MB, free: 11.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.008262, allocations: 51.5 kB / 435.4 MB, free: 11.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.008309, allocations: 41.67 kB / 435.5 MB, free: 11.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.008405, allocations: 342.8 kB / 435.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.45e-05/0.00845, allocations: 48.52 kB / 435.8 MB, free: 11.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-05/0.008531, allocations: 150.2 kB / 436 MB, free: 11.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.008637, allocations: 149.1 kB / 436.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.00864, allocations: 0 / 436.1 MB, free: 11.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001459/0.008786, allocations: 179.8 kB / 436.3 MB, free: 10.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.008817, allocations: 37.69 kB / 436.4 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.008823, allocations: 4 kB / 436.4 MB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.008833, allocations: 4.125 kB / 436.4 MB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.008909, allocations: 27.92 kB / 436.4 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.008914, allocations: 4 kB / 436.4 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.636e-05/0.00897, allocations: 19.91 kB / 436.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.008981, allocations: 8 kB / 436.4 MB, free: 10.72 MB / 410.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 9.645e-05/0.009077, allocations: 166.1 kB / 436.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.009102, allocations: 27.91 kB / 436.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.009135, allocations: 25.77 kB / 436.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.009137, allocations: 0 / 436.6 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.00914, allocations: 8 kB / 436.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.009143, allocations: 0 / 436.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.009251, allocations: 121.8 kB / 436.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.009252, allocations: 0 / 436.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.009302, allocations: 15.98 kB / 436.8 MB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.009304, allocations: 3.938 kB / 436.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.009316, allocations: 4 kB / 436.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.009318, allocations: 4 kB / 436.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009319, allocations: 0 / 436.8 MB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.00954, allocations: 271.6 kB / 437.1 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.00956, allocations: 23.89 kB / 437.1 MB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.009584, allocations: 11.94 kB / 437.1 MB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.189e-05/0.009626, allocations: 7.984 kB / 437.1 MB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.009679, allocations: 23.95 kB / 437.1 MB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.009694, allocations: 8 kB / 437.1 MB, free: 9.938 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.679e-05/0.009761, allocations: 78.77 kB / 437.2 MB, free: 9.855 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009761, allocations: 0 / 437.2 MB, free: 9.855 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.009921, allocations: 59.89 kB / 437.3 MB, free: 9.797 MB / 410.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.0001459/0.01007, allocations: 124.2 kB / 437.4 MB, free: 9.668 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.01025, allocations: 207.5 kB / 437.6 MB, free: 9.438 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.01025, allocations: 4 kB / 437.6 MB, free: 9.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.01033, allocations: 133.9 kB / 437.7 MB, free: 9.281 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.01048, allocations: 43.73 kB / 437.8 MB, free: 9.242 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.01096, allocations: 419.8 kB / 438.2 MB, free: 8.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.01101, allocations: 87.81 kB / 438.3 MB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.448e-05/0.01107, allocations: 17.48 kB / 438.3 MB, free: 8.676 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.01151, allocations: 99.33 kB / 438.4 MB, free: 8.578 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01151, allocations: 0 / 438.4 MB, free: 8.578 MB / 410.7 MB Notification: Performance of Templates: time 0.005644/0.01716, allocations: 3.123 MB / 441.5 MB, free: 5.469 MB / 410.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.5899789850227535]