Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.625/1.625, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001453/0.001453, allocations: 180.9 kB / 361.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008253/0.0008252, allocations: 96.61 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.571e-05/1.573e-05, allocations: 0 / 0.8517 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5777/0.5777, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.7418, allocations: 140.4 MB / 1.102 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.7421, allocations: 88.47 kB / 1.102 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01643/0.7585, allocations: 5.78 MB / 1.107 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7586, allocations: 0 / 1.107 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.7586, allocations: 8 kB / 1.107 GB, free: 9.598 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.0008008/0.7594, allocations: 0.5593 MB / 1.108 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.7595, allocations: 8.031 kB / 1.108 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.7595, allocations: 28.75 kB / 1.108 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.76, allocations: 289.5 kB / 1.108 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.76, allocations: 4 kB / 1.108 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.76, allocations: 12 kB / 1.108 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002361/0.7603, allocations: 132.2 kB / 1.108 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.7606, allocations: 215.9 kB / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.7606, allocations: 0 / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.7606, allocations: 7.984 kB / 1.108 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.7607, allocations: 4 kB / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008535/0.7615, allocations: 0.6967 MB / 1.109 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.7617, allocations: 142.6 kB / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.7619, allocations: 105 kB / 1.109 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.7619, allocations: 7.984 kB / 1.109 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.7622, allocations: 182.6 kB / 1.11 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/0.7622, allocations: 0 / 1.11 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0005749/0.7627, allocations: 296.4 kB / 1.11 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.7628, allocations: 136.5 kB / 1.11 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.763, allocations: 230 kB / 1.11 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.7631, allocations: 25.7 kB / 1.11 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.7632, allocations: 160.1 kB / 1.11 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.7632, allocations: 43.45 kB / 1.11 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.7633, allocations: 7 kB / 1.11 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7634, allocations: 334.8 kB / 1.111 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.7636, allocations: 88.16 kB / 1.111 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.7637, allocations: 139.2 kB / 1.111 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.7639, allocations: 94.34 kB / 1.111 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7639, allocations: 0 / 1.111 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004854/0.7644, allocations: 333.1 kB / 1.111 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.7644, allocations: 33.66 kB / 1.111 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7644, allocations: 4 kB / 1.111 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.7645, allocations: 0 / 1.111 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.7646, allocations: 35.92 kB / 1.111 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.7646, allocations: 3.984 kB / 1.111 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.7648, allocations: 37.27 kB / 1.111 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.7648, allocations: 12 kB / 1.111 GB, free: 4.977 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.0001162/0.765, allocations: 149.3 kB / 1.112 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.765, allocations: 27.72 kB / 1.112 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/0.7651, allocations: 33.91 kB / 1.112 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7651, allocations: 0 / 1.112 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7651, allocations: 0 / 1.112 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.7651, allocations: 0 / 1.112 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.7653, allocations: 262 kB / 1.112 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7653, allocations: 0 / 1.112 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.7655, allocations: 31.92 kB / 1.112 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.7655, allocations: 3.5 kB / 1.112 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.7655, allocations: 8 kB / 1.112 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.7655, allocations: 0 / 1.112 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.7655, allocations: 3.953 kB / 1.112 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.7663, allocations: 492.4 kB / 1.112 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.7663, allocations: 96.86 kB / 1.113 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.7664, allocations: 8 kB / 1.113 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.7665, allocations: 32.03 kB / 1.113 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.7666, allocations: 28.7 kB / 1.113 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.7667, allocations: 11.95 kB / 1.113 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001481/0.7668, allocations: 186 kB / 1.113 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7668, allocations: 0 / 1.113 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002932/0.7671, allocations: 60.06 kB / 1.113 GB, free: 3.5 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.0002208/0.7673, allocations: 148.4 kB / 1.113 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.7677, allocations: 259.3 kB / 1.113 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7677, allocations: 3 kB / 1.113 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.7679, allocations: 171.3 kB / 1.113 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.7681, allocations: 28.86 kB / 1.113 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000747/0.7688, allocations: 352 kB / 1.114 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.7691, allocations: 0.7594 MB / 1.115 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.357e-05/0.7692, allocations: 9.219 kB / 1.115 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.7693, allocations: 19.42 kB / 1.115 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7693, allocations: 0 / 1.115 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of Templates: time 0.005046/0.7743, allocations: 2.33 MB / 1.117 GB, free: 15.44 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)