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.0009315/0.0009315, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001014/0.001014, allocations: 169 kB / 24.05 MB, free: 456 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.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.6515/0.6515, allocations: 115 MB / 376 MB, free: 7.52 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.754e-06/1.754e-06, allocations: 0 / 481.9 MB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.284e-05, allocations: 6.578 kB / 481.9 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.0029/0.002923, allocations: 1.974 MB / 483.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.004167, allocations: 0.7126 MB / 484.6 MB, free: 9.914 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.004299, allocations: 6.594 kB / 484.6 MB, free: 9.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.004548, allocations: 85.34 kB / 484.7 MB, free: 9.891 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.004675, allocations: 91.89 kB / 484.8 MB, free: 9.863 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.005208, allocations: 192.5 kB / 485 MB, free: 9.762 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.005511, allocations: 257 kB / 485.3 MB, free: 9.648 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.005655, allocations: 49.22 kB / 485.3 MB, free: 9.625 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.00585, allocations: 158 kB / 485.5 MB, free: 9.559 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.006043, allocations: 133.6 kB / 485.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.006081, allocations: 18.44 kB / 485.6 MB, free: 9.531 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.006228, allocations: 84.14 kB / 485.7 MB, free: 9.516 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.447e-05/0.006303, allocations: 56.19 kB / 485.7 MB, free: 9.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.23e-05/0.006375, allocations: 60.42 kB / 485.8 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.006736, allocations: 238.7 kB / 486 MB, free: 9.332 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.006739, allocations: 2.562 kB / 486 MB, free: 9.332 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006741, allocations: 3.938 kB / 486 MB, free: 9.328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.006747, allocations: 0 / 486 MB, free: 9.328 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.0006833/0.00743, allocations: 0.5982 MB / 486.6 MB, free: 8.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.007481, allocations: 9.688 kB / 486.6 MB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.99e-05/0.007551, allocations: 42.19 kB / 486.7 MB, free: 8.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.007799, allocations: 226.2 kB / 486.9 MB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.007828, allocations: 14.81 kB / 486.9 MB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.00786, allocations: 16.19 kB / 486.9 MB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.008156, allocations: 267.6 kB / 487.2 MB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.008166, allocations: 4.75 kB / 487.2 MB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.008182, allocations: 6.75 kB / 487.2 MB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.00819, allocations: 3.469 kB / 487.2 MB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/0.008283, allocations: 79.06 kB / 487.3 MB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008488/0.009131, allocations: 0.6716 MB / 488 MB, free: 23.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.009302, allocations: 105.1 kB / 488.1 MB, free: 23.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.535e-05/0.009367, allocations: 66.64 kB / 488.1 MB, free: 23.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.009382, allocations: 1.938 kB / 488.1 MB, free: 23.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.009555, allocations: 154.7 kB / 488.3 MB, free: 23.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.304e-06/0.009558, allocations: 1.125 kB / 488.3 MB, free: 23.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004091/0.009967, allocations: 253.3 kB / 488.5 MB, free: 23.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.01002, allocations: 140.8 kB / 488.7 MB, free: 23.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.01025, allocations: 295.1 kB / 489 MB, free: 22.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.01027, allocations: 33.36 kB / 489 MB, free: 22.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.01046, allocations: 216.4 kB / 489.2 MB, free: 22.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.0105, allocations: 40.12 kB / 489.2 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-05/0.01057, allocations: 46.92 kB / 489.3 MB, free: 22.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.01074, allocations: 0.5146 MB / 489.8 MB, free: 22.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.756e-05/0.01081, allocations: 51.09 kB / 489.9 MB, free: 22.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.01091, allocations: 171.5 kB / 490 MB, free: 21.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.01105, allocations: 156.6 kB / 490.2 MB, free: 21.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.01106, allocations: 6.25 kB / 490.2 MB, free: 21.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000338/0.0114, allocations: 234.8 kB / 490.4 MB, free: 21.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/0.01146, allocations: 41 kB / 490.4 MB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.01147, allocations: 3.312 kB / 490.5 MB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.01148, allocations: 1.156 kB / 490.5 MB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.0116, allocations: 20.91 kB / 490.5 MB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.01161, allocations: 1.438 kB / 490.5 MB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.01168, allocations: 22.48 kB / 490.5 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.0117, allocations: 8.125 kB / 490.5 MB, free: 21.59 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.0001547/0.01185, allocations: 204.7 kB / 490.7 MB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.0119, allocations: 37.81 kB / 490.7 MB, free: 21.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.01195, allocations: 24.56 kB / 490.8 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.01196, allocations: 5.062 kB / 490.8 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01196, allocations: 3.75 kB / 490.8 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.01197, allocations: 1.062 kB / 490.8 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.01224, allocations: 181.9 kB / 491 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.01224, allocations: 1.188 kB / 491 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.905e-05/0.01233, allocations: 14.42 kB / 491 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.01233, allocations: 3.938 kB / 491 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.01235, allocations: 4.062 kB / 491 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01235, allocations: 0 / 491 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.01236, allocations: 5.344 kB / 491 MB, free: 21.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.01283, allocations: 323.2 kB / 491.3 MB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.01286, allocations: 28.97 kB / 491.3 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.0129, allocations: 11.45 kB / 491.3 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.01295, allocations: 8.25 kB / 491.3 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/0.01303, allocations: 25.88 kB / 491.4 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.01306, allocations: 10.77 kB / 491.4 MB, free: 20.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001728/0.01323, allocations: 192.3 kB / 491.6 MB, free: 20.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01323, allocations: 2.219 kB / 491.6 MB, free: 20.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003061/0.01354, allocations: 57.53 kB / 491.6 MB, free: 20.79 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.0002574/0.01379, allocations: 142.2 kB / 491.8 MB, free: 20.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.01408, allocations: 215 kB / 492 MB, free: 20.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01408, allocations: 0 / 492 MB, free: 20.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.01421, allocations: 137.5 kB / 492.1 MB, free: 20.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.01445, allocations: 45.55 kB / 492.2 MB, free: 20.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/0.01508, allocations: 415.1 kB / 492.6 MB, free: 20.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.825e-05/0.01515, allocations: 81.3 kB / 492.6 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.802e-05/0.01522, allocations: 23.67 kB / 492.7 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.01537, allocations: 120.5 kB / 492.8 MB, free: 19.98 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01537, allocations: 0.9375 kB / 492.8 MB, free: 19.98 MB / 426.7 MB Notification: Performance of Templates: time 0.006058/0.02143, allocations: 3.145 MB / 495.9 MB, free: 19.69 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.5419271220453084]