Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001871/0.001872, allocations: 114.7 kB / 17.09 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 198.8 kB / 18.03 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7458/0.7458, allocations: 122.9 MB / 414.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 62.88 kB / 0.5691 GB, free: 28.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1241, allocations: 77.93 MB / 0.6452 GB, free: 9.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004119/0.1282, allocations: 2.961 MB / 0.6481 GB, free: 6.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1302, allocations: 0.9197 MB / 0.649 GB, free: 5.145 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.1305, allocations: 11.94 kB / 0.649 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.1308, allocations: 63.31 kB / 0.649 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.131, allocations: 91.19 kB / 0.6491 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.1315, allocations: 230.5 kB / 0.6493 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.1319, allocations: 491.2 kB / 0.6498 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.1323, allocations: 217.6 kB / 0.65 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.1325, allocations: 191.1 kB / 0.6502 GB, free: 3.867 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1327, allocations: 171.1 kB / 0.6504 GB, free: 3.699 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.926e-05/0.1328, allocations: 44 kB / 0.6504 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.967e-05/0.1328, allocations: 44 kB / 0.6505 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.677e-05/0.1329, allocations: 99.56 kB / 0.6505 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.1331, allocations: 194.9 kB / 0.6507 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.1335, allocations: 0.5176 MB / 0.6512 GB, free: 2.805 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1335, allocations: 0 / 0.6512 GB, free: 2.805 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1336, allocations: 0 / 0.6512 GB, free: 2.805 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1336, allocations: 0 / 0.6512 GB, free: 2.805 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00102/0.1346, allocations: 0.7167 MB / 0.6519 GB, free: 2.039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1346, allocations: 8.625 kB / 0.6519 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.1347, allocations: 48.38 kB / 0.652 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.1353, allocations: 400.3 kB / 0.6524 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.1353, allocations: 21.03 kB / 0.6524 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.1354, allocations: 36.38 kB / 0.6524 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.136, allocations: 337.4 kB / 0.6528 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.136, allocations: 0 / 0.6528 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.136, allocations: 12 kB / 0.6528 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.136, allocations: 12 kB / 0.6528 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.1365, allocations: 214.1 kB / 0.653 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.1379, allocations: 1.174 MB / 0.6541 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.1385, allocations: 234.8 kB / 0.6543 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.1387, allocations: 112.8 kB / 0.6545 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1388, allocations: 4 kB / 0.6545 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1388, allocations: 30.94 kB / 0.6545 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.1388, allocations: 0 / 0.6545 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.000646/0.1395, allocations: 307.9 kB / 0.6548 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1395, allocations: 106.8 kB / 0.6549 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.1399, allocations: 341.6 kB / 0.6552 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.1399, allocations: 29.7 kB / 0.6552 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.14, allocations: 224.1 kB / 0.6555 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/0.1401, allocations: 74.98 kB / 0.6555 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.1402, allocations: 53.61 kB / 0.6556 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1403, allocations: 350.8 kB / 0.6559 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.1405, allocations: 71.97 kB / 0.656 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.1407, allocations: 151.5 kB / 0.6561 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.1411, allocations: 209.2 kB / 0.6563 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1411, allocations: 4 kB / 0.6563 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004911/0.1416, allocations: 277 kB / 0.6566 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1416, allocations: 9.406 kB / 0.6566 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1416, allocations: 0 / 0.6566 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1417, allocations: 7.938 kB / 0.6566 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.1419, allocations: 48.16 kB / 0.6567 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1419, allocations: 11.94 kB / 0.6567 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.1421, allocations: 35.67 kB / 0.6567 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.1421, allocations: 12 kB / 0.6567 GB, free: 12.87 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.1423, allocations: 157.8 kB / 0.6569 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.1424, allocations: 35.56 kB / 0.6569 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.667e-05/0.1425, allocations: 39.34 kB / 0.6569 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1425, allocations: 0 / 0.6569 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1425, allocations: 4 kB / 0.6569 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1426, allocations: 136.5 kB / 0.6571 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.1426, allocations: 8 kB / 0.6571 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.1428, allocations: 15.98 kB / 0.6571 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.1429, allocations: 23.91 kB / 0.6571 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006027/0.1435, allocations: 300.8 kB / 0.6574 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006934/0.1442, allocations: 0.4885 MB / 0.6579 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001791/0.1444, allocations: 89.62 kB / 0.658 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002214/0.1446, allocations: 239.2 kB / 0.6582 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of Backend: time 3.71e-07/0.1447, allocations: 4.062 kB / 0.6582 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005802/0.1452, allocations: 217.6 kB / 0.6584 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of SimCode: time 0.001289/0.1465, allocations: 1.134 MB / 0.6595 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of Templates: time 0.007127/0.1537, allocations: 3.66 MB / 0.6631 GB, free: 6.273 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)