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.001384/0.001384, allocations: 107 kB / 17.03 MB, free: 5.656 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.001566/0.001566, allocations: 192.1 kB / 17.97 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.304/1.304, 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.7043/0.7043, allocations: 115.1 MB / 406.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 55.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3614, allocations: 76.15 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004499/0.3659, allocations: 4.091 MB / 0.5615 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.3682, allocations: 1.319 MB / 0.5628 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/0.3685, allocations: 22.44 kB / 0.5629 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.3689, allocations: 127 kB / 0.563 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.3692, allocations: 180.3 kB / 0.5631 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007909/0.37, allocations: 424.9 kB / 0.5636 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008365/0.3709, allocations: 0.9503 MB / 0.5645 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005784/0.3714, allocations: 466 kB / 0.5649 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.3718, allocations: 327.3 kB / 0.5652 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.3721, allocations: 340.6 kB / 0.5656 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.3722, allocations: 90.03 kB / 0.5656 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3723, allocations: 92.44 kB / 0.5657 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.3725, allocations: 173.2 kB / 0.5659 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.3727, allocations: 395.3 kB / 0.5663 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009121/0.3737, allocations: 1.057 MB / 0.5673 GB, free: 30.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3737, allocations: 4.219 kB / 0.5673 GB, free: 30.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3737, allocations: 0 / 0.5673 GB, free: 30.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.3737, allocations: 0 / 0.5673 GB, free: 30.37 MB / 446.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.001585/0.3753, allocations: 1.075 MB / 0.5684 GB, free: 29.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3753, allocations: 11 kB / 0.5684 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.3755, allocations: 85.62 kB / 0.5685 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000827/0.3763, allocations: 0.56 MB / 0.569 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/0.3763, allocations: 52.09 kB / 0.5691 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.87e-05/0.3764, allocations: 55.7 kB / 0.5691 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009732/0.3774, allocations: 0.607 MB / 0.5697 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.3775, allocations: 2.531 kB / 0.5697 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.3775, allocations: 25.31 kB / 0.5697 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.3775, allocations: 18.22 kB / 0.5697 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009302/0.3785, allocations: 459.2 kB / 0.5702 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.381, allocations: 2.002 MB / 0.5721 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008437/0.3819, allocations: 445.9 kB / 0.5726 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.3823, allocations: 240.2 kB / 0.5728 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.533e-05/0.3824, allocations: 5.453 kB / 0.5728 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004856/0.3829, allocations: 269.2 kB / 0.5731 GB, free: 26.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/0.3829, allocations: 0 / 0.5731 GB, free: 26.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001196/0.3841, allocations: 0.5791 MB / 0.5736 GB, free: 26.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.3841, allocations: 62.09 kB / 0.5737 GB, free: 26.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.3846, allocations: 442.4 kB / 0.5741 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.3846, allocations: 37.8 kB / 0.5741 GB, free: 26.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.3848, allocations: 327.6 kB / 0.5744 GB, free: 26.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/0.3849, allocations: 169.1 kB / 0.5746 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.385, allocations: 90 kB / 0.5747 GB, free: 25.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.3851, allocations: 366.4 kB / 0.575 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.3855, allocations: 167.4 kB / 0.5752 GB, free: 25.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.3858, allocations: 252.6 kB / 0.5754 GB, free: 25.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006934/0.3865, allocations: 455 kB / 0.5759 GB, free: 25.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3865, allocations: 1.656 kB / 0.5759 GB, free: 25.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009553/0.3875, allocations: 0.56 MB / 0.5764 GB, free: 24.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.3876, allocations: 37.42 kB / 0.5765 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3876, allocations: 7.766 kB / 0.5765 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.3876, allocations: 4.812 kB / 0.5765 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.3881, allocations: 114.3 kB / 0.5766 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3881, allocations: 5.203 kB / 0.5766 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.3885, allocations: 56.11 kB / 0.5766 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.3885, allocations: 19.92 kB / 0.5767 GB, free: 24.83 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.0002114/0.3887, allocations: 210 kB / 0.5769 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.3888, allocations: 61.09 kB / 0.5769 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.3889, allocations: 66.14 kB / 0.577 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3889, allocations: 7.719 kB / 0.577 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.3889, allocations: 0 / 0.577 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.389, allocations: 3.703 kB / 0.577 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.3907, allocations: 1.174 MB / 0.5781 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3907, allocations: 3.25 kB / 0.5781 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005099/0.3912, allocations: 94.25 kB / 0.5782 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3912, allocations: 2.125 kB / 0.5782 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.3913, allocations: 12.44 kB / 0.5782 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3913, allocations: 3.75 kB / 0.5783 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3913, allocations: 4.734 kB / 0.5783 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.3927, allocations: 0.7622 MB / 0.579 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.3929, allocations: 171.8 kB / 0.5792 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.393, allocations: 7.859 kB / 0.5792 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.3933, allocations: 27.45 kB / 0.5792 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.3934, allocations: 44.95 kB / 0.5792 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.3935, allocations: 11.41 kB / 0.5793 GB, free: 23.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003977/0.3939, allocations: 308 kB / 0.5795 GB, free: 23.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3939, allocations: 2.562 kB / 0.5795 GB, free: 23.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005577/0.3944, allocations: 145.8 kB / 0.5797 GB, free: 23.1 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.0001516/0.3946, allocations: 112.6 kB / 0.5798 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000995/0.3956, allocations: 485.2 kB / 0.5803 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.3956, allocations: 0 / 0.5803 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004287/0.396, allocations: 213.6 kB / 0.5805 GB, free: 22.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007788/0.3968, allocations: 160 kB / 0.5806 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.3992, allocations: 1.338 MB / 0.5819 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.3996, allocations: 0.8872 MB / 0.5828 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000253/0.3998, allocations: 68.11 kB / 0.5829 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.3999, allocations: 39.53 kB / 0.5829 GB, free: 21.18 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3999, allocations: 1.469 kB / 0.5829 GB, free: 21.18 MB / 446.1 MB Notification: Performance of Templates: time 0.01064/0.4106, allocations: 5.925 MB / 0.5887 GB, free: 19.19 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)