Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.448/2.448, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001426, allocations: 168.9 kB / 360.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 93.67 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.221e-05/2.217e-05, allocations: 4 kB / 0.8509 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7972, allocations: 115.3 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/1.033, allocations: 140.3 MB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/1.033, allocations: 79.95 kB / 1.101 GB, free: 128 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02762/1.061, allocations: 5.789 MB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.764e-06/1.061, allocations: 0 / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.252e-05/1.061, allocations: 7.188 kB / 1.106 GB, free: 10.4 MB / 0.7136 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.001195/1.062, allocations: 0.5552 MB / 1.107 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.062, allocations: 8.031 kB / 1.107 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/1.062, allocations: 31.72 kB / 1.107 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/1.063, allocations: 297.4 kB / 1.107 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/1.063, allocations: 7.984 kB / 1.107 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/1.063, allocations: 8 kB / 1.107 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003795/1.063, allocations: 128.2 kB / 1.107 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005147/1.064, allocations: 223.9 kB / 1.107 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.064, allocations: 0 / 1.107 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/1.064, allocations: 4 kB / 1.107 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.064, allocations: 0 / 1.107 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/1.065, allocations: 0.6928 MB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/1.066, allocations: 154.6 kB / 1.108 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/1.066, allocations: 97.72 kB / 1.108 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/1.066, allocations: 4 kB / 1.108 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003718/1.066, allocations: 181.1 kB / 1.108 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 2.765e-06/1.066, allocations: 0 / 1.108 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0009316/1.067, allocations: 299.6 kB / 1.109 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/1.067, allocations: 132.5 kB / 1.109 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/1.068, allocations: 230 kB / 1.109 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/1.068, allocations: 29.7 kB / 1.109 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/1.068, allocations: 160.2 kB / 1.109 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.429e-05/1.068, allocations: 43.39 kB / 1.109 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/1.068, allocations: 0 / 1.109 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.068, allocations: 338.8 kB / 1.11 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/1.069, allocations: 92.16 kB / 1.11 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/1.069, allocations: 141 kB / 1.11 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/1.069, allocations: 89.48 kB / 1.11 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.069, allocations: 0 / 1.11 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008673/1.07, allocations: 331.2 kB / 1.11 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/1.07, allocations: 37.81 kB / 1.11 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.07, allocations: 5.469 kB / 1.11 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.07, allocations: 4 kB / 1.11 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/1.07, allocations: 27.92 kB / 1.11 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.07, allocations: 4 kB / 1.11 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003117/1.071, allocations: 43.91 kB / 1.11 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/1.071, allocations: 8.938 kB / 1.11 GB, free: 5.777 MB / 0.7136 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 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,mot.int.local_reset) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001638/1.071, allocations: 150.5 kB / 1.111 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/1.071, allocations: 27.67 kB / 1.111 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.771e-05/1.071, allocations: 21.97 kB / 1.111 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.071, allocations: 5.219 kB / 1.111 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/1.071, allocations: 3.984 kB / 1.111 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.071, allocations: 0 / 1.111 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/1.072, allocations: 266 kB / 1.111 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.072, allocations: 3.984 kB / 1.111 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/1.072, allocations: 21 kB / 1.111 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/1.072, allocations: 0 / 1.111 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/1.072, allocations: 15.98 kB / 1.111 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.072, allocations: 3.953 kB / 1.111 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.072, allocations: 0 / 1.111 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/1.073, allocations: 484 kB / 1.111 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/1.073, allocations: 108.7 kB / 1.111 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.766e-05/1.073, allocations: 11 kB / 1.111 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/1.074, allocations: 27.17 kB / 1.112 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/1.074, allocations: 31.91 kB / 1.112 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/1.074, allocations: 16.05 kB / 1.112 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002489/1.074, allocations: 178 kB / 1.112 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/1.074, allocations: 0 / 1.112 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000432/1.075, allocations: 64.06 kB / 1.112 GB, free: 4.293 MB / 0.7136 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 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002774/1.075, allocations: 132.8 kB / 1.112 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005278/1.075, allocations: 263.3 kB / 1.112 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.075, allocations: 4.188 kB / 1.112 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002585/1.076, allocations: 167.3 kB / 1.112 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/1.076, allocations: 28.53 kB / 1.112 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/1.077, allocations: 352.8 kB / 1.113 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/1.078, allocations: 0.7555 MB / 1.113 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001422/1.078, allocations: 17.2 kB / 1.113 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/1.078, allocations: 19.44 kB / 1.113 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of SimCode: time 1.133e-06/1.078, allocations: 0 / 1.113 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of Templates: time 0.008717/1.087, allocations: 2.332 MB / 1.116 GB, free: 244 kB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)