Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer.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.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003888/0.003892, allocations: 354.5 kB / 16.58 MB, free: 5.566 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.524/1.524, allocations: 165.8 MB / 183.1 MB, free: 5.352 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 3.697/3.697, allocations: 410.8 MB / 0.6001 GB, free: 15.13 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.001763/0.001762, allocations: 197 kB / 0.6668 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006275/0.0006278, allocations: 12 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4065, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.5833, allocations: 106 MB / 0.9123 GB, free: 2.598 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/0.5837, allocations: 79.95 kB / 0.9123 GB, free: 2.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03244/0.6161, allocations: 7.563 MB / 0.9197 GB, free: 10.93 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6162, allocations: 0 / 0.9197 GB, free: 10.93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.705e-05/0.6163, allocations: 8 kB / 0.9197 GB, free: 10.93 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001839/0.6181, allocations: 0.7033 MB / 0.9204 GB, free: 10.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.6182, allocations: 8.031 kB / 0.9204 GB, free: 10.17 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.6184, allocations: 55.34 kB / 0.9205 GB, free: 10.11 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008937/0.6193, allocations: 395.7 kB / 0.9209 GB, free: 9.688 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.722e-05/0.6194, allocations: 29 kB / 0.9209 GB, free: 9.656 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.987e-05/0.6195, allocations: 40 kB / 0.9209 GB, free: 9.617 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.6207, allocations: 430.4 kB / 0.9213 GB, free: 9.172 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.6207, allocations: 0 / 0.9213 GB, free: 9.172 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/0.6208, allocations: 16 kB / 0.9214 GB, free: 9.156 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.6208, allocations: 8 kB / 0.9214 GB, free: 9.148 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.6219, allocations: 299.8 kB / 0.9217 GB, free: 8.855 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003132/0.625, allocations: 1.371 MB / 0.923 GB, free: 7.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.6264, allocations: 371.2 kB / 0.9233 GB, free: 7.039 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005034/0.6269, allocations: 144.8 kB / 0.9235 GB, free: 6.895 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.137e-05/0.627, allocations: 4 kB / 0.9235 GB, free: 6.891 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006274/0.6276, allocations: 197.4 kB / 0.9237 GB, free: 6.684 MB / 474.7 MB Notification: Performance of pre-optimization done (n=33): time 3.226e-06/0.6276, allocations: 3.938 kB / 0.9237 GB, free: 6.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=33): time 0.001536/0.6292, allocations: 438.5 kB / 0.9241 GB, free: 6.246 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.6293, allocations: 133.1 kB / 0.9242 GB, free: 6.086 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000682/0.63, allocations: 357.7 kB / 0.9246 GB, free: 5.727 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-05/0.6301, allocations: 33.7 kB / 0.9246 GB, free: 5.688 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.6304, allocations: 236.1 kB / 0.9248 GB, free: 5.453 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.6306, allocations: 102.5 kB / 0.9249 GB, free: 5.352 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.6306, allocations: 8 kB / 0.9249 GB, free: 5.344 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000271/0.6309, allocations: 350.8 kB / 0.9253 GB, free: 4.992 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/0.6314, allocations: 116.7 kB / 0.9254 GB, free: 4.879 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000551/0.632, allocations: 191 kB / 0.9256 GB, free: 4.668 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.6324, allocations: 129.5 kB / 0.9257 GB, free: 4.543 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.6325, allocations: 0 / 0.9257 GB, free: 4.543 MB / 474.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001163/0.6336, allocations: 362.2 kB / 0.926 GB, free: 4.184 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.6337, allocations: 14.94 kB / 0.926 GB, free: 4.172 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.6337, allocations: 7.938 kB / 0.926 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.6337, allocations: 4 kB / 0.926 GB, free: 4.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.6343, allocations: 67.86 kB / 0.9261 GB, free: 4.094 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.6343, allocations: 7.984 kB / 0.9261 GB, free: 4.086 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.6348, allocations: 51.67 kB / 0.9262 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.6349, allocations: 12 kB / 0.9262 GB, free: 4.023 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0003701/0.6352, allocations: 174.4 kB / 0.9263 GB, free: 3.848 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.319e-05/0.6354, allocations: 39.53 kB / 0.9264 GB, free: 3.809 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.6355, allocations: 48.25 kB / 0.9264 GB, free: 3.762 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.6355, allocations: 0 / 0.9264 GB, free: 3.762 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.6355, allocations: 7.953 kB / 0.9264 GB, free: 3.754 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6356, allocations: 0 / 0.9264 GB, free: 3.754 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.6376, allocations: 0.8689 MB / 0.9273 GB, free: 2.828 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.6376, allocations: 0 / 0.9273 GB, free: 2.828 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/0.6382, allocations: 55.91 kB / 0.9273 GB, free: 2.773 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.6382, allocations: 4 kB / 0.9273 GB, free: 2.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.6382, allocations: 7.953 kB / 0.9274 GB, free: 2.762 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.6383, allocations: 7.984 kB / 0.9274 GB, free: 2.754 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6383, allocations: 0 / 0.9274 GB, free: 2.754 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.64, allocations: 0.5651 MB / 0.9279 GB, free: 2.172 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.6403, allocations: 148.6 kB / 0.9281 GB, free: 2.008 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.517e-05/0.6404, allocations: 11.94 kB / 0.9281 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.6408, allocations: 35.98 kB / 0.9281 GB, free: 1.961 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.6409, allocations: 23.97 kB / 0.9281 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.641, allocations: 15.98 kB / 0.9281 GB, free: 1.922 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000473/0.6415, allocations: 251.2 kB / 0.9284 GB, free: 1.676 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6415, allocations: 0 / 0.9284 GB, free: 1.676 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005394/0.642, allocations: 83.78 kB / 0.9285 GB, free: 1.594 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002053/0.6423, allocations: 111.2 kB / 0.9286 GB, free: 1.473 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.6433, allocations: 284.3 kB / 0.9288 GB, free: 1.195 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.6434, allocations: 8 kB / 0.9288 GB, free: 1.188 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004994/0.6439, allocations: 156.3 kB / 0.929 GB, free: 1.035 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008754/0.6448, allocations: 79.27 kB / 0.9291 GB, free: 0.957 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3854/1.03, allocations: 0.9753 MB / 0.93 GB, free: 113.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/1.031, allocations: 0.8213 MB / 0.9308 GB, free: 112.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003755/1.031, allocations: 42.88 kB / 0.9309 GB, free: 112.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/1.031, allocations: 30.31 kB / 0.9309 GB, free: 112.7 MB / 474.7 MB Notification: Performance of SimCode: time 9.92e-07/1.031, allocations: 0 / 0.9309 GB, free: 112.7 MB / 474.7 MB Notification: Performance of Templates: time 0.0134/1.045, allocations: 3.731 MB / 0.9345 GB, free: 112.6 MB / 474.7 MB