Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 107.3 kB / 16.4 MB, free: 6.445 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.001207/0.001207, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6774/0.6774, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 67.73 kB / 0.5576 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1181, allocations: 76.19 MB / 0.632 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004681/0.1228, allocations: 4.083 MB / 0.636 GB, free: 344 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.1252, allocations: 1.336 MB / 0.6373 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.1256, allocations: 23.94 kB / 0.6374 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.1259, allocations: 122.7 kB / 0.6375 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.1262, allocations: 178.4 kB / 0.6377 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000743/0.1269, allocations: 416.5 kB / 0.638 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008446/0.1278, allocations: 0.9593 MB / 0.639 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006008/0.1284, allocations: 462.1 kB / 0.6394 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.1287, allocations: 330.8 kB / 0.6397 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.129, allocations: 338.3 kB / 0.6401 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.1291, allocations: 91.98 kB / 0.6402 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1293, allocations: 92 kB / 0.6402 GB, free: 12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.1294, allocations: 175.5 kB / 0.6404 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.1297, allocations: 398 kB / 0.6408 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008122/0.1305, allocations: 1.059 MB / 0.6418 GB, free: 10.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1305, allocations: 0 / 0.6418 GB, free: 10.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1305, allocations: 0 / 0.6418 GB, free: 10.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.1305, allocations: 4 kB / 0.6418 GB, free: 10.37 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001629/0.1322, allocations: 1.081 MB / 0.6429 GB, free: 9.227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.1322, allocations: 8.031 kB / 0.6429 GB, free: 9.219 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.1323, allocations: 84 kB / 0.643 GB, free: 9.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007669/0.1331, allocations: 0.5651 MB / 0.6435 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.1332, allocations: 41.69 kB / 0.6436 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.334e-05/0.1332, allocations: 64.31 kB / 0.6436 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009842/0.1342, allocations: 0.6118 MB / 0.6442 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.1343, allocations: 4 kB / 0.6442 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.1343, allocations: 23.94 kB / 0.6442 GB, free: 7.766 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.1343, allocations: 12 kB / 0.6443 GB, free: 7.754 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009069/0.1352, allocations: 469 kB / 0.6447 GB, free: 7.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.1377, allocations: 1.981 MB / 0.6466 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008432/0.1386, allocations: 449.8 kB / 0.6471 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/0.139, allocations: 238.1 kB / 0.6473 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1391, allocations: 4.438 kB / 0.6473 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004972/0.1396, allocations: 273.1 kB / 0.6476 GB, free: 4.277 MB / 494.1 MB Notification: Performance of pre-optimization done (n=49): time 3.286e-06/0.1396, allocations: 3.984 kB / 0.6476 GB, free: 4.273 MB / 494.1 MB Notification: Performance of matching and sorting (n=49): time 0.001191/0.1408, allocations: 0.5766 MB / 0.6481 GB, free: 3.691 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1408, allocations: 67.83 kB / 0.6482 GB, free: 3.613 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004269/0.1413, allocations: 438.1 kB / 0.6486 GB, free: 3.176 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.1413, allocations: 37.7 kB / 0.6486 GB, free: 3.133 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.1415, allocations: 324.3 kB / 0.649 GB, free: 2.809 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.1416, allocations: 165.6 kB / 0.6491 GB, free: 2.645 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.1418, allocations: 90.25 kB / 0.6492 GB, free: 2.547 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1419, allocations: 370.7 kB / 0.6495 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.1423, allocations: 165 kB / 0.6497 GB, free: 2.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.1427, allocations: 253.8 kB / 0.6499 GB, free: 1.742 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00075/0.1435, allocations: 456 kB / 0.6504 GB, free: 1.266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1435, allocations: 0 / 0.6504 GB, free: 1.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009617/0.1444, allocations: 0.5586 MB / 0.6509 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.1445, allocations: 47.38 kB / 0.651 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1445, allocations: 0 / 0.651 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1445, allocations: 4 kB / 0.651 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/0.145, allocations: 115.8 kB / 0.6511 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.145, allocations: 4 kB / 0.6511 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.1453, allocations: 55.52 kB / 0.6511 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.1453, allocations: 19.98 kB / 0.6512 GB, free: 456 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002211/0.1456, allocations: 210.7 kB / 0.6514 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.1456, allocations: 59.28 kB / 0.6514 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.1458, allocations: 65.58 kB / 0.6515 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1458, allocations: 7.938 kB / 0.6515 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1458, allocations: 0 / 0.6515 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1458, allocations: 4 kB / 0.6515 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.1474, allocations: 1.178 MB / 0.6526 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.1474, allocations: 3.984 kB / 0.6526 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.1479, allocations: 91.89 kB / 0.6527 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1479, allocations: 0 / 0.6527 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.1479, allocations: 12 kB / 0.6527 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1479, allocations: 7.984 kB / 0.6528 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1479, allocations: 0 / 0.6528 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.1492, allocations: 0.7613 MB / 0.6535 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.1493, allocations: 172.2 kB / 0.6537 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.1494, allocations: 12 kB / 0.6537 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.1497, allocations: 23.97 kB / 0.6537 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/0.1498, allocations: 36.39 kB / 0.6537 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.1498, allocations: 19.94 kB / 0.6538 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002948/0.1501, allocations: 310.9 kB / 0.654 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1501, allocations: 0 / 0.654 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003934/0.1505, allocations: 139.5 kB / 0.6542 GB, free: 13.26 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001102/0.1506, allocations: 107.2 kB / 0.6543 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008524/0.1515, allocations: 489 kB / 0.6548 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1515, allocations: 0 / 0.6548 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003926/0.1519, allocations: 214.4 kB / 0.655 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007209/0.1526, allocations: 165.3 kB / 0.6551 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.155, allocations: 1.337 MB / 0.6564 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.1554, allocations: 0.886 MB / 0.6573 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.1556, allocations: 64.58 kB / 0.6573 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1558, allocations: 39.44 kB / 0.6574 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1558, allocations: 4 kB / 0.6574 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of Templates: time 0.009909/0.1657, allocations: 6.01 MB / 0.6633 GB, free: 3.977 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)