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.001126/0.001126, allocations: 110.2 kB / 17.08 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.001126/0.001126, allocations: 195 kB / 18.01 MB, free: 5.074 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.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.7062/0.7062, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 62.66 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1397, allocations: 76.18 MB / 0.6327 GB, free: 4.457 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005165/0.1449, allocations: 4.32 MB / 0.6369 GB, free: 108 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00288/0.1478, allocations: 1.586 MB / 0.6385 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004333/0.1483, allocations: 31.88 kB / 0.6385 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.1487, allocations: 166.1 kB / 0.6386 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005649/0.1493, allocations: 230 kB / 0.6389 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.1505, allocations: 0.6693 MB / 0.6395 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.1516, allocations: 1.222 MB / 0.6407 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006831/0.1523, allocations: 0.5001 MB / 0.6412 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005109/0.1528, allocations: 473.9 kB / 0.6417 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004345/0.1532, allocations: 461.4 kB / 0.6421 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.1534, allocations: 108 kB / 0.6422 GB, free: 10.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1535, allocations: 100 kB / 0.6423 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.1537, allocations: 239 kB / 0.6425 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003599/0.154, allocations: 493 kB / 0.643 GB, free: 9.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009686/0.155, allocations: 1.156 MB / 0.6441 GB, free: 8.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.155, allocations: 0 / 0.6441 GB, free: 8.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.155, allocations: 0 / 0.6441 GB, free: 8.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1551, allocations: 0 / 0.6441 GB, free: 8.68 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.002121/0.1572, allocations: 1.399 MB / 0.6455 GB, free: 7.227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1572, allocations: 12.03 kB / 0.6455 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.1574, allocations: 123.5 kB / 0.6456 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.1586, allocations: 0.7547 MB / 0.6464 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.454e-05/0.1587, allocations: 88.25 kB / 0.6464 GB, free: 6.207 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.259e-05/0.1588, allocations: 68.38 kB / 0.6465 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.1599, allocations: 0.7329 MB / 0.6472 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1599, allocations: 4 kB / 0.6472 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-05/0.16, allocations: 31.98 kB / 0.6473 GB, free: 5.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.16, allocations: 16 kB / 0.6473 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009914/0.161, allocations: 0.5126 MB / 0.6478 GB, free: 4.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/0.164, allocations: 2.251 MB / 0.65 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.1653, allocations: 0.6286 MB / 0.6506 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004694/0.1658, allocations: 277.9 kB / 0.6508 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.1659, allocations: 8.547 kB / 0.6509 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006035/0.1665, allocations: 323.1 kB / 0.6512 GB, free: 1.238 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 2.815e-06/0.1665, allocations: 0 / 0.6512 GB, free: 1.238 MB / 494.1 MB Notification: Performance of matching and sorting (n=60): time 0.001479/0.168, allocations: 0.7517 MB / 0.6519 GB, free: 492 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.168, allocations: 89.66 kB / 0.652 GB, free: 384 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/0.1689, allocations: 0.7517 MB / 0.6527 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.169, allocations: 41.7 kB / 0.6528 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.1693, allocations: 440.4 kB / 0.6532 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.1695, allocations: 205 kB / 0.6534 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.1696, allocations: 106.2 kB / 0.6535 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1697, allocations: 334 kB / 0.6538 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.1702, allocations: 211.4 kB / 0.654 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.1707, allocations: 308.5 kB / 0.6543 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008546/0.1715, allocations: 0.5074 MB / 0.6548 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1715, allocations: 4 kB / 0.6548 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001111/0.1727, allocations: 0.6503 MB / 0.6554 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1727, allocations: 8.031 kB / 0.6554 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1727, allocations: 4 kB / 0.6554 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1727, allocations: 4 kB / 0.6554 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000616/0.1734, allocations: 151.7 kB / 0.6556 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.1734, allocations: 11.94 kB / 0.6556 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.1738, allocations: 67.34 kB / 0.6557 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.1738, allocations: 20 kB / 0.6557 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000552/0.1744, allocations: 361.4 kB / 0.656 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004226/0.1748, allocations: 292.4 kB / 0.6563 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007757/0.1756, allocations: 491.7 kB / 0.6568 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.1756, allocations: 4 kB / 0.6568 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001009/0.1766, allocations: 0.6266 MB / 0.6574 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1766, allocations: 9.25 kB / 0.6574 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.1766, allocations: 0 / 0.6574 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.1767, allocations: 4 kB / 0.6574 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.1772, allocations: 143.8 kB / 0.6575 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1773, allocations: 16.16 kB / 0.6575 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.1776, allocations: 63.45 kB / 0.6576 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.1777, allocations: 20 kB / 0.6576 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.0001619/0.1778, allocations: 216.1 kB / 0.6578 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.1779, allocations: 94.78 kB / 0.6579 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.1781, allocations: 101.2 kB / 0.658 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.1781, allocations: 8 kB / 0.658 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1782, allocations: 7.938 kB / 0.658 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1782, allocations: 3.984 kB / 0.658 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.1802, allocations: 1.427 MB / 0.6594 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1802, allocations: 0 / 0.6594 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005298/0.1807, allocations: 115.8 kB / 0.6595 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1807, allocations: 3.938 kB / 0.6595 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.1808, allocations: 12 kB / 0.6596 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.1808, allocations: 7.984 kB / 0.6596 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1808, allocations: 0 / 0.6596 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.1823, allocations: 0.9634 MB / 0.6605 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/0.1825, allocations: 223.7 kB / 0.6607 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.1826, allocations: 12 kB / 0.6607 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.183, allocations: 43.95 kB / 0.6608 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/0.1831, allocations: 32.52 kB / 0.6608 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.1832, allocations: 19.98 kB / 0.6608 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005559/0.1837, allocations: 0.5146 MB / 0.6613 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1837, allocations: 0 / 0.6613 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006438/0.1844, allocations: 275.1 kB / 0.6616 GB, free: 6.246 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.0001554/0.1845, allocations: 116.9 kB / 0.6617 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.186, allocations: 0.8003 MB / 0.6625 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.186, allocations: 0 / 0.6625 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004728/0.1865, allocations: 267 kB / 0.6627 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.1875, allocations: 263.5 kB / 0.663 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.1898, allocations: 1.58 MB / 0.6645 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.1903, allocations: 0.9937 MB / 0.6655 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.1906, allocations: 63.42 kB / 0.6656 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1906, allocations: 4 kB / 0.6656 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of Templates: time 0.01464/0.2052, allocations: 11.16 MB / 0.6765 GB, free: 7.008 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)