Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.51/2.51, allocations: 287.9 MB / 302.9 MB, free: 8.383 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.001441/0.001441, allocations: 190.1 kB / 371.4 MB, free: 10.66 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 1.975/1.975, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 92.53 kB / 0.7434 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004777, allocations: 14.59 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1622, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.001932/0.1642, allocations: 1.619 MB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1653, allocations: 0.6951 MB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1655, allocations: 0 / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.1656, allocations: 71.77 kB / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.1658, allocations: 87.8 kB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.1663, allocations: 125.4 kB / 0.9813 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.1665, allocations: 151.7 kB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1667, allocations: 53.59 kB / 0.9815 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1668, allocations: 99.64 kB / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.167, allocations: 107.6 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.167, allocations: 7.938 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.1672, allocations: 67.94 kB / 0.9817 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.1672, allocations: 43.83 kB / 0.9818 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.1673, allocations: 65.52 kB / 0.9818 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.1676, allocations: 211.6 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.829e-06/0.1676, allocations: 0 / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.037e-06/0.1676, allocations: 0 / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.1676, allocations: 0 / 0.982 GB, free: 24.79 MB / 0.6198 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.0007864/0.1684, allocations: 0.5429 MB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.1685, allocations: 12.02 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.1686, allocations: 35.58 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006731/0.1693, allocations: 305.5 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.1693, allocations: 12 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.1694, allocations: 16 kB / 0.9829 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.1698, allocations: 223.1 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1699, allocations: 4 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.1699, allocations: 4 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1699, allocations: 4 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.1702, allocations: 124.4 kB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009361/0.1712, allocations: 0.7002 MB / 0.984 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/0.1716, allocations: 174.7 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1717, allocations: 4 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003412/0.172, allocations: 177.1 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 3.562e-06/0.1721, allocations: 0 / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0008242/0.1729, allocations: 474.4 kB / 0.9848 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.173, allocations: 132.5 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.1733, allocations: 282.6 kB / 0.9852 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1733, allocations: 29.7 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/0.1734, allocations: 160.2 kB / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.1735, allocations: 39.45 kB / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.1735, allocations: 8 kB / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.1736, allocations: 330.8 kB / 0.9857 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.1738, allocations: 92.14 kB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.174, allocations: 141.4 kB / 0.9859 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.1742, allocations: 114.7 kB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1743, allocations: 0 / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000618/0.1749, allocations: 344.4 kB / 0.9864 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.1749, allocations: 33.69 kB / 0.9864 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.175, allocations: 8.031 kB / 0.9864 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.175, allocations: 3.938 kB / 0.9864 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.1752, allocations: 27.98 kB / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.591e-06/0.1752, allocations: 8.031 kB / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.1754, allocations: 27.83 kB / 0.9865 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.1754, allocations: 12 kB / 0.9865 GB, free: 19.92 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.1756, allocations: 192.7 kB / 0.9867 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.1757, allocations: 27.72 kB / 0.9867 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.1757, allocations: 25.83 kB / 0.9867 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.932e-06/0.1758, allocations: 4 kB / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.844e-06/0.1758, allocations: 0 / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1758, allocations: 4 kB / 0.9867 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.176, allocations: 293.4 kB / 0.987 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.43e-06/0.1761, allocations: 0 / 0.987 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.1762, allocations: 23.92 kB / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.1762, allocations: 0 / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.1763, allocations: 4 kB / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.674e-06/0.1763, allocations: 0 / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.782e-06/0.1763, allocations: 0 / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008781/0.1772, allocations: 474.3 kB / 0.9875 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.1772, allocations: 104.8 kB / 0.9876 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.1773, allocations: 12.06 kB / 0.9876 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1775, allocations: 15.98 kB / 0.9876 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.1776, allocations: 27.89 kB / 0.9876 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.1776, allocations: 8 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002035/0.1778, allocations: 201.9 kB / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.19e-07/0.1778, allocations: 0 / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003774/0.1782, allocations: 63.97 kB / 0.9879 GB, free: 18.37 MB / 0.6198 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 (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.000202/0.1784, allocations: 133.1 kB / 0.988 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005734/0.179, allocations: 299.2 kB / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.816e-06/0.1791, allocations: 0 / 0.9883 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.1793, allocations: 195.5 kB / 0.9885 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.1797, allocations: 24.83 kB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1807, allocations: 0.5144 MB / 0.989 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.181, allocations: 0.7636 MB / 0.9898 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.1811, allocations: 13.55 kB / 0.9898 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.1811, allocations: 19.44 kB / 0.9898 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of SimCode: time 1.749e-06/0.1812, allocations: 0 / 0.9898 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.007251/0.1884, allocations: 2.46 MB / 0.9922 GB, free: 13.9 MB / 0.6198 GB