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.001445/0.001445, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.001564/0.001564, allocations: 157.6 kB / 23.52 MB, free: 0.918 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 1.566/1.566, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.9581/0.9581, allocations: 115 MB / 375.3 MB, free: 7.574 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.934e-06/1.934e-06, allocations: 0 / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.808e-05, allocations: 6.141 kB / 480.8 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00367/0.003698, allocations: 1.92 MB / 482.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.005349, allocations: 0.7038 MB / 483.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.005485, allocations: 5.562 kB / 483.4 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.0058, allocations: 84.39 kB / 483.5 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.006008, allocations: 98.61 kB / 483.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007868/0.006795, allocations: 180.4 kB / 483.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.0072, allocations: 267.1 kB / 484 MB, free: 9.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.007371, allocations: 40.09 kB / 484.1 MB, free: 9.906 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.007631, allocations: 162.5 kB / 484.2 MB, free: 9.836 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.007873, allocations: 133.8 kB / 484.3 MB, free: 9.809 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.007928, allocations: 20.47 kB / 484.4 MB, free: 9.809 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.008125, allocations: 90.06 kB / 484.4 MB, free: 9.793 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.593e-05/0.008221, allocations: 57.34 kB / 484.5 MB, free: 9.758 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.008325, allocations: 66.03 kB / 484.6 MB, free: 9.723 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.008837, allocations: 332 kB / 484.9 MB, free: 9.586 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.008841, allocations: 4.781 kB / 484.9 MB, free: 9.582 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.008842, allocations: 0 / 484.9 MB, free: 9.582 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.008848, allocations: 1.062 kB / 484.9 MB, free: 9.582 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.0009939/0.009842, allocations: 0.5124 MB / 485.4 MB, free: 9.156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.009897, allocations: 10.28 kB / 485.4 MB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.01002, allocations: 42.94 kB / 485.5 MB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.01068, allocations: 246 kB / 485.7 MB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.01071, allocations: 15.78 kB / 485.7 MB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.01077, allocations: 14.66 kB / 485.7 MB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/0.01132, allocations: 313.9 kB / 486 MB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.01133, allocations: 0 / 486 MB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.01136, allocations: 5.312 kB / 486 MB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.01137, allocations: 3.969 kB / 486 MB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.01178, allocations: 157.9 kB / 486.2 MB, free: 8.641 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.01297, allocations: 0.5742 MB / 486.8 MB, free: 24.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.01354, allocations: 187.6 kB / 487 MB, free: 24.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.01381, allocations: 125.2 kB / 487.1 MB, free: 24.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.01383, allocations: 5.453 kB / 487.1 MB, free: 24.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003776/0.01421, allocations: 204.1 kB / 487.3 MB, free: 23.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.01421, allocations: 1.281 kB / 487.3 MB, free: 23.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.001044/0.01526, allocations: 444 kB / 487.7 MB, free: 23.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.01532, allocations: 135.6 kB / 487.9 MB, free: 23.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.01569, allocations: 266.4 kB / 488.1 MB, free: 23.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.01571, allocations: 32.64 kB / 488.1 MB, free: 23.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.01586, allocations: 167.2 kB / 488.3 MB, free: 23.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.01591, allocations: 42.36 kB / 488.4 MB, free: 23.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.01602, allocations: 41.69 kB / 488.4 MB, free: 23.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.01625, allocations: 335.8 kB / 488.7 MB, free: 22.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.01652, allocations: 116.4 kB / 488.8 MB, free: 22.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.01682, allocations: 219.2 kB / 489 MB, free: 22.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.01732, allocations: 251.3 kB / 489.3 MB, free: 22.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01733, allocations: 1.469 kB / 489.3 MB, free: 22.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008022/0.01813, allocations: 379.2 kB / 489.7 MB, free: 22.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.959e-05/0.0182, allocations: 41.44 kB / 489.7 MB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.01821, allocations: 1.125 kB / 489.7 MB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.01823, allocations: 2.281 kB / 489.7 MB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.01843, allocations: 21.53 kB / 489.7 MB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.01844, allocations: 11.58 kB / 489.7 MB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.01865, allocations: 27.64 kB / 489.8 MB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.01867, allocations: 6.688 kB / 489.8 MB, free: 22.18 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.0002723/0.01895, allocations: 195 kB / 490 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.01903, allocations: 36.62 kB / 490 MB, free: 21.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.0191, allocations: 26.25 kB / 490 MB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.01911, allocations: 1.656 kB / 490 MB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.01911, allocations: 0 / 490 MB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.01912, allocations: 6.047 kB / 490 MB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.01943, allocations: 200.1 kB / 490.2 MB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01943, allocations: 0 / 490.2 MB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.01959, allocations: 23.73 kB / 490.3 MB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01959, allocations: 1.062 kB / 490.3 MB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.01962, allocations: 7.125 kB / 490.3 MB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01962, allocations: 0.9688 kB / 490.3 MB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.01962, allocations: 1.125 kB / 490.3 MB, free: 21.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.02083, allocations: 0.537 MB / 490.8 MB, free: 21.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.02088, allocations: 23.28 kB / 490.8 MB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.02094, allocations: 7.781 kB / 490.8 MB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.0211, allocations: 12.95 kB / 490.8 MB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.02121, allocations: 30.16 kB / 490.9 MB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.02124, allocations: 4.625 kB / 490.9 MB, free: 21.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002897/0.02153, allocations: 192.7 kB / 491.1 MB, free: 21.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.02153, allocations: 0 / 491.1 MB, free: 21.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005313/0.02206, allocations: 62.78 kB / 491.1 MB, free: 21.38 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.0003209/0.02239, allocations: 132.9 kB / 491.3 MB, free: 21.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008048/0.02319, allocations: 325.7 kB / 491.6 MB, free: 21.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.02319, allocations: 0 / 491.6 MB, free: 21.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003849/0.02358, allocations: 189.8 kB / 491.8 MB, free: 20.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.02408, allocations: 40.95 kB / 491.8 MB, free: 20.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.02525, allocations: 489.2 kB / 492.3 MB, free: 20.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.02543, allocations: 143.2 kB / 492.4 MB, free: 20.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.02555, allocations: 17 kB / 492.4 MB, free: 20.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.02562, allocations: 18.12 kB / 492.4 MB, free: 20.58 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02562, allocations: 0 / 492.4 MB, free: 20.58 MB / 426.7 MB Notification: Performance of Templates: time 0.01053/0.03615, allocations: 2.901 MB / 495.4 MB, free: 20.34 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.658717826008797]