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.001458/0.001458, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001528/0.001528, allocations: 169 kB / 24.25 MB, free: 304 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.03/1.03, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.6773/0.6773, allocations: 115 MB / 376 MB, free: 7.648 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.583e-06/1.583e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.8e-05, allocations: 2.312 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002174/0.002192, allocations: 1.983 MB / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009497/0.003142, allocations: 0.7171 MB / 484.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.003259, allocations: 6.594 kB / 484.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.003501, allocations: 76.36 kB / 484.3 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.479e-05/0.003596, allocations: 101.4 kB / 484.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.004032, allocations: 184.9 kB / 484.6 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.004283, allocations: 257.7 kB / 484.8 MB, free: 9.867 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.004417, allocations: 48.73 kB / 484.9 MB, free: 9.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.004574, allocations: 155.6 kB / 485 MB, free: 9.773 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.004752, allocations: 141.7 kB / 485.1 MB, free: 9.742 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.004789, allocations: 20.12 kB / 485.2 MB, free: 9.742 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.00491, allocations: 93.16 kB / 485.3 MB, free: 9.723 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.743e-05/0.004977, allocations: 56.03 kB / 485.3 MB, free: 9.688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.005048, allocations: 64.19 kB / 485.4 MB, free: 9.652 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.005328, allocations: 237.8 kB / 485.6 MB, free: 9.539 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.00533, allocations: 0 / 485.6 MB, free: 9.539 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00533, allocations: 0.8438 kB / 485.6 MB, free: 9.539 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.005335, allocations: 1 kB / 485.6 MB, free: 9.539 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.0005926/0.005928, allocations: 0.6059 MB / 486.2 MB, free: 9.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.005967, allocations: 8.906 kB / 486.2 MB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.006037, allocations: 42.66 kB / 486.3 MB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.006311, allocations: 242.6 kB / 486.5 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.006335, allocations: 17.92 kB / 486.5 MB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.006366, allocations: 16.41 kB / 486.5 MB, free: 8.781 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.006617, allocations: 271.8 kB / 486.8 MB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.006629, allocations: 1.375 kB / 486.8 MB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.006644, allocations: 6.312 kB / 486.8 MB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.006654, allocations: 3.812 kB / 486.8 MB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.006769, allocations: 87.45 kB / 486.9 MB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.007466, allocations: 0.724 MB / 487.6 MB, free: 23.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.007625, allocations: 126.1 kB / 487.7 MB, free: 23.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.02e-05/0.007695, allocations: 68.95 kB / 487.8 MB, free: 23.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.007706, allocations: 3.562 kB / 487.8 MB, free: 23.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.007841, allocations: 148 kB / 488 MB, free: 23.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.007843, allocations: 0 / 488 MB, free: 23.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003311/0.008174, allocations: 270.3 kB / 488.2 MB, free: 23.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.00821, allocations: 136.2 kB / 488.4 MB, free: 23.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.008403, allocations: 305.3 kB / 488.7 MB, free: 23.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.008417, allocations: 32.17 kB / 488.7 MB, free: 23.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.336e-05/0.008511, allocations: 208.9 kB / 488.9 MB, free: 22.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.008537, allocations: 45.11 kB / 488.9 MB, free: 22.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.00859, allocations: 48.47 kB / 489 MB, free: 22.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.008721, allocations: 0.5102 MB / 489.5 MB, free: 22.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.008783, allocations: 56.66 kB / 489.5 MB, free: 22.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.644e-05/0.00887, allocations: 180.9 kB / 489.7 MB, free: 22.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.00899, allocations: 158.2 kB / 489.9 MB, free: 21.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.008993, allocations: 3.188 kB / 489.9 MB, free: 21.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002356/0.009228, allocations: 244.5 kB / 490.1 MB, free: 21.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.009259, allocations: 44.7 kB / 490.2 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.009264, allocations: 1.062 kB / 490.2 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.009275, allocations: 2.094 kB / 490.2 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.009361, allocations: 19.69 kB / 490.2 MB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.009368, allocations: 7.422 kB / 490.2 MB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.061e-05/0.009429, allocations: 28.73 kB / 490.2 MB, free: 21.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.00944, allocations: 4.75 kB / 490.2 MB, free: 21.74 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.0001113/0.009551, allocations: 206.9 kB / 490.4 MB, free: 21.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.009585, allocations: 34.16 kB / 490.5 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.009619, allocations: 26.83 kB / 490.5 MB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.009622, allocations: 6.594 kB / 490.5 MB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.009625, allocations: 0 / 490.5 MB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.009629, allocations: 1.469 kB / 490.5 MB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.009777, allocations: 230.4 kB / 490.7 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.009779, allocations: 0 / 490.7 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.009838, allocations: 22.3 kB / 490.7 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.00984, allocations: 1.906 kB / 490.7 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.009856, allocations: 2.656 kB / 490.7 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.009858, allocations: 4.562 kB / 490.7 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.009859, allocations: 0 / 490.7 MB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.0102, allocations: 340.6 kB / 491.1 MB, free: 21.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.01022, allocations: 34.06 kB / 491.1 MB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.01025, allocations: 3.875 kB / 491.1 MB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.716e-05/0.01029, allocations: 10.62 kB / 491.1 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.01036, allocations: 24.77 kB / 491.2 MB, free: 21.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.01037, allocations: 13.45 kB / 491.2 MB, free: 21.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.01048, allocations: 200.2 kB / 491.4 MB, free: 20.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01048, allocations: 0.5 kB / 491.4 MB, free: 20.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.01067, allocations: 54.81 kB / 491.4 MB, free: 20.89 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.0001449/0.01082, allocations: 133.8 kB / 491.5 MB, free: 20.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.01105, allocations: 223.5 kB / 491.8 MB, free: 20.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01105, allocations: 1.219 kB / 491.8 MB, free: 20.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.01116, allocations: 154 kB / 491.9 MB, free: 20.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.01135, allocations: 39.64 kB / 492 MB, free: 20.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.01185, allocations: 415.5 kB / 492.4 MB, free: 20.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.365e-05/0.01189, allocations: 84.44 kB / 492.4 MB, free: 20.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.065e-05/0.01194, allocations: 20.81 kB / 492.5 MB, free: 20.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.01198, allocations: 21.22 kB / 492.5 MB, free: 20.13 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01198, allocations: 0 / 492.5 MB, free: 20.13 MB / 426.7 MB Notification: Performance of Templates: time 0.004787/0.01677, allocations: 2.926 MB / 495.4 MB, free: 19.89 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.6910988099407405]