Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008704/0.0008704, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008643/0.0008645, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00089/0.0008902, allocations: 13.94 kB / 0.6737 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2994, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.006022/0.3054, allocations: 4.694 MB / 0.7919 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004788/0.3103, allocations: 1.682 MB / 0.7935 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.312, allocations: 31.88 kB / 0.7936 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009492/0.313, allocations: 186.2 kB / 0.7937 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.3144, allocations: 130.8 kB / 0.7939 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.3161, allocations: 433.9 kB / 0.7943 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00241/0.3185, allocations: 1.417 MB / 0.7957 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.3197, allocations: 0.5305 MB / 0.7962 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005832/0.3203, allocations: 357.9 kB / 0.7965 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004541/0.3208, allocations: 429.1 kB / 0.7969 GB, free: 2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.3209, allocations: 40 kB / 0.797 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.321, allocations: 51.98 kB / 0.797 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.3212, allocations: 182.9 kB / 0.7972 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.3214, allocations: 225 kB / 0.7974 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.3227, allocations: 1.477 MB / 0.7989 GB, free: 24 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3227, allocations: 0 / 0.7989 GB, free: 24 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.805e-06/0.3227, allocations: 7.875 kB / 0.7989 GB, free: 16 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.3227, allocations: 4 kB / 0.7989 GB, free: 12 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002636/0.3254, allocations: 1.566 MB / 0.8004 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3254, allocations: 15.97 kB / 0.8004 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.3257, allocations: 162 kB / 0.8006 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.3268, allocations: 0.7891 MB / 0.8013 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.296e-05/0.3269, allocations: 90.17 kB / 0.8014 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.327, allocations: 112 kB / 0.8015 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.3289, allocations: 1.1 MB / 0.8026 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.3289, allocations: 3.984 kB / 0.8026 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.329, allocations: 44 kB / 0.8026 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.329, allocations: 24 kB / 0.8027 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.3307, allocations: 0.8511 MB / 0.8035 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005163/0.3359, allocations: 3.967 MB / 0.8074 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.3379, allocations: 1.033 MB / 0.8084 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00078/0.3387, allocations: 478.6 kB / 0.8088 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.3388, allocations: 8.656 kB / 0.8088 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008832/0.3397, allocations: 440.8 kB / 0.8093 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=84): time 2.915e-06/0.3397, allocations: 0 / 0.8093 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.002161/0.3419, allocations: 1.105 MB / 0.8103 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.342, allocations: 214.6 kB / 0.8106 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.3434, allocations: 0.9193 MB / 0.8114 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.483e-05/0.3435, allocations: 45.7 kB / 0.8115 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005625/0.3441, allocations: 0.578 MB / 0.8121 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.3444, allocations: 291.7 kB / 0.8123 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.3444, allocations: 20 kB / 0.8124 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3446, allocations: 349.9 kB / 0.8127 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006952/0.3453, allocations: 349.8 kB / 0.813 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008469/0.3462, allocations: 0.599 MB / 0.8136 GB, free: 396 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007794/0.347, allocations: 440.6 kB / 0.814 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.347, allocations: 3.953 kB / 0.814 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001934/0.3489, allocations: 1.095 MB / 0.8151 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.000198/0.3492, allocations: 254.6 kB / 0.8153 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.3492, allocations: 4 kB / 0.8153 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.3492, allocations: 8 kB / 0.8154 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.35, allocations: 223.6 kB / 0.8156 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/0.35, allocations: 8 kB / 0.8156 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008413/0.3508, allocations: 198.9 kB / 0.8158 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.259e-05/0.3509, allocations: 35.98 kB / 0.8158 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3509, allocations: 8 kB / 0.8158 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001267/0.3522, allocations: 0.8057 MB / 0.8166 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.3522, allocations: 16.45 kB / 0.8166 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3523, allocations: 12 kB / 0.8166 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.3529, allocations: 171.8 kB / 0.8168 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.3529, allocations: 15.92 kB / 0.8168 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006492/0.3535, allocations: 151.1 kB / 0.8169 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.016e-05/0.3536, allocations: 39.98 kB / 0.817 GB, free: 12.83 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,$PRE.pulse.booPul.y,pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005433/0.3542, allocations: 340.9 kB / 0.8173 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.3543, allocations: 114.6 kB / 0.8174 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002618/0.3546, allocations: 127.6 kB / 0.8175 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.3546, allocations: 8 kB / 0.8175 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.3546, allocations: 0 / 0.8175 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/0.3547, allocations: 7.969 kB / 0.8176 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.3561, allocations: 0.9994 MB / 0.8185 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.3561, allocations: 0 / 0.8185 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/0.3568, allocations: 175.8 kB / 0.8187 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.3568, allocations: 0 / 0.8187 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/0.3569, allocations: 16 kB / 0.8187 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.3569, allocations: 3.953 kB / 0.8187 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3569, allocations: 4 kB / 0.8187 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.3592, allocations: 1.269 MB / 0.82 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.3595, allocations: 199.4 kB / 0.8201 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.3596, allocations: 19.98 kB / 0.8202 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.36, allocations: 71.95 kB / 0.8202 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.3601, allocations: 48.89 kB / 0.8203 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.3602, allocations: 23.98 kB / 0.8203 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008922/0.3611, allocations: 0.6163 MB / 0.8209 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3611, allocations: 0 / 0.8209 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001104/0.3622, allocations: 410.3 kB / 0.8213 GB, free: 8.297 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002436/0.3624, allocations: 136.2 kB / 0.8214 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002679/0.3651, allocations: 1.396 MB / 0.8228 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3651, allocations: 0 / 0.8228 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.3658, allocations: 390.7 kB / 0.8232 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3669, allocations: 256 kB / 0.8234 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.3707, allocations: 2.341 MB / 0.8257 GB, free: 3.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008403/0.3716, allocations: 1.093 MB / 0.8268 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006068/0.3722, allocations: 136.3 kB / 0.8269 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.3725, allocations: 83.41 kB / 0.827 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of SimCode: time 1.072e-06/0.3725, allocations: 0 / 0.827 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of Templates: time 0.02298/0.3955, allocations: 11.17 MB / 0.8379 GB, free: 7.359 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) Environment - environmentSimulation: