Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 116.6 kB / 17.1 MB, free: 5.977 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.001699/0.001699, allocations: 193.6 kB / 18.03 MB, free: 5.062 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.399/1.399, allocations: 222.9 MB / 241.7 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.7951/0.7951, allocations: 126.1 MB / 417.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.55 kB / 0.5737 GB, free: 27.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1702, allocations: 78.7 MB / 0.6506 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.00536/0.1756, allocations: 3.695 MB / 0.6542 GB, free: 436 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.1785, allocations: 1.336 MB / 0.6555 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006179/0.1791, allocations: 23.88 kB / 0.6555 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004389/0.1796, allocations: 126.6 kB / 0.6556 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007943/0.1804, allocations: 183.9 kB / 0.6558 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1817, allocations: 0.569 MB / 0.6564 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001262/0.183, allocations: 0.9759 MB / 0.6573 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005252/0.1835, allocations: 345.6 kB / 0.6576 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004696/0.184, allocations: 378.4 kB / 0.658 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.1844, allocations: 358 kB / 0.6583 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.1845, allocations: 76 kB / 0.6584 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1846, allocations: 80 kB / 0.6585 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.1848, allocations: 183.2 kB / 0.6587 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002921/0.1851, allocations: 377.7 kB / 0.659 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008856/0.186, allocations: 0.8905 MB / 0.6599 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.186, allocations: 4 kB / 0.6599 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.186, allocations: 0 / 0.6599 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.186, allocations: 4 kB / 0.6599 GB, free: 10.54 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001949/0.188, allocations: 1.206 MB / 0.6611 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.188, allocations: 8.031 kB / 0.6611 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.1882, allocations: 96.33 kB / 0.6612 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009925/0.1892, allocations: 0.6306 MB / 0.6618 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.1893, allocations: 92.97 kB / 0.6619 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.158e-05/0.1894, allocations: 60.31 kB / 0.6619 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.1904, allocations: 0.6003 MB / 0.6625 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1905, allocations: 0 / 0.6625 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/0.1905, allocations: 23.94 kB / 0.6626 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.1905, allocations: 16 kB / 0.6626 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009483/0.1915, allocations: 427.6 kB / 0.663 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.1942, allocations: 2.106 MB / 0.665 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.1954, allocations: 0.4926 MB / 0.6655 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004606/0.1959, allocations: 224.7 kB / 0.6657 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.1959, allocations: 7.953 kB / 0.6657 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006309/0.1965, allocations: 278.6 kB / 0.666 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.1966, allocations: 0 / 0.666 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001415/0.198, allocations: 0.6182 MB / 0.6666 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.198, allocations: 84.86 kB / 0.6667 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006753/0.1987, allocations: 0.6177 MB / 0.6673 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.1988, allocations: 41.7 kB / 0.6673 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.199, allocations: 357.2 kB / 0.6677 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1992, allocations: 166.6 kB / 0.6678 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.1993, allocations: 90.2 kB / 0.6679 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1995, allocations: 330 kB / 0.6682 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.1999, allocations: 183 kB / 0.6684 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/0.2004, allocations: 280.2 kB / 0.6687 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000916/0.2013, allocations: 473.9 kB / 0.6691 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2014, allocations: 0 / 0.6691 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001151/0.2025, allocations: 0.6063 MB / 0.6697 GB, free: 72 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.2026, allocations: 37.7 kB / 0.6698 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2026, allocations: 4.297 kB / 0.6698 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.2026, allocations: 8 kB / 0.6698 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.2031, allocations: 111.8 kB / 0.6699 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.2031, allocations: 4 kB / 0.6699 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.2035, allocations: 63.59 kB / 0.6699 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-05/0.2036, allocations: 20 kB / 0.67 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005438/0.2041, allocations: 305.2 kB / 0.6702 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004716/0.2046, allocations: 268.2 kB / 0.6705 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008255/0.2054, allocations: 461.8 kB / 0.6709 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-06/0.2054, allocations: 0 / 0.6709 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001092/0.2065, allocations: 0.5791 MB / 0.6715 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.2066, allocations: 37.69 kB / 0.6715 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2066, allocations: 0 / 0.6715 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.2066, allocations: 8 kB / 0.6716 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/0.2071, allocations: 100.1 kB / 0.6716 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2071, allocations: 11.98 kB / 0.6717 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.2074, allocations: 55.66 kB / 0.6717 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.2075, allocations: 16 kB / 0.6717 GB, free: 13.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001667/0.2077, allocations: 224 kB / 0.6719 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-05/0.2078, allocations: 79.47 kB / 0.672 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.2079, allocations: 83.2 kB / 0.6721 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2079, allocations: 3.984 kB / 0.6721 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2079, allocations: 4 kB / 0.6721 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.2082, allocations: 184.5 kB / 0.6723 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.2083, allocations: 12 kB / 0.6723 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.2087, allocations: 35.95 kB / 0.6723 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.2088, allocations: 35.89 kB / 0.6724 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001403/0.2102, allocations: 0.5563 MB / 0.6729 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001566/0.2118, allocations: 0.8975 MB / 0.6738 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004659/0.2122, allocations: 207.9 kB / 0.674 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004887/0.2127, allocations: 435 kB / 0.6744 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of Backend: time 7.21e-07/0.2127, allocations: 0 / 0.6744 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.2143, allocations: 0.7107 MB / 0.6751 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002355/0.2167, allocations: 1.688 MB / 0.6767 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.01828/0.235, allocations: 10.49 MB / 0.687 GB, free: 14.25 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)