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.001829/0.001829, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002544/0.002544, allocations: 209 kB / 22.99 MB, free: 4.977 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 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 1.003/1.003, allocations: 149.9 MB / 463 MB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 178] 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 62.91 kB / 0.6415 GB, free: 9.676 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2234, allocations: 89.19 MB / 0.7286 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003654/0.2271, allocations: 1.901 MB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.2286, allocations: 0.7129 MB / 0.7312 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.2287, allocations: 3.938 kB / 0.7312 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.229, allocations: 83.62 kB / 0.7313 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.2291, allocations: 91.62 kB / 0.7313 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.2298, allocations: 187.6 kB / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.2302, allocations: 259.5 kB / 0.7318 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.2304, allocations: 44.14 kB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.2305, allocations: 119.6 kB / 0.7319 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.2308, allocations: 159.5 kB / 0.7321 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.2308, allocations: 20 kB / 0.7321 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.231, allocations: 83.94 kB / 0.7322 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.2311, allocations: 63.7 kB / 0.7322 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.2312, allocations: 75.55 kB / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.2316, allocations: 314.8 kB / 0.7326 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2316, allocations: 0 / 0.7326 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2316, allocations: 0 / 0.7326 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.2316, allocations: 0 / 0.7326 GB, free: 12.45 MB / 0.5606 GB 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.001026/0.2327, allocations: 0.5219 MB / 0.7331 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.2327, allocations: 8.031 kB / 0.7331 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.966e-05/0.2328, allocations: 32.75 kB / 0.7332 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.2334, allocations: 245.1 kB / 0.7334 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.2334, allocations: 24.12 kB / 0.7334 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.2334, allocations: 16 kB / 0.7334 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.2339, allocations: 304.2 kB / 0.7337 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.2339, allocations: 0 / 0.7337 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.234, allocations: 8 kB / 0.7337 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.234, allocations: 0 / 0.7337 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.2343, allocations: 162.1 kB / 0.7339 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008343/0.2351, allocations: 0.5752 MB / 0.7345 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.2355, allocations: 180.2 kB / 0.7346 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.2357, allocations: 122 kB / 0.7347 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.2357, allocations: 3.938 kB / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003063/0.236, allocations: 198.7 kB / 0.7349 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 3.596e-06/0.236, allocations: 8 kB / 0.7349 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007598/0.2368, allocations: 446.2 kB / 0.7354 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.2369, allocations: 136.5 kB / 0.7355 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.2372, allocations: 269.8 kB / 0.7358 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.2372, allocations: 33.7 kB / 0.7358 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.2374, allocations: 160.3 kB / 0.7359 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.2374, allocations: 39.69 kB / 0.736 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.2375, allocations: 41.7 kB / 0.736 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2377, allocations: 338.8 kB / 0.7363 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.2378, allocations: 121.7 kB / 0.7365 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.2381, allocations: 215 kB / 0.7367 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.2385, allocations: 246.8 kB / 0.7369 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2385, allocations: 0 / 0.7369 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005553/0.239, allocations: 386 kB / 0.7373 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.2391, allocations: 37.7 kB / 0.7373 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2391, allocations: 0 / 0.7373 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2391, allocations: 7.984 kB / 0.7373 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.2392, allocations: 19.98 kB / 0.7373 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.2392, allocations: 4 kB / 0.7373 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.2393, allocations: 19.94 kB / 0.7373 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.2394, allocations: 11.94 kB / 0.7374 GB, free: 7.215 MB / 0.5606 GB 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.0002083/0.2396, allocations: 191.5 kB / 0.7375 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.2396, allocations: 31.84 kB / 0.7376 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.2397, allocations: 25.78 kB / 0.7376 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.2397, allocations: 3.984 kB / 0.7376 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2397, allocations: 0 / 0.7376 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2397, allocations: 3.984 kB / 0.7376 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.2399, allocations: 205.1 kB / 0.7378 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2399, allocations: 0 / 0.7378 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.24, allocations: 15.98 kB / 0.7378 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.24, allocations: 4 kB / 0.7378 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.24, allocations: 4 kB / 0.7378 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.24, allocations: 4 kB / 0.7378 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.24, allocations: 7.984 kB / 0.7378 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/0.2408, allocations: 0.5234 MB / 0.7383 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.5e-05/0.2409, allocations: 19.89 kB / 0.7384 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.2409, allocations: 8 kB / 0.7384 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.241, allocations: 11.98 kB / 0.7384 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.2411, allocations: 28.02 kB / 0.7384 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.2411, allocations: 11.98 kB / 0.7384 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001913/0.2413, allocations: 193.2 kB / 0.7386 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2413, allocations: 192 / 0.7386 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002671/0.2416, allocations: 59.89 kB / 0.7387 GB, free: 5.801 MB / 0.5606 GB 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.0002147/0.2418, allocations: 138.9 kB / 0.7388 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005298/0.2423, allocations: 326.8 kB / 0.7391 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2423, allocations: 0 / 0.7391 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.2425, allocations: 189 kB / 0.7393 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.2428, allocations: 32.48 kB / 0.7393 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008144/0.2436, allocations: 489.1 kB / 0.7398 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.2438, allocations: 136.7 kB / 0.7399 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.549e-05/0.2439, allocations: 17.42 kB / 0.7399 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.2439, allocations: 27.42 kB / 0.74 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.2439, allocations: 0 / 0.74 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of Templates: time 0.007035/0.2509, allocations: 3.063 MB / 0.7429 GB, free: 1.359 MB / 0.5606 GB " [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: 6.301072498783469] Failed to read output from testmodel.py, exit status != 0: 0.2591356560587883 0.27283359799999995 0.038285751 Calling exit ...