Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008129/0.000813, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008517/0.0008517, allocations: 179.2 kB / 16.91 MB, free: 6.645 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6935/0.6935, allocations: 115.5 MB / 407.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003624, allocations: 5.906 kB / 495.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1876, allocations: 77.52 MB / 0.5599 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.00494/0.1926, allocations: 3.686 MB / 0.5635 GB, free: 5.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.1957, allocations: 1.274 MB / 0.5648 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00084/0.1966, allocations: 23.88 kB / 0.5648 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.1971, allocations: 91.22 kB / 0.5649 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007098/0.1978, allocations: 154.8 kB / 0.565 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.199, allocations: 380.4 kB / 0.5654 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.2003, allocations: 0.8734 MB / 0.5662 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007915/0.2011, allocations: 426.1 kB / 0.5667 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004376/0.2016, allocations: 234.7 kB / 0.5669 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004359/0.202, allocations: 254.4 kB / 0.5671 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.358e-05/0.2021, allocations: 28 kB / 0.5671 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.215e-05/0.2022, allocations: 24 kB / 0.5672 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.2023, allocations: 103.4 kB / 0.5673 GB, free: 1.484 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003011/0.2026, allocations: 327.8 kB / 0.5676 GB, free: 1.156 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007893/0.2034, allocations: 0.9575 MB / 0.5685 GB, free: 200 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.2034, allocations: 4 kB / 0.5685 GB, free: 196 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2034, allocations: 0 / 0.5685 GB, free: 196 kB / 430.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.2034, allocations: 0 / 0.5685 GB, free: 196 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001646/0.2051, allocations: 0.9542 MB / 0.5695 GB, free: 15.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2051, allocations: 12.03 kB / 0.5695 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.2053, allocations: 83.98 kB / 0.5695 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008102/0.2061, allocations: 0.5494 MB / 0.5701 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.2062, allocations: 45.69 kB / 0.5701 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.373e-05/0.2063, allocations: 64.28 kB / 0.5702 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.2074, allocations: 0.6156 MB / 0.5708 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2074, allocations: 3.938 kB / 0.5708 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.435e-05/0.2075, allocations: 24 kB / 0.5708 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.2075, allocations: 16 kB / 0.5708 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009793/0.2085, allocations: 469 kB / 0.5713 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.2113, allocations: 2.016 MB / 0.5732 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009395/0.2123, allocations: 462.4 kB / 0.5737 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004617/0.2127, allocations: 246.1 kB / 0.5739 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.222e-05/0.2128, allocations: 12.38 kB / 0.5739 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005901/0.2134, allocations: 265.3 kB / 0.5742 GB, free: 10.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.214e-06/0.2134, allocations: 0 / 0.5742 GB, free: 10.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001294/0.2147, allocations: 0.6 MB / 0.5748 GB, free: 9.574 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.579e-05/0.2148, allocations: 55.84 kB / 0.5748 GB, free: 9.504 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.2153, allocations: 449.8 kB / 0.5753 GB, free: 9.055 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.2153, allocations: 37.7 kB / 0.5753 GB, free: 9.012 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.2156, allocations: 324.3 kB / 0.5756 GB, free: 8.691 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.2157, allocations: 165.6 kB / 0.5758 GB, free: 8.527 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.2158, allocations: 53.69 kB / 0.5758 GB, free: 8.469 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2159, allocations: 362.8 kB / 0.5762 GB, free: 8.105 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.2163, allocations: 173 kB / 0.5763 GB, free: 7.938 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/0.2168, allocations: 261.8 kB / 0.5766 GB, free: 7.656 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008207/0.2176, allocations: 460 kB / 0.577 GB, free: 7.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2176, allocations: 0 / 0.577 GB, free: 7.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001052/0.2187, allocations: 0.5702 MB / 0.5776 GB, free: 6.598 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.2187, allocations: 43.52 kB / 0.5776 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2187, allocations: 3.938 kB / 0.5776 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/0.2188, allocations: 4 kB / 0.5776 GB, free: 6.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.2193, allocations: 115.8 kB / 0.5777 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2193, allocations: 4 kB / 0.5777 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.2196, allocations: 75.66 kB / 0.5778 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.2197, allocations: 23.98 kB / 0.5778 GB, free: 6.328 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002655/0.22, allocations: 205.7 kB / 0.578 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.22, allocations: 63.28 kB / 0.5781 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.2202, allocations: 73.52 kB / 0.5781 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2202, allocations: 4 kB / 0.5782 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2202, allocations: 0 / 0.5782 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2202, allocations: 0 / 0.5782 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.222, allocations: 1.189 MB / 0.5793 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.222, allocations: 0 / 0.5793 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.2225, allocations: 99.88 kB / 0.5794 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-06/0.2225, allocations: 7.984 kB / 0.5794 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.2225, allocations: 8 kB / 0.5794 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2225, allocations: 4 kB / 0.5794 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2225, allocations: 0 / 0.5794 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.2239, allocations: 0.7835 MB / 0.5802 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.2241, allocations: 168.3 kB / 0.5804 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.2242, allocations: 12 kB / 0.5804 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.2245, allocations: 35.91 kB / 0.5804 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.2246, allocations: 32.39 kB / 0.5804 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.2246, allocations: 16 kB / 0.5804 GB, free: 3.539 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000357/0.225, allocations: 314.9 kB / 0.5807 GB, free: 3.234 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.225, allocations: 0 / 0.5807 GB, free: 3.234 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004545/0.2255, allocations: 135.5 kB / 0.5809 GB, free: 3.102 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001391/0.2256, allocations: 111.2 kB / 0.581 GB, free: 2.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009679/0.2266, allocations: 497 kB / 0.5815 GB, free: 2.488 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2266, allocations: 0 / 0.5815 GB, free: 2.488 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000434/0.227, allocations: 222.9 kB / 0.5817 GB, free: 2.266 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007944/0.2278, allocations: 145.7 kB / 0.5818 GB, free: 2.121 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.2307, allocations: 1.692 MB / 0.5835 GB, free: 408 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2472/0.4779, allocations: 0.8885 MB / 0.5843 GB, free: 29.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004536/0.4784, allocations: 60.59 kB / 0.5844 GB, free: 29.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.4786, allocations: 41.72 kB / 0.5844 GB, free: 29.79 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4786, allocations: 1.031 kB / 0.5844 GB, free: 29.79 MB / 446.1 MB Notification: Performance of Templates: time 0.01353/0.4921, allocations: 5.519 MB / 0.5898 GB, free: 29.59 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)