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.003776/0.003782, allocations: 359.9 kB / 16.59 MB, free: 5.562 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.328/1.328, allocations: 165.8 MB / 183.1 MB, free: 5.898 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.133/4.133, allocations: 410.7 MB / 0.6001 GB, free: 37.32 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001856/0.001856, allocations: 192 kB / 0.6668 GB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004717/0.000472, allocations: 9.938 kB / 0.7429 GB, free: 73.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1258, allocations: 67.46 MB / 0.8087 GB, free: 17.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003798/0.1296, allocations: 2.624 MB / 0.8113 GB, free: 14.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1321, allocations: 0.9244 MB / 0.8122 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.1326, allocations: 11.94 kB / 0.8122 GB, free: 13.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.64e-05/0.1327, allocations: 35.64 kB / 0.8122 GB, free: 13.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005187/0.1333, allocations: 99.25 kB / 0.8123 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.1339, allocations: 179.6 kB / 0.8125 GB, free: 13.31 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007736/0.1347, allocations: 495.8 kB / 0.813 GB, free: 12.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000411/0.1352, allocations: 183.7 kB / 0.8132 GB, free: 12.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.1355, allocations: 135.2 kB / 0.8133 GB, free: 12.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.1357, allocations: 151.1 kB / 0.8134 GB, free: 12.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.1358, allocations: 12 kB / 0.8134 GB, free: 12.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.026e-05/0.1358, allocations: 12 kB / 0.8135 GB, free: 12.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.1359, allocations: 59.64 kB / 0.8135 GB, free: 12.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.252e-05/0.136, allocations: 101.5 kB / 0.8136 GB, free: 12.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.1365, allocations: 431.1 kB / 0.814 GB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1365, allocations: 0 / 0.814 GB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1365, allocations: 4 kB / 0.814 GB, free: 11.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1365, allocations: 0 / 0.814 GB, free: 11.75 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.001474/0.138, allocations: 0.6918 MB / 0.8147 GB, free: 11.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1381, allocations: 8.031 kB / 0.8147 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.1382, allocations: 55.34 kB / 0.8148 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000786/0.139, allocations: 395.7 kB / 0.8151 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.1391, allocations: 29 kB / 0.8152 GB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/0.1392, allocations: 39.94 kB / 0.8152 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000901/0.1401, allocations: 397.6 kB / 0.8156 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.1401, allocations: 7.984 kB / 0.8156 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.1402, allocations: 12 kB / 0.8156 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.1402, allocations: 11.98 kB / 0.8156 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008409/0.1411, allocations: 267.8 kB / 0.8159 GB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.1435, allocations: 1.336 MB / 0.8172 GB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009872/0.1446, allocations: 305.9 kB / 0.8175 GB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/0.145, allocations: 144.8 kB / 0.8176 GB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.1451, allocations: 0 / 0.8176 GB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004961/0.1456, allocations: 181.5 kB / 0.8178 GB, free: 7.699 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.965e-06/0.1456, allocations: 3.938 kB / 0.8178 GB, free: 7.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.001269/0.1469, allocations: 385.7 kB / 0.8181 GB, free: 7.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1469, allocations: 85.11 kB / 0.8182 GB, free: 7.211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/0.1474, allocations: 349.6 kB / 0.8186 GB, free: 6.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.1475, allocations: 37.7 kB / 0.8186 GB, free: 6.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.1476, allocations: 229 kB / 0.8188 GB, free: 6.586 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.498e-05/0.1478, allocations: 106.5 kB / 0.8189 GB, free: 6.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.1478, allocations: 8 kB / 0.8189 GB, free: 6.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.1479, allocations: 346.8 kB / 0.8193 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.1482, allocations: 104.7 kB / 0.8194 GB, free: 6.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.1487, allocations: 172.4 kB / 0.8195 GB, free: 5.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.1491, allocations: 117.5 kB / 0.8196 GB, free: 5.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1491, allocations: 3.938 kB / 0.8196 GB, free: 5.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009712/0.1501, allocations: 354.9 kB / 0.82 GB, free: 5.355 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1501, allocations: 4 kB / 0.82 GB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1501, allocations: 4 kB / 0.82 GB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.1502, allocations: 4 kB / 0.82 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.1507, allocations: 59.91 kB / 0.82 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.1507, allocations: 11.89 kB / 0.8201 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.1511, allocations: 47.83 kB / 0.8201 GB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.1512, allocations: 11.98 kB / 0.8201 GB, free: 5.215 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.0002621/0.1514, allocations: 185.5 kB / 0.8203 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.246e-05/0.1515, allocations: 39.53 kB / 0.8203 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.1516, allocations: 40.25 kB / 0.8204 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.1517, allocations: 7.984 kB / 0.8204 GB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1517, allocations: 0 / 0.8204 GB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.1519, allocations: 144.5 kB / 0.8205 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.1519, allocations: 4 kB / 0.8205 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.1522, allocations: 23.98 kB / 0.8205 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.862e-05/0.1524, allocations: 27.95 kB / 0.8206 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001212/0.1536, allocations: 385.8 kB / 0.8209 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001332/0.1549, allocations: 0.5957 MB / 0.8215 GB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000368/0.1554, allocations: 124 kB / 0.8216 GB, free: 3.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003407/0.1557, allocations: 239.2 kB / 0.8219 GB, free: 3.371 MB / 378.7 MB Notification: Performance of Backend: time 4.41e-07/0.1557, allocations: 0 / 0.8219 GB, free: 3.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009395/0.1567, allocations: 260.9 kB / 0.8221 GB, free: 3.113 MB / 378.7 MB Notification: Performance of SimCode: time 0.002068/0.1588, allocations: 1.373 MB / 0.8234 GB, free: 1.691 MB / 378.7 MB Notification: Performance of Templates: time 0.01267/0.1715, allocations: 3.619 MB / 0.827 GB, free: 14.1 MB / 394.7 MB