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.001354/0.001357, allocations: 183.6 kB / 15.76 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7898/0.7898, allocations: 82.92 MB / 99.42 MB, free: 3.352 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.303/2.303, allocations: 205.4 MB / 325.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 110.3 kB / 393.6 MB, free: 32 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004498, allocations: 12 kB / 471.5 MB, free: 66.73 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/0.09093, allocations: 67.45 MB / 0.5263 GB, free: 15.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004235/0.09522, allocations: 2.594 MB / 0.5289 GB, free: 12.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.09759, allocations: 0.9363 MB / 0.5298 GB, free: 11.69 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000403/0.09804, allocations: 11.94 kB / 0.5298 GB, free: 11.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.09816, allocations: 31.64 kB / 0.5298 GB, free: 11.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005127/0.09869, allocations: 115.6 kB / 0.5299 GB, free: 11.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.09936, allocations: 183 kB / 0.5301 GB, free: 11.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006953/0.1001, allocations: 340.5 kB / 0.5304 GB, free: 11.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004013/0.1005, allocations: 175.7 kB / 0.5306 GB, free: 10.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.1008, allocations: 147.3 kB / 0.5307 GB, free: 10.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.1011, allocations: 151 kB / 0.5309 GB, free: 10.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.1011, allocations: 12 kB / 0.5309 GB, free: 10.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.442e-05/0.1012, allocations: 12 kB / 0.5309 GB, free: 10.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.113e-05/0.1013, allocations: 67.69 kB / 0.531 GB, free: 10.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1014, allocations: 97.45 kB / 0.5311 GB, free: 10.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005588/0.102, allocations: 427.1 kB / 0.5315 GB, free: 9.949 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.829e-06/0.102, allocations: 0 / 0.5315 GB, free: 9.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.079e-06/0.102, allocations: 4 kB / 0.5315 GB, free: 9.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.102, allocations: 0 / 0.5315 GB, free: 9.945 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001541/0.1036, allocations: 0.6919 MB / 0.5322 GB, free: 9.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1037, allocations: 8.031 kB / 0.5322 GB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.1038, allocations: 55.34 kB / 0.5322 GB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008808/0.1047, allocations: 395.7 kB / 0.5326 GB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/0.1048, allocations: 32.94 kB / 0.5326 GB, free: 8.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.07e-05/0.1049, allocations: 36 kB / 0.5327 GB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009609/0.1059, allocations: 397.6 kB / 0.533 GB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.1059, allocations: 0 / 0.533 GB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/0.106, allocations: 16 kB / 0.5331 GB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.106, allocations: 8 kB / 0.5331 GB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000829/0.1068, allocations: 267.8 kB / 0.5333 GB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.1095, allocations: 1.336 MB / 0.5346 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009606/0.1105, allocations: 310.1 kB / 0.5349 GB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.1105, allocations: 4 kB / 0.5349 GB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005029/0.111, allocations: 177.5 kB / 0.5351 GB, free: 6.039 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.967e-06/0.1111, allocations: 0 / 0.5351 GB, free: 6.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.001147/0.1122, allocations: 385.8 kB / 0.5355 GB, free: 5.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.806e-05/0.1123, allocations: 85.06 kB / 0.5355 GB, free: 5.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005437/0.1129, allocations: 349.6 kB / 0.5359 GB, free: 5.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.1129, allocations: 37.7 kB / 0.5359 GB, free: 5.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.1132, allocations: 229 kB / 0.5361 GB, free: 4.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.1133, allocations: 118.4 kB / 0.5362 GB, free: 4.812 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.1134, allocations: 4 kB / 0.5362 GB, free: 4.809 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.1136, allocations: 346.8 kB / 0.5366 GB, free: 4.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.1139, allocations: 100.7 kB / 0.5367 GB, free: 4.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.1143, allocations: 172.4 kB / 0.5368 GB, free: 4.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.1147, allocations: 117.5 kB / 0.537 GB, free: 4.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.1148, allocations: 0 / 0.537 GB, free: 4.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009282/0.1157, allocations: 350.9 kB / 0.5373 GB, free: 3.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.1157, allocations: 8 kB / 0.5373 GB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.062e-06/0.1158, allocations: 192 / 0.5373 GB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1158, allocations: 8 kB / 0.5373 GB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.1162, allocations: 59.91 kB / 0.5374 GB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.1162, allocations: 11.89 kB / 0.5374 GB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.1165, allocations: 51.62 kB / 0.5374 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.1165, allocations: 12 kB / 0.5374 GB, free: 3.555 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.greaterEqualThreshold.y,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 (45): * Single equations (assignments): 45 * 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.000313/0.1169, allocations: 177.6 kB / 0.5376 GB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/0.117, allocations: 35.62 kB / 0.5376 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.1171, allocations: 40.25 kB / 0.5377 GB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1171, allocations: 4 kB / 0.5377 GB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.95e-06/0.1171, allocations: 4 kB / 0.5377 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.1171, allocations: 11.92 kB / 0.5377 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.1188, allocations: 0.8115 MB / 0.5385 GB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.416e-06/0.1189, allocations: 0 / 0.5385 GB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/0.1192, allocations: 47.91 kB / 0.5385 GB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/0.1192, allocations: 4 kB / 0.5385 GB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.1193, allocations: 7.984 kB / 0.5385 GB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.642e-06/0.1193, allocations: 7.953 kB / 0.5385 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-06/0.1193, allocations: 0 / 0.5385 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.1206, allocations: 0.5147 MB / 0.5391 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.1208, allocations: 136.5 kB / 0.5392 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.462e-05/0.1209, allocations: 8 kB / 0.5392 GB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.1212, allocations: 24.05 kB / 0.5392 GB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.844e-05/0.1213, allocations: 31.91 kB / 0.5392 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.1213, allocations: 8 kB / 0.5393 GB, free: 1.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003819/0.1217, allocations: 243.2 kB / 0.5395 GB, free: 1.352 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.1217, allocations: 0 / 0.5395 GB, free: 1.352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005061/0.1222, allocations: 83.69 kB / 0.5396 GB, free: 1.27 MB / 378.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.greaterEqualThreshold.y) * 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.0001639/0.1224, allocations: 107.2 kB / 0.5397 GB, free: 1.156 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007959/0.1232, allocations: 272 kB / 0.5399 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.388e-06/0.1233, allocations: 0 / 0.5399 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.1236, allocations: 135.8 kB / 0.5401 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.1242, allocations: 81.25 kB / 0.5401 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.1263, allocations: 0.9749 MB / 0.5411 GB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/0.1269, allocations: 0.823 MB / 0.5419 GB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002868/0.1272, allocations: 47.27 kB / 0.5419 GB, free: 14.78 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.1273, allocations: 31.42 kB / 0.542 GB, free: 14.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.829e-06/0.1273, allocations: 0 / 0.542 GB, free: 14.75 MB / 394.7 MB Notification: Performance of Templates: time 0.01066/0.138, allocations: 3.236 MB / 0.5451 GB, free: 11.53 MB / 394.7 MB