Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009934/0.0009935, allocations: 109.4 kB / 16.41 MB, free: 6.027 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.0009804/0.0009804, allocations: 190.1 kB / 17.34 MB, free: 5.633 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.213/1.213, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6574/0.6574, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 63.31 kB / 0.5576 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.116, allocations: 76.18 MB / 0.632 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005143/0.1212, allocations: 4.324 MB / 0.6363 GB, free: 100 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.124, allocations: 1.582 MB / 0.6378 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006127/0.1246, allocations: 31.88 kB / 0.6378 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.1251, allocations: 170.1 kB / 0.638 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000702/0.1258, allocations: 234 kB / 0.6382 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.127, allocations: 0.6663 MB / 0.6389 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.1282, allocations: 1.222 MB / 0.6401 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006753/0.1289, allocations: 0.4962 MB / 0.6405 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004866/0.1294, allocations: 477.9 kB / 0.641 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004065/0.1298, allocations: 461.4 kB / 0.6414 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.1299, allocations: 100 kB / 0.6415 GB, free: 10.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1301, allocations: 108 kB / 0.6416 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.1302, allocations: 231.1 kB / 0.6419 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.1305, allocations: 489 kB / 0.6423 GB, free: 9.844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008931/0.1314, allocations: 1.164 MB / 0.6435 GB, free: 8.676 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1314, allocations: 0 / 0.6435 GB, free: 8.676 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1315, allocations: 0 / 0.6435 GB, free: 8.676 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1315, allocations: 0 / 0.6435 GB, free: 8.676 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002131/0.1336, allocations: 1.399 MB / 0.6448 GB, free: 7.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.1336, allocations: 8.031 kB / 0.6448 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.1338, allocations: 123.5 kB / 0.645 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.1349, allocations: 0.7626 MB / 0.6457 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.137e-05/0.135, allocations: 84.2 kB / 0.6458 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.1351, allocations: 72.38 kB / 0.6459 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.1363, allocations: 0.7329 MB / 0.6466 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.1363, allocations: 0 / 0.6466 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/0.1364, allocations: 32 kB / 0.6466 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.1364, allocations: 16 kB / 0.6466 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.1375, allocations: 0.5126 MB / 0.6471 GB, free: 4.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/0.1405, allocations: 2.259 MB / 0.6493 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.1418, allocations: 0.6258 MB / 0.6499 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004751/0.1423, allocations: 277.9 kB / 0.6502 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.1423, allocations: 12.55 kB / 0.6502 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006021/0.1429, allocations: 319.1 kB / 0.6505 GB, free: 1.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 2.184e-06/0.143, allocations: 0 / 0.6505 GB, free: 1.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=60): time 0.001482/0.1444, allocations: 0.7516 MB / 0.6512 GB, free: 484 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.1445, allocations: 97.59 kB / 0.6513 GB, free: 368 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/0.1453, allocations: 0.7555 MB / 0.6521 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.1454, allocations: 37.69 kB / 0.6521 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.1457, allocations: 440.5 kB / 0.6525 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.1458, allocations: 205 kB / 0.6527 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.146, allocations: 110.2 kB / 0.6528 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1461, allocations: 330 kB / 0.6531 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.1466, allocations: 211.4 kB / 0.6533 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.1471, allocations: 296.5 kB / 0.6536 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008883/0.1479, allocations: 0.5074 MB / 0.6541 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.148, allocations: 0 / 0.6541 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001138/0.1491, allocations: 0.6578 MB / 0.6548 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1491, allocations: 9.875 kB / 0.6548 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1491, allocations: 4.25 kB / 0.6548 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1492, allocations: 4 kB / 0.6548 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.1498, allocations: 143.8 kB / 0.6549 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1498, allocations: 7.938 kB / 0.6549 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.1502, allocations: 75.34 kB / 0.655 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.1502, allocations: 20 kB / 0.655 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005622/0.1508, allocations: 357.4 kB / 0.6554 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000436/0.1513, allocations: 292.4 kB / 0.6556 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008086/0.1521, allocations: 495.7 kB / 0.6561 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.1521, allocations: 0 / 0.6561 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001048/0.1531, allocations: 0.6306 MB / 0.6567 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.1532, allocations: 8 kB / 0.6567 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1532, allocations: 4 kB / 0.6567 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-06/0.1532, allocations: 4 kB / 0.6567 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/0.1538, allocations: 143.8 kB / 0.6569 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1538, allocations: 11.92 kB / 0.6569 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.1542, allocations: 59.64 kB / 0.657 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.1542, allocations: 23.98 kB / 0.657 GB, free: 10.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001611/0.1544, allocations: 212.1 kB / 0.6572 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1545, allocations: 94.78 kB / 0.6573 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/0.1547, allocations: 105.2 kB / 0.6574 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1547, allocations: 4 kB / 0.6574 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1547, allocations: 3.938 kB / 0.6574 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1547, allocations: 7.984 kB / 0.6574 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.1567, allocations: 1.431 MB / 0.6588 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1567, allocations: 4 kB / 0.6588 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.1572, allocations: 107.8 kB / 0.6589 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1573, allocations: 7.938 kB / 0.6589 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.1573, allocations: 15.98 kB / 0.6589 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.1573, allocations: 7.938 kB / 0.6589 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1573, allocations: 0 / 0.6589 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.1589, allocations: 0.9674 MB / 0.6599 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.1591, allocations: 223.7 kB / 0.6601 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.329e-05/0.1592, allocations: 16 kB / 0.6601 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.1596, allocations: 31.97 kB / 0.6601 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/0.1597, allocations: 36.52 kB / 0.6602 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.1598, allocations: 19.98 kB / 0.6602 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005617/0.1603, allocations: 0.5185 MB / 0.6607 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1603, allocations: 0 / 0.6607 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006439/0.161, allocations: 271.1 kB / 0.6609 GB, free: 6.238 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001332/0.1611, allocations: 115.2 kB / 0.6611 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.1626, allocations: 0.7962 MB / 0.6618 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1626, allocations: 128 / 0.6618 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004702/0.1631, allocations: 271.1 kB / 0.6621 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.1642, allocations: 258.4 kB / 0.6623 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.1664, allocations: 1.543 MB / 0.6638 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.1669, allocations: 0.9898 MB / 0.6648 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004067/0.1673, allocations: 123 kB / 0.6649 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.1675, allocations: 63.44 kB / 0.665 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1675, allocations: 0 / 0.665 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of Templates: time 0.01458/0.1821, allocations: 9.372 MB / 0.6741 GB, free: 8.762 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)