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.001374/0.001374, allocations: 118.3 kB / 17.08 MB, free: 5.992 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.001406/0.001407, allocations: 198.9 kB / 18.02 MB, free: 5.066 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.426/1.426, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7154/0.7154, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.27 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1272, allocations: 76.18 MB / 0.6327 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005491/0.1327, allocations: 4.324 MB / 0.6369 GB, free: 92 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.1359, allocations: 1.578 MB / 0.6385 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006909/0.1367, allocations: 31.88 kB / 0.6385 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.1371, allocations: 170.1 kB / 0.6387 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007171/0.1379, allocations: 234 kB / 0.6389 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.1392, allocations: 0.6579 MB / 0.6395 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.1405, allocations: 1.234 MB / 0.6407 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000777/0.1413, allocations: 0.4884 MB / 0.6412 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006469/0.142, allocations: 481.9 kB / 0.6417 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004667/0.1424, allocations: 461.4 kB / 0.6421 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.1426, allocations: 100 kB / 0.6422 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1427, allocations: 104 kB / 0.6423 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.1429, allocations: 231.1 kB / 0.6425 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003652/0.1433, allocations: 489 kB / 0.643 GB, free: 9.844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.1443, allocations: 1.16 MB / 0.6441 GB, free: 8.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1443, allocations: 4 kB / 0.6441 GB, free: 8.676 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1443, allocations: 0 / 0.6441 GB, free: 8.676 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.1443, allocations: 0 / 0.6441 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.002243/0.1466, allocations: 1.403 MB / 0.6455 GB, free: 7.219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1466, allocations: 8.031 kB / 0.6455 GB, free: 7.211 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.1468, allocations: 123.5 kB / 0.6456 GB, free: 7.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.1481, allocations: 0.7548 MB / 0.6464 GB, free: 6.293 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.37e-05/0.1482, allocations: 92.14 kB / 0.6464 GB, free: 6.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.713e-05/0.1483, allocations: 72.38 kB / 0.6465 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.1495, allocations: 0.7329 MB / 0.6472 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1495, allocations: 0 / 0.6472 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.124e-05/0.1496, allocations: 28 kB / 0.6473 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.1496, allocations: 16 kB / 0.6473 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1507, allocations: 0.5204 MB / 0.6478 GB, free: 4.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/0.1538, allocations: 2.251 MB / 0.65 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.1552, allocations: 0.6208 MB / 0.6506 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005201/0.1557, allocations: 281.9 kB / 0.6509 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.1558, allocations: 8.562 kB / 0.6509 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006411/0.1564, allocations: 319.1 kB / 0.6512 GB, free: 1.234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 1.963e-06/0.1565, allocations: 0 / 0.6512 GB, free: 1.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=60): time 0.001613/0.1581, allocations: 0.7556 MB / 0.6519 GB, free: 484 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.1581, allocations: 85.67 kB / 0.652 GB, free: 380 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008671/0.159, allocations: 0.7594 MB / 0.6527 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/0.1591, allocations: 37.69 kB / 0.6528 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.1594, allocations: 444.4 kB / 0.6532 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.1596, allocations: 209 kB / 0.6534 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.1598, allocations: 110.2 kB / 0.6535 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1599, allocations: 330 kB / 0.6538 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.1604, allocations: 207.4 kB / 0.654 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005152/0.1609, allocations: 296.5 kB / 0.6543 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009511/0.1619, allocations: 0.5113 MB / 0.6548 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.1619, allocations: 3.938 kB / 0.6548 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001225/0.1631, allocations: 0.6541 MB / 0.6554 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1631, allocations: 4 kB / 0.6554 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.1631, allocations: 4 kB / 0.6554 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.1632, allocations: 8 kB / 0.6554 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006496/0.1638, allocations: 143.8 kB / 0.6556 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.1638, allocations: 7.938 kB / 0.6556 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.1643, allocations: 79.53 kB / 0.6557 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.1643, allocations: 20 kB / 0.6557 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006072/0.1649, allocations: 353.4 kB / 0.656 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004659/0.1654, allocations: 296.4 kB / 0.6563 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008768/0.1663, allocations: 491.7 kB / 0.6568 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.1663, allocations: 3.984 kB / 0.6568 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001156/0.1675, allocations: 0.6305 MB / 0.6574 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.1675, allocations: 8 kB / 0.6574 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1675, allocations: 4 kB / 0.6574 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/0.1675, allocations: 4.344 kB / 0.6574 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/0.1681, allocations: 151.8 kB / 0.6576 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.1682, allocations: 7.938 kB / 0.6576 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.1686, allocations: 55.45 kB / 0.6576 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.1686, allocations: 23.98 kB / 0.6576 GB, free: 10.39 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.0001767/0.1688, allocations: 212.1 kB / 0.6578 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.1689, allocations: 94.78 kB / 0.6579 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.1692, allocations: 109.2 kB / 0.658 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1692, allocations: 4 kB / 0.658 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.1692, allocations: 3.938 kB / 0.658 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1692, allocations: 3.984 kB / 0.658 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.1714, allocations: 1.435 MB / 0.6594 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1714, allocations: 0 / 0.6594 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.172, allocations: 107.8 kB / 0.6595 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.1721, allocations: 4 kB / 0.6596 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.1721, allocations: 19.92 kB / 0.6596 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.1721, allocations: 0 / 0.6596 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1721, allocations: 3.938 kB / 0.6596 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.1738, allocations: 0.9673 MB / 0.6605 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.1741, allocations: 219.7 kB / 0.6607 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.1742, allocations: 20 kB / 0.6607 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/0.1747, allocations: 31.97 kB / 0.6608 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.514e-05/0.1748, allocations: 32.52 kB / 0.6608 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.1748, allocations: 19.98 kB / 0.6608 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006763/0.1755, allocations: 0.5185 MB / 0.6613 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1755, allocations: 0 / 0.6613 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007241/0.1763, allocations: 271.1 kB / 0.6616 GB, free: 6.242 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.0001666/0.1764, allocations: 119.2 kB / 0.6617 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.1781, allocations: 0.7958 MB / 0.6625 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1781, allocations: 0 / 0.6625 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005083/0.1786, allocations: 267.1 kB / 0.6627 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.1799, allocations: 266.2 kB / 0.663 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.1825, allocations: 1.58 MB / 0.6645 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.1831, allocations: 0.9977 MB / 0.6655 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.1833, allocations: 63.42 kB / 0.6656 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.1833, allocations: 0 / 0.6656 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of Templates: time 0.01556/0.1989, allocations: 11.02 MB / 0.6763 GB, free: 7.137 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)