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.001462/0.001462, allocations: 103.1 kB / 16.36 MB, free: 6.305 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.001646/0.001646, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.723/1.723, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.001508/0.001508, allocations: 67.91 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2475, allocations: 114.5 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.4318/0.6793, allocations: 5.638 MB / 0.7903 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003608/0.683, allocations: 1.797 MB / 0.7921 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009009/0.6839, allocations: 33.78 kB / 0.7921 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006121/0.6846, allocations: 256.7 kB / 0.7923 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0007208/0.6854, allocations: 205.9 kB / 0.7925 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.6866, allocations: 0.6304 MB / 0.7931 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.6881, allocations: 1.661 MB / 0.7948 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.6892, allocations: 0.8365 MB / 0.7956 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00057/0.6898, allocations: 0.5488 MB / 0.7961 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004911/0.6903, allocations: 0.6033 MB / 0.7967 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.6905, allocations: 164 kB / 0.7969 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.6907, allocations: 177.3 kB / 0.797 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.6909, allocations: 343.2 kB / 0.7974 GB, free: 44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.6913, allocations: 0.6725 MB / 0.798 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.6931, allocations: 1.965 MB / 0.7999 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6931, allocations: 5.906 kB / 0.7999 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6931, allocations: 0 / 0.7999 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.358e-05/0.6931, allocations: 0 / 0.7999 GB, free: 42.69 MB / 0.6544 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.003267/0.6964, allocations: 1.769 MB / 0.8017 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.6965, allocations: 8.938 kB / 0.8017 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.6967, allocations: 165.1 kB / 0.8018 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.6978, allocations: 0.8228 MB / 0.8026 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.6979, allocations: 89.8 kB / 0.8027 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.6981, allocations: 117.8 kB / 0.8028 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.6999, allocations: 1.084 MB / 0.8039 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.6999, allocations: 1.312 kB / 0.8039 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.663e-05/0.7, allocations: 48.52 kB / 0.8039 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.7001, allocations: 30.56 kB / 0.804 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.7017, allocations: 0.8097 MB / 0.8048 GB, free: 40 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005623/0.7073, allocations: 3.885 MB / 0.8086 GB, free: 37.6 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.7096, allocations: 0.939 MB / 0.8095 GB, free: 37.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008575/0.7105, allocations: 459 kB / 0.8099 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.91e-05/0.7105, allocations: 14.28 kB / 0.8099 GB, free: 37.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008657/0.7114, allocations: 416.6 kB / 0.8103 GB, free: 36.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=84): time 3.206e-06/0.7114, allocations: 5.25 kB / 0.8103 GB, free: 36.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.002539/0.714, allocations: 1.037 MB / 0.8113 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.672e-05/0.7141, allocations: 216.9 kB / 0.8116 GB, free: 36.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.7156, allocations: 0.9223 MB / 0.8125 GB, free: 35.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.7157, allocations: 45.05 kB / 0.8125 GB, free: 35.85 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004633/0.7162, allocations: 0.5861 MB / 0.8131 GB, free: 35.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.7164, allocations: 287.5 kB / 0.8133 GB, free: 35.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.7167, allocations: 182.7 kB / 0.8135 GB, free: 35.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.7168, allocations: 341.9 kB / 0.8138 GB, free: 34.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007501/0.7175, allocations: 346.5 kB / 0.8142 GB, free: 34.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008664/0.7184, allocations: 0.5759 MB / 0.8147 GB, free: 34.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.7198, allocations: 0.8377 MB / 0.8156 GB, free: 33.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.7199, allocations: 2.219 kB / 0.8156 GB, free: 33.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002295/0.7222, allocations: 1.078 MB / 0.8166 GB, free: 33.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/0.7222, allocations: 36.59 kB / 0.8166 GB, free: 33.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/0.7223, allocations: 3.844 kB / 0.8166 GB, free: 33.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.361e-05/0.7223, allocations: 10.08 kB / 0.8167 GB, free: 33.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007647/0.7231, allocations: 203 kB / 0.8169 GB, free: 33.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.7231, allocations: 10.36 kB / 0.8169 GB, free: 33.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008732/0.724, allocations: 162.9 kB / 0.817 GB, free: 33.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-05/0.7241, allocations: 39.42 kB / 0.8171 GB, free: 33.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007958/0.7249, allocations: 467.2 kB / 0.8175 GB, free: 32.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005412/0.7254, allocations: 0.4998 MB / 0.818 GB, free: 32.5 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008714/0.7263, allocations: 0.7104 MB / 0.8187 GB, free: 32.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.919e-06/0.7263, allocations: 6.438 kB / 0.8187 GB, free: 32.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.001534/0.7279, allocations: 0.9244 MB / 0.8196 GB, free: 31.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.7279, allocations: 40.88 kB / 0.8196 GB, free: 31.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.7279, allocations: 10.72 kB / 0.8196 GB, free: 31.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.7279, allocations: 7.656 kB / 0.8196 GB, free: 31.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/0.7286, allocations: 170.7 kB / 0.8198 GB, free: 31.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.7286, allocations: 10 kB / 0.8198 GB, free: 31.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/0.7293, allocations: 131.7 kB / 0.8199 GB, free: 31.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.7294, allocations: 37.06 kB / 0.82 GB, free: 31.48 MB / 0.6544 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,pulse.booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002823/0.7297, allocations: 254.5 kB / 0.8202 GB, free: 31.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.7298, allocations: 112.3 kB / 0.8203 GB, free: 31.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.7301, allocations: 120.3 kB / 0.8204 GB, free: 31.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.7301, allocations: 7.844 kB / 0.8205 GB, free: 31.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/0.7301, allocations: 2.062 kB / 0.8205 GB, free: 31.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.7301, allocations: 3.75 kB / 0.8205 GB, free: 31.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.7315, allocations: 1.002 MB / 0.8214 GB, free: 30.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.7315, allocations: 1.75 kB / 0.8214 GB, free: 30.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006855/0.7322, allocations: 158.3 kB / 0.8216 GB, free: 30.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.7322, allocations: 3.906 kB / 0.8216 GB, free: 30.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.7323, allocations: 21.09 kB / 0.8216 GB, free: 30.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.7323, allocations: 3.562 kB / 0.8216 GB, free: 30.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.7323, allocations: 1.031 kB / 0.8216 GB, free: 30.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.7344, allocations: 1.202 MB / 0.8228 GB, free: 30.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.7346, allocations: 192.4 kB / 0.823 GB, free: 29.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/0.7347, allocations: 18.84 kB / 0.823 GB, free: 29.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.7351, allocations: 57.98 kB / 0.823 GB, free: 29.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.003e-05/0.7352, allocations: 42.94 kB / 0.8231 GB, free: 29.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.7353, allocations: 32.41 kB / 0.8231 GB, free: 29.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008935/0.7362, allocations: 0.6272 MB / 0.8237 GB, free: 29.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7362, allocations: 0 / 0.8237 GB, free: 29.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001259/0.7375, allocations: 410 kB / 0.8241 GB, free: 29.43 MB / 0.6544 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 (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.0002093/0.7377, allocations: 138.8 kB / 0.8243 GB, free: 29.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002531/0.7402, allocations: 1.355 MB / 0.8256 GB, free: 28.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7402, allocations: 1.438 kB / 0.8256 GB, free: 28.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007003/0.7409, allocations: 375.3 kB / 0.8259 GB, free: 28.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.742, allocations: 272.6 kB / 0.8262 GB, free: 28.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.7452, allocations: 1.953 MB / 0.8281 GB, free: 27.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/0.7459, allocations: 1.101 MB / 0.8292 GB, free: 26.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.7462, allocations: 91.89 kB / 0.8293 GB, free: 26.79 MB / 0.6544 GB Notification: Performance of SimCode: time 6.91e-07/0.7462, allocations: 0 / 0.8293 GB, free: 26.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.02563/0.7719, allocations: 13.84 MB / 0.8428 GB, free: 22.8 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (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)