Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002394/0.002399, allocations: 357.2 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.535/1.535, allocations: 165.8 MB / 182.5 MB, free: 5.488 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.056/4.056, allocations: 410.8 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001715/0.001715, allocations: 198.4 kB / 0.6662 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004728, allocations: 12 kB / 0.7423 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3446, allocations: 67.45 MB / 0.8081 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.001856/0.3465, allocations: 1.609 MB / 0.8097 GB, free: 27.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3476, allocations: 0.6813 MB / 0.8104 GB, free: 26.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.3477, allocations: 3.938 kB / 0.8104 GB, free: 26.47 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.3479, allocations: 71.81 kB / 0.8105 GB, free: 26.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.3481, allocations: 83.7 kB / 0.8105 GB, free: 26.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.3486, allocations: 137.3 kB / 0.8107 GB, free: 26.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.3488, allocations: 219.4 kB / 0.8109 GB, free: 25.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.349, allocations: 49.66 kB / 0.8109 GB, free: 25.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.3491, allocations: 87.66 kB / 0.811 GB, free: 25.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.3493, allocations: 115.6 kB / 0.8111 GB, free: 25.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.3493, allocations: 4 kB / 0.8111 GB, free: 25.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.3495, allocations: 75.86 kB / 0.8112 GB, free: 25.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.3495, allocations: 43.83 kB / 0.8112 GB, free: 25.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.3496, allocations: 61.58 kB / 0.8113 GB, free: 25.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.3498, allocations: 211.5 kB / 0.8115 GB, free: 25.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.59e-06/0.3499, allocations: 0 / 0.8115 GB, free: 25.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.173e-06/0.3499, allocations: 0 / 0.8115 GB, free: 25.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.734e-06/0.3499, allocations: 3.938 kB / 0.8115 GB, free: 25.33 MB / 378.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.0007017/0.3506, allocations: 0.5468 MB / 0.812 GB, free: 24.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.3507, allocations: 16.02 kB / 0.812 GB, free: 24.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.3507, allocations: 31.62 kB / 0.8121 GB, free: 24.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.3512, allocations: 297.6 kB / 0.8124 GB, free: 24.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.3512, allocations: 15.94 kB / 0.8124 GB, free: 24.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.3513, allocations: 16 kB / 0.8124 GB, free: 24.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.3518, allocations: 235.1 kB / 0.8126 GB, free: 24.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3518, allocations: 0 / 0.8126 GB, free: 24.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.3519, allocations: 8 kB / 0.8126 GB, free: 24.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.744e-06/0.3519, allocations: 0 / 0.8126 GB, free: 24.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003596/0.3523, allocations: 140.3 kB / 0.8128 GB, free: 23.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009641/0.3532, allocations: 0.6847 MB / 0.8134 GB, free: 23.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007176/0.354, allocations: 186.4 kB / 0.8136 GB, free: 22.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.3542, allocations: 105 kB / 0.8137 GB, free: 22.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.3543, allocations: 0 / 0.8137 GB, free: 22.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003281/0.3546, allocations: 173.1 kB / 0.8139 GB, free: 22.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.644e-06/0.3546, allocations: 3.938 kB / 0.8139 GB, free: 22.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.000782/0.3554, allocations: 382 kB / 0.8142 GB, free: 22.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.3555, allocations: 136.5 kB / 0.8144 GB, free: 22.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.3558, allocations: 286.6 kB / 0.8146 GB, free: 21.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3558, allocations: 29.7 kB / 0.8147 GB, free: 21.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.3559, allocations: 156.3 kB / 0.8148 GB, free: 21.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.356, allocations: 39.39 kB / 0.8149 GB, free: 21.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.356, allocations: 4 kB / 0.8149 GB, free: 21.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.3561, allocations: 334.8 kB / 0.8152 GB, free: 21.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.3563, allocations: 96.14 kB / 0.8153 GB, free: 21.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.3565, allocations: 137.3 kB / 0.8154 GB, free: 21.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.3567, allocations: 123.4 kB / 0.8155 GB, free: 20.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.779e-06/0.3568, allocations: 0 / 0.8155 GB, free: 20.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005926/0.3574, allocations: 339.1 kB / 0.8158 GB, free: 20.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.3574, allocations: 44.34 kB / 0.8159 GB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.429e-06/0.3574, allocations: 8.047 kB / 0.8159 GB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3575, allocations: 0 / 0.8159 GB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.3576, allocations: 27.92 kB / 0.8159 GB, free: 20.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.3577, allocations: 4 kB / 0.8159 GB, free: 20.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.3578, allocations: 23.83 kB / 0.8159 GB, free: 20.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.3579, allocations: 12 kB / 0.816 GB, free: 20.45 MB / 378.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 ($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.0001734/0.3581, allocations: 191.5 kB / 0.8161 GB, free: 20.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.3581, allocations: 31.72 kB / 0.8162 GB, free: 20.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.3582, allocations: 25.83 kB / 0.8162 GB, free: 20.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.913e-06/0.3582, allocations: 3.953 kB / 0.8162 GB, free: 20.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.486e-06/0.3582, allocations: 0 / 0.8162 GB, free: 20.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.081e-06/0.3582, allocations: 4 kB / 0.8162 GB, free: 20.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.3585, allocations: 297.3 kB / 0.8165 GB, free: 19.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-06/0.3585, allocations: 0 / 0.8165 GB, free: 19.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.3586, allocations: 12 kB / 0.8165 GB, free: 19.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.725e-06/0.3587, allocations: 4 kB / 0.8165 GB, free: 19.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.3587, allocations: 7.984 kB / 0.8165 GB, free: 19.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.671e-06/0.3587, allocations: 0 / 0.8165 GB, free: 19.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.354e-06/0.3587, allocations: 3.953 kB / 0.8165 GB, free: 19.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008288/0.3596, allocations: 478.4 kB / 0.817 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.3596, allocations: 108.7 kB / 0.8171 GB, free: 19.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.3597, allocations: 8 kB / 0.8171 GB, free: 19.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.3599, allocations: 15.98 kB / 0.8171 GB, free: 19.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-05/0.36, allocations: 31.91 kB / 0.8171 GB, free: 19.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.36, allocations: 4 kB / 0.8171 GB, free: 19.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001918/0.3602, allocations: 206 kB / 0.8173 GB, free: 18.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.3602, allocations: 0 / 0.8173 GB, free: 18.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003643/0.3606, allocations: 55.91 kB / 0.8174 GB, free: 18.89 MB / 378.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 (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.0001888/0.3608, allocations: 137 kB / 0.8175 GB, free: 18.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005423/0.3613, allocations: 303.1 kB / 0.8178 GB, free: 18.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.301e-06/0.3614, allocations: 0 / 0.8178 GB, free: 18.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.3616, allocations: 191.3 kB / 0.818 GB, free: 18.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.362, allocations: 28.55 kB / 0.818 GB, free: 18.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.3631, allocations: 0.5185 MB / 0.8185 GB, free: 17.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.3633, allocations: 0.7558 MB / 0.8193 GB, free: 16.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.3635, allocations: 25.53 kB / 0.8193 GB, free: 16.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.3635, allocations: 15.44 kB / 0.8193 GB, free: 16.85 MB / 378.7 MB Notification: Performance of SimCode: time 1.618e-06/0.3635, allocations: 0 / 0.8193 GB, free: 16.85 MB / 378.7 MB Notification: Performance of Templates: time 0.007047/0.3706, allocations: 2.444 MB / 0.8217 GB, free: 14.43 MB / 378.7 MB