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.001377/0.001377, allocations: 109.2 kB / 17.02 MB, free: 6.121 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.0009879/0.0009879, allocations: 194.9 kB / 17.97 MB, free: 5.211 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.336/1.336, 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.7219/0.7219, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3201, allocations: 76.15 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.004144/0.3243, allocations: 3.686 MB / 0.5612 GB, free: 34.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3264, allocations: 1.326 MB / 0.5624 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003435/0.3268, allocations: 30.47 kB / 0.5625 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.3271, allocations: 128.7 kB / 0.5626 GB, free: 33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.3276, allocations: 174.8 kB / 0.5628 GB, free: 32.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.3286, allocations: 0.5776 MB / 0.5633 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008619/0.3295, allocations: 0.9667 MB / 0.5643 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005022/0.33, allocations: 343.9 kB / 0.5646 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.3304, allocations: 368.2 kB / 0.565 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.3307, allocations: 352.2 kB / 0.5653 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.3308, allocations: 76.59 kB / 0.5654 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.745e-05/0.3309, allocations: 79.91 kB / 0.5654 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.3311, allocations: 177.9 kB / 0.5656 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.3313, allocations: 375.2 kB / 0.566 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007874/0.3321, allocations: 0.8968 MB / 0.5668 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3321, allocations: 0 / 0.5668 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3321, allocations: 0 / 0.5668 GB, free: 30.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.3322, allocations: 2 kB / 0.5668 GB, free: 30.71 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001895/0.3341, allocations: 1.181 MB / 0.568 GB, free: 29.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3341, allocations: 13.56 kB / 0.568 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.3343, allocations: 96.55 kB / 0.5681 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000996/0.3353, allocations: 0.6158 MB / 0.5687 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.715e-05/0.3354, allocations: 97.16 kB / 0.5688 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.164e-05/0.3355, allocations: 52.97 kB / 0.5688 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.3365, allocations: 0.6073 MB / 0.5694 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.3365, allocations: 2.25 kB / 0.5694 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.3366, allocations: 21.25 kB / 0.5695 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.3366, allocations: 13.8 kB / 0.5695 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009226/0.3375, allocations: 428 kB / 0.5699 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.3401, allocations: 2.097 MB / 0.5719 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.3413, allocations: 0.4951 MB / 0.5724 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/0.3417, allocations: 213.9 kB / 0.5726 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.147e-05/0.3418, allocations: 8.938 kB / 0.5726 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006206/0.3425, allocations: 277.9 kB / 0.5729 GB, free: 27.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.846e-06/0.3425, allocations: 1.562 kB / 0.5729 GB, free: 27.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001423/0.3439, allocations: 0.6172 MB / 0.5735 GB, free: 26.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.344, allocations: 87.06 kB / 0.5736 GB, free: 26.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006967/0.3447, allocations: 0.6098 MB / 0.5742 GB, free: 26.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.3447, allocations: 36.45 kB / 0.5742 GB, free: 26.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.3449, allocations: 361.7 kB / 0.5746 GB, free: 26.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.54e-05/0.345, allocations: 153.2 kB / 0.5747 GB, free: 25.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.3452, allocations: 96.58 kB / 0.5748 GB, free: 25.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.473e-05/0.3452, allocations: 325.2 kB / 0.5751 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.3457, allocations: 185.1 kB / 0.5753 GB, free: 25.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004591/0.3461, allocations: 280.4 kB / 0.5755 GB, free: 25.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008362/0.347, allocations: 481.5 kB / 0.576 GB, free: 25.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.347, allocations: 5.344 kB / 0.576 GB, free: 25.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00112/0.3481, allocations: 0.6011 MB / 0.5766 GB, free: 24.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.3482, allocations: 34.48 kB / 0.5766 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3482, allocations: 2.094 kB / 0.5766 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.3482, allocations: 9.969 kB / 0.5766 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.3487, allocations: 112 kB / 0.5768 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3487, allocations: 6.203 kB / 0.5768 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.3491, allocations: 68.28 kB / 0.5768 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.3492, allocations: 18.95 kB / 0.5768 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005188/0.3497, allocations: 309.2 kB / 0.5771 GB, free: 24.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004244/0.3501, allocations: 265 kB / 0.5774 GB, free: 24.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007273/0.3509, allocations: 458.1 kB / 0.5778 GB, free: 24.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.3509, allocations: 5.406 kB / 0.5778 GB, free: 24.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001037/0.3519, allocations: 0.5749 MB / 0.5784 GB, free: 23.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.352, allocations: 32.8 kB / 0.5784 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.352, allocations: 3.75 kB / 0.5784 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.352, allocations: 17.66 kB / 0.5784 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.3524, allocations: 99.8 kB / 0.5785 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3524, allocations: 10.11 kB / 0.5785 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.3528, allocations: 45.66 kB / 0.5786 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.3529, allocations: 20.03 kB / 0.5786 GB, free: 23.76 MB / 446.1 MB 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.0001669/0.353, allocations: 209.4 kB / 0.5788 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.195e-05/0.3531, allocations: 77.98 kB / 0.5789 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.3533, allocations: 79.69 kB / 0.579 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.3533, allocations: 5.578 kB / 0.579 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.3533, allocations: 0 / 0.579 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.3534, allocations: 7.094 kB / 0.579 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007191/0.3541, allocations: 0.6232 MB / 0.5796 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3541, allocations: 0 / 0.5796 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.3546, allocations: 83.94 kB / 0.5797 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3546, allocations: 1.844 kB / 0.5797 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.3546, allocations: 13 kB / 0.5797 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3546, allocations: 1.781 kB / 0.5797 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3546, allocations: 0.5625 kB / 0.5797 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.356, allocations: 0.7233 MB / 0.5804 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.3563, allocations: 191 kB / 0.5806 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-05/0.3563, allocations: 11.33 kB / 0.5806 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.3567, allocations: 35.8 kB / 0.5806 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3569, allocations: 29.88 kB / 0.5806 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.3569, allocations: 22.72 kB / 0.5807 GB, free: 22.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004854/0.3574, allocations: 432 kB / 0.5811 GB, free: 22.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3574, allocations: 3.938 kB / 0.5811 GB, free: 22.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006458/0.358, allocations: 214.7 kB / 0.5813 GB, free: 22.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001218/0.3582, allocations: 110.8 kB / 0.5814 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.3597, allocations: 0.7799 MB / 0.5821 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3597, allocations: 1.75 kB / 0.5822 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004307/0.3601, allocations: 228.7 kB / 0.5824 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.361, allocations: 213.1 kB / 0.5826 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.3629, allocations: 1.171 MB / 0.5837 GB, free: 21.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.3633, allocations: 0.9173 MB / 0.5846 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.3637, allocations: 85.73 kB / 0.5847 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.3638, allocations: 45.75 kB / 0.5847 GB, free: 20.32 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3638, allocations: 0 / 0.5847 GB, free: 20.32 MB / 446.1 MB Notification: Performance of Templates: time 0.01401/0.3778, allocations: 7.577 MB / 0.5921 GB, free: 16.61 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)