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.001832/0.001832, allocations: 88.17 kB / 20.21 MB, free: 4.203 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.002861/0.002861, allocations: 169.2 kB / 23.53 MB, free: 0.8867 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.562/1.562, 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 1.014/1.014, 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.352e-06/1.352e-06, allocations: 0 / 480.8 MB, free: 11.97 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.476e-05, allocations: 2.312 kB / 480.8 MB, free: 11.97 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00267/0.002695, allocations: 1.943 MB / 482.7 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.003782, allocations: 0.7255 MB / 483.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.003883, allocations: 3.594 kB / 483.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.004105, allocations: 79.67 kB / 483.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.004232, allocations: 96.89 kB / 483.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.004728, allocations: 186.5 kB / 483.8 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.00499, allocations: 262.1 kB / 484.1 MB, free: 9.953 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.005122, allocations: 45.08 kB / 484.1 MB, free: 9.926 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.005309, allocations: 157.5 kB / 484.2 MB, free: 9.859 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.005498, allocations: 139.3 kB / 484.4 MB, free: 9.828 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.005544, allocations: 23.44 kB / 484.4 MB, free: 9.828 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.005697, allocations: 86.66 kB / 484.5 MB, free: 9.812 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.301e-05/0.00577, allocations: 53.39 kB / 484.5 MB, free: 9.781 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/0.005848, allocations: 63.84 kB / 484.6 MB, free: 9.746 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.006188, allocations: 338.9 kB / 484.9 MB, free: 9.605 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.006191, allocations: 0.875 kB / 484.9 MB, free: 9.605 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.006192, allocations: 1.5 kB / 484.9 MB, free: 9.605 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.006198, allocations: 0 / 484.9 MB, free: 9.605 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.0009165/0.007114, allocations: 0.6208 MB / 485.6 MB, free: 25.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.007149, allocations: 10.78 kB / 485.6 MB, free: 25.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.162e-05/0.007241, allocations: 41.03 kB / 485.6 MB, free: 25.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.007633, allocations: 244.3 kB / 485.9 MB, free: 24.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.007658, allocations: 18.89 kB / 485.9 MB, free: 24.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.007691, allocations: 20.16 kB / 485.9 MB, free: 24.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.00801, allocations: 290.2 kB / 486.2 MB, free: 24.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.00802, allocations: 3.5 kB / 486.2 MB, free: 24.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.008039, allocations: 5.688 kB / 486.2 MB, free: 24.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.008046, allocations: 10.5 kB / 486.2 MB, free: 24.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.008268, allocations: 125.8 kB / 486.3 MB, free: 24.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008667/0.009135, allocations: 0.7701 MB / 487.1 MB, free: 23.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.009422, allocations: 157.7 kB / 487.2 MB, free: 23.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.009557, allocations: 91.84 kB / 487.3 MB, free: 23.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.009577, allocations: 1.312 kB / 487.3 MB, free: 23.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.009795, allocations: 195 kB / 487.5 MB, free: 23.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.213e-06/0.009796, allocations: 1.594 kB / 487.5 MB, free: 23.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005535/0.01035, allocations: 313.8 kB / 487.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.01039, allocations: 136.2 kB / 488 MB, free: 23.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.0107, allocations: 350.8 kB / 488.3 MB, free: 23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.01072, allocations: 33.17 kB / 488.3 MB, free: 22.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.01086, allocations: 225.8 kB / 488.6 MB, free: 22.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.01089, allocations: 43.66 kB / 488.6 MB, free: 22.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.01096, allocations: 55.31 kB / 488.7 MB, free: 22.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002748/0.01124, allocations: 0.5217 MB / 489.2 MB, free: 22.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.01138, allocations: 84.22 kB / 489.3 MB, free: 22.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.01155, allocations: 210.2 kB / 489.5 MB, free: 21.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.01178, allocations: 202.8 kB / 489.7 MB, free: 21.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01179, allocations: 0 / 489.7 MB, free: 21.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003966/0.01218, allocations: 283.6 kB / 489.9 MB, free: 21.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.01221, allocations: 41.97 kB / 490 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01222, allocations: 5.25 kB / 490 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.01224, allocations: 1.75 kB / 490 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.01235, allocations: 21.69 kB / 490 MB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.01236, allocations: 6.453 kB / 490 MB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.01246, allocations: 27.94 kB / 490 MB, free: 21.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.01248, allocations: 5.188 kB / 490 MB, free: 21.58 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.0001622/0.01264, allocations: 220.6 kB / 490.3 MB, free: 21.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.592e-05/0.01269, allocations: 32.58 kB / 490.3 MB, free: 21.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.01274, allocations: 24.45 kB / 490.3 MB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01274, allocations: 1.281 kB / 490.3 MB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.01274, allocations: 1.75 kB / 490.3 MB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01275, allocations: 4.531 kB / 490.3 MB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.01295, allocations: 249.9 kB / 490.6 MB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01295, allocations: 1.125 kB / 490.6 MB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.164e-05/0.01304, allocations: 18.08 kB / 490.6 MB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01304, allocations: 0.5625 kB / 490.6 MB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.01306, allocations: 7.516 kB / 490.6 MB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01306, allocations: 1.312 kB / 490.6 MB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01306, allocations: 0 / 490.6 MB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/0.01362, allocations: 429.7 kB / 491 MB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.01365, allocations: 26.25 kB / 491 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.01369, allocations: 12.66 kB / 491.1 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.01378, allocations: 10.25 kB / 491.1 MB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.01386, allocations: 28.81 kB / 491.1 MB, free: 20.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.01388, allocations: 4.406 kB / 491.1 MB, free: 20.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001923/0.01407, allocations: 226 kB / 491.3 MB, free: 20.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01407, allocations: 0 / 491.3 MB, free: 20.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002901/0.01436, allocations: 59.69 kB / 491.4 MB, free: 20.66 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.0002063/0.01457, allocations: 145.8 kB / 491.5 MB, free: 20.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004357/0.015, allocations: 285.1 kB / 491.8 MB, free: 20.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01501, allocations: 1.312 kB / 491.8 MB, free: 20.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.01523, allocations: 177.9 kB / 492 MB, free: 20.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.01552, allocations: 39.42 kB / 492 MB, free: 20.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007392/0.01626, allocations: 446.1 kB / 492.4 MB, free: 19.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.01637, allocations: 135.5 kB / 492.6 MB, free: 19.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.25e-05/0.01644, allocations: 17.08 kB / 492.6 MB, free: 19.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.01649, allocations: 25.81 kB / 492.6 MB, free: 19.84 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01649, allocations: 0 / 492.6 MB, free: 19.84 MB / 426.7 MB Notification: Performance of Templates: time 0.006507/0.023, allocations: 2.886 MB / 495.5 MB, free: 19.62 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: 5.639202216989361]