Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001245/0.001245, allocations: 110.3 kB / 16.37 MB, free: 6.012 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.001355/0.001355, allocations: 194.6 kB / 17.31 MB, free: 5.613 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8351/0.8351, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001366, allocations: 59.91 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3799, allocations: 82.03 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004195/0.3842, allocations: 4.098 MB / 0.5997 GB, free: 12.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.3862, allocations: 1.323 MB / 0.601 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003482/0.3866, allocations: 25.28 kB / 0.601 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.3869, allocations: 126.7 kB / 0.6011 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.3872, allocations: 174.3 kB / 0.6013 GB, free: 10.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006863/0.3879, allocations: 416.8 kB / 0.6017 GB, free: 9.965 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005811/0.3885, allocations: 0.9671 MB / 0.6026 GB, free: 8.992 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004846/0.389, allocations: 455.4 kB / 0.6031 GB, free: 8.527 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.3893, allocations: 330.8 kB / 0.6034 GB, free: 8.203 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.3895, allocations: 342.3 kB / 0.6037 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.225e-05/0.3896, allocations: 93.19 kB / 0.6038 GB, free: 7.777 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.381e-05/0.3897, allocations: 92 kB / 0.6039 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.734e-05/0.3898, allocations: 175.4 kB / 0.6041 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.39, allocations: 398 kB / 0.6044 GB, free: 7.125 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006008/0.3906, allocations: 1.108 MB / 0.6055 GB, free: 6.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3906, allocations: 0 / 0.6055 GB, free: 6.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3906, allocations: 1.375 kB / 0.6055 GB, free: 6.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3906, allocations: 0 / 0.6055 GB, free: 6.02 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.001491/0.3921, allocations: 1.074 MB / 0.6066 GB, free: 4.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3922, allocations: 8.031 kB / 0.6066 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.3923, allocations: 85.47 kB / 0.6067 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.3931, allocations: 0.5671 MB / 0.6072 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.3931, allocations: 50.84 kB / 0.6073 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/0.3932, allocations: 56.31 kB / 0.6073 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008794/0.3941, allocations: 0.6065 MB / 0.6079 GB, free: 3.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.3941, allocations: 0 / 0.6079 GB, free: 3.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.3942, allocations: 29.22 kB / 0.6079 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.3942, allocations: 15.98 kB / 0.6079 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008159/0.395, allocations: 454.6 kB / 0.6084 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.3972, allocations: 1.998 MB / 0.6103 GB, free: 0.918 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/0.3979, allocations: 451.3 kB / 0.6108 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.3983, allocations: 238.1 kB / 0.611 GB, free: 244 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.3984, allocations: 9.328 kB / 0.611 GB, free: 236 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005463/0.3989, allocations: 266.4 kB / 0.6113 GB, free: 15.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=49): time 2.224e-06/0.3989, allocations: 1.844 kB / 0.6113 GB, free: 15.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=49): time 0.001211/0.4001, allocations: 0.5783 MB / 0.6118 GB, free: 15.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.4002, allocations: 59.84 kB / 0.6119 GB, free: 15.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.4007, allocations: 442 kB / 0.6123 GB, free: 14.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.4008, allocations: 39.2 kB / 0.6123 GB, free: 14.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.401, allocations: 321 kB / 0.6126 GB, free: 14.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.4012, allocations: 169.5 kB / 0.6128 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.4014, allocations: 91 kB / 0.6129 GB, free: 14.24 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4015, allocations: 368.3 kB / 0.6132 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.4019, allocations: 165 kB / 0.6134 GB, free: 13.71 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.4023, allocations: 253.3 kB / 0.6136 GB, free: 13.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008168/0.4032, allocations: 453.7 kB / 0.6141 GB, free: 12.97 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4032, allocations: 0 / 0.6141 GB, free: 12.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001088/0.4043, allocations: 0.5611 MB / 0.6146 GB, free: 12.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.4043, allocations: 37.62 kB / 0.6147 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.4043, allocations: 4.625 kB / 0.6147 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.4044, allocations: 7.938 kB / 0.6147 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.4048, allocations: 118.4 kB / 0.6148 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.4049, allocations: 4 kB / 0.6148 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.4052, allocations: 51.52 kB / 0.6148 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.4052, allocations: 20 kB / 0.6149 GB, free: 12.15 MB / 462.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.0002402/0.4055, allocations: 216.3 kB / 0.6151 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.4055, allocations: 59.28 kB / 0.6151 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.4057, allocations: 61.59 kB / 0.6152 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4057, allocations: 7.984 kB / 0.6152 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4057, allocations: 0 / 0.6152 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.4057, allocations: 1.375 kB / 0.6152 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.4075, allocations: 1.175 MB / 0.6163 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4075, allocations: 0.9375 kB / 0.6163 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004408/0.408, allocations: 95.88 kB / 0.6164 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.408, allocations: 4.5 kB / 0.6164 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.408, allocations: 17.28 kB / 0.6164 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.408, allocations: 0 / 0.6164 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.408, allocations: 0 / 0.6164 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.4093, allocations: 0.7642 MB / 0.6172 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.4095, allocations: 176.3 kB / 0.6174 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.4096, allocations: 5.438 kB / 0.6174 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.4099, allocations: 23.98 kB / 0.6174 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/0.41, allocations: 40.94 kB / 0.6174 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.41, allocations: 12 kB / 0.6174 GB, free: 9.414 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00032/0.4103, allocations: 307.9 kB / 0.6177 GB, free: 9.117 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4103, allocations: 0 / 0.6177 GB, free: 9.117 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004928/0.4108, allocations: 144.1 kB / 0.6179 GB, free: 8.977 MB / 462.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.0001517/0.411, allocations: 118.4 kB / 0.618 GB, free: 8.852 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009053/0.4119, allocations: 485.1 kB / 0.6184 GB, free: 8.375 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4119, allocations: 0 / 0.6184 GB, free: 8.375 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.4123, allocations: 214.4 kB / 0.6186 GB, free: 8.168 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007353/0.4131, allocations: 164.1 kB / 0.6188 GB, free: 8.023 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.416, allocations: 1.343 MB / 0.6201 GB, free: 6.672 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/0.4166, allocations: 0.886 MB / 0.621 GB, free: 5.762 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002859/0.4169, allocations: 68.58 kB / 0.621 GB, free: 5.691 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.417, allocations: 43.42 kB / 0.6211 GB, free: 5.648 MB / 462.1 MB Notification: Performance of SimCode: time 1.91e-07/0.417, allocations: 0 / 0.6211 GB, free: 5.648 MB / 462.1 MB Notification: Performance of Templates: time 0.01204/0.4291, allocations: 5.922 MB / 0.6269 GB, free: 15.82 MB / 478.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)