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.001373/0.001373, allocations: 116.7 kB / 17.09 MB, free: 6.004 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.001315/0.001315, allocations: 185.6 kB / 18.02 MB, free: 5.094 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.218/1.218, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6623/0.6623, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.58 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1391, allocations: 76.19 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005473/0.1446, allocations: 4.316 MB / 0.6369 GB, free: 72 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.1477, allocations: 1.582 MB / 0.6385 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000692/0.1484, allocations: 31.88 kB / 0.6385 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.1489, allocations: 166.2 kB / 0.6387 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008521/0.1498, allocations: 234 kB / 0.6389 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.1512, allocations: 0.6725 MB / 0.6395 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.1524, allocations: 1.222 MB / 0.6407 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006662/0.1531, allocations: 0.4884 MB / 0.6412 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000507/0.1536, allocations: 477.9 kB / 0.6417 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004306/0.154, allocations: 461.4 kB / 0.6421 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.1542, allocations: 104 kB / 0.6422 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1543, allocations: 100 kB / 0.6423 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.1545, allocations: 239.1 kB / 0.6425 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000342/0.1548, allocations: 489 kB / 0.643 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009925/0.1558, allocations: 1.16 MB / 0.6441 GB, free: 8.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1558, allocations: 0 / 0.6441 GB, free: 8.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1558, allocations: 0 / 0.6441 GB, free: 8.652 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1558, allocations: 0 / 0.6441 GB, free: 8.652 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.002199/0.158, allocations: 1.399 MB / 0.6455 GB, free: 7.199 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1581, allocations: 12.03 kB / 0.6455 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.1583, allocations: 123.5 kB / 0.6456 GB, free: 7.066 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.1595, allocations: 0.7626 MB / 0.6464 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.404e-05/0.1596, allocations: 80.27 kB / 0.6464 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.96e-05/0.1597, allocations: 84.19 kB / 0.6465 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.1609, allocations: 0.7329 MB / 0.6472 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1609, allocations: 0 / 0.6472 GB, free: 5.324 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/0.161, allocations: 32 kB / 0.6473 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.161, allocations: 16 kB / 0.6473 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.162, allocations: 0.5204 MB / 0.6478 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/0.165, allocations: 2.243 MB / 0.65 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.1664, allocations: 0.6304 MB / 0.6506 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/0.1669, allocations: 273.9 kB / 0.6509 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.1669, allocations: 12.56 kB / 0.6509 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006156/0.1675, allocations: 319.1 kB / 0.6512 GB, free: 1.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 2.375e-06/0.1676, allocations: 0 / 0.6512 GB, free: 1.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=60): time 0.00153/0.1691, allocations: 0.7556 MB / 0.6519 GB, free: 452 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.1692, allocations: 85.66 kB / 0.652 GB, free: 348 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008465/0.17, allocations: 0.7594 MB / 0.6527 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/0.1701, allocations: 41.69 kB / 0.6528 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.1704, allocations: 432.5 kB / 0.6532 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.1706, allocations: 205 kB / 0.6534 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.1708, allocations: 118.2 kB / 0.6535 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1709, allocations: 326 kB / 0.6538 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.1714, allocations: 207.4 kB / 0.654 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/0.1719, allocations: 304.5 kB / 0.6543 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009598/0.1729, allocations: 0.5036 MB / 0.6548 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1729, allocations: 4 kB / 0.6548 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001201/0.1741, allocations: 0.6578 MB / 0.6554 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1741, allocations: 8 kB / 0.6554 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1741, allocations: 0 / 0.6554 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1741, allocations: 8 kB / 0.6555 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/0.1748, allocations: 139.8 kB / 0.6556 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.1748, allocations: 4 kB / 0.6556 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004411/0.1752, allocations: 79.47 kB / 0.6557 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.1753, allocations: 20.05 kB / 0.6557 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006106/0.1759, allocations: 357.4 kB / 0.656 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004676/0.1764, allocations: 296.4 kB / 0.6563 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000849/0.1773, allocations: 495.7 kB / 0.6568 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.275e-06/0.1773, allocations: 0 / 0.6568 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001062/0.1783, allocations: 0.6344 MB / 0.6574 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.1784, allocations: 4 kB / 0.6574 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1784, allocations: 4 kB / 0.6574 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.632e-06/0.1784, allocations: 7.938 kB / 0.6574 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00057/0.179, allocations: 144 kB / 0.6576 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.179, allocations: 7.938 kB / 0.6576 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.1794, allocations: 55.52 kB / 0.6576 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.1794, allocations: 31.92 kB / 0.6576 GB, free: 10.37 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.0001839/0.1796, allocations: 209.5 kB / 0.6578 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1797, allocations: 94.78 kB / 0.6579 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.1799, allocations: 109.2 kB / 0.658 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.18, allocations: 3.984 kB / 0.658 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.18, allocations: 0 / 0.658 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.1802, allocations: 219.7 kB / 0.6583 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-05/0.1803, allocations: 19.98 kB / 0.6583 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.1807, allocations: 27.97 kB / 0.6583 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.1808, allocations: 40.52 kB / 0.6583 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001526/0.1824, allocations: 0.6744 MB / 0.659 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001709/0.1841, allocations: 1.075 MB / 0.66 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004663/0.1846, allocations: 256.4 kB / 0.6603 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006229/0.1852, allocations: 0.5185 MB / 0.6608 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of Backend: time 6.22e-07/0.1852, allocations: 3.938 kB / 0.6608 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.1868, allocations: 0.6843 MB / 0.6615 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of SimCode: time 0.00296/0.1898, allocations: 2.034 MB / 0.6635 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.02139/0.2112, allocations: 12.9 MB / 0.676 GB, free: 7.531 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)