Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 90.36 kB / 15.36 MB, free: 0.7344 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.007148/0.007148, allocations: 170.3 kB / 16.26 MB, free: 6.68 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.533/1.533, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9812/0.9812, allocations: 143.4 MB / 434.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 16 kB / 0.5166 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1902, allocations: 83.4 MB / 0.5981 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004753/0.195, allocations: 3.889 MB / 0.6019 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00309/0.1982, allocations: 1.516 MB / 0.6034 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.1987, allocations: 31.81 kB / 0.6034 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.1991, allocations: 122.8 kB / 0.6035 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006792/0.1998, allocations: 186.7 kB / 0.6037 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.2012, allocations: 0.6098 MB / 0.6043 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.3389/0.5401, allocations: 1.135 MB / 0.6054 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.5416, allocations: 479.3 kB / 0.6058 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008626/0.5425, allocations: 350.7 kB / 0.6062 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005335/0.543, allocations: 358.4 kB / 0.6065 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.5432, allocations: 27.25 kB / 0.6065 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.5433, allocations: 28.94 kB / 0.6066 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.5435, allocations: 141.7 kB / 0.6067 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003632/0.5439, allocations: 411.7 kB / 0.6071 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.545, allocations: 1.051 MB / 0.6081 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.545, allocations: 0 / 0.6081 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.545, allocations: 0.6562 kB / 0.6081 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.5451, allocations: 0 / 0.6081 GB, free: 34.82 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003408/0.5485, allocations: 1.248 MB / 0.6093 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.5486, allocations: 8.438 kB / 0.6093 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.5488, allocations: 122.3 kB / 0.6095 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.5507, allocations: 0.7288 MB / 0.6102 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.5508, allocations: 81.73 kB / 0.6103 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.551, allocations: 69.28 kB / 0.6103 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.5532, allocations: 0.7401 MB / 0.611 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.5532, allocations: 1.5 kB / 0.611 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.5533, allocations: 41.62 kB / 0.6111 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.5534, allocations: 17.38 kB / 0.6111 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.5556, allocations: 0.5247 MB / 0.6116 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00527/0.5609, allocations: 2.308 MB / 0.6139 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.5637, allocations: 0.6333 MB / 0.6145 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009563/0.5646, allocations: 282.2 kB / 0.6148 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.467e-05/0.5647, allocations: 5.781 kB / 0.6148 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/0.5659, allocations: 335.3 kB / 0.6151 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 4.428e-06/0.5659, allocations: 0 / 0.6151 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.002943/0.5689, allocations: 0.7705 MB / 0.6158 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/0.569, allocations: 84.58 kB / 0.6159 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.5706, allocations: 0.7537 MB / 0.6167 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.869e-05/0.5707, allocations: 42.42 kB / 0.6167 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/0.5712, allocations: 442.1 kB / 0.6171 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/0.5714, allocations: 204.9 kB / 0.6173 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.5716, allocations: 58.19 kB / 0.6174 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.5717, allocations: 333 kB / 0.6177 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009149/0.5726, allocations: 207.7 kB / 0.6179 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009515/0.5736, allocations: 317.9 kB / 0.6182 GB, free: 31.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.5753, allocations: 0.5162 MB / 0.6187 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.5753, allocations: 1.406 kB / 0.6187 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002264/0.5776, allocations: 0.6677 MB / 0.6193 GB, free: 31.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.609e-05/0.5777, allocations: 155 kB / 0.6195 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.5777, allocations: 0 / 0.6195 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.5777, allocations: 9.938 kB / 0.6195 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.5789, allocations: 147.9 kB / 0.6196 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.5789, allocations: 8.812 kB / 0.6196 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008952/0.5799, allocations: 76.92 kB / 0.6197 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.5799, allocations: 20.28 kB / 0.6197 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.58, allocations: 7.25 kB / 0.6197 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001991/0.582, allocations: 0.5273 MB / 0.6203 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.582, allocations: 2.844 kB / 0.6203 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.582, allocations: 9.094 kB / 0.6203 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.5832, allocations: 140.6 kB / 0.6204 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.5833, allocations: 9.141 kB / 0.6204 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008603/0.5842, allocations: 70.41 kB / 0.6205 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.5842, allocations: 24.11 kB / 0.6205 GB, free: 31.05 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0005809/0.5848, allocations: 296.3 kB / 0.6208 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.585, allocations: 95.81 kB / 0.6209 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.5854, allocations: 104.1 kB / 0.621 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.5854, allocations: 5.812 kB / 0.621 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.5854, allocations: 0.625 kB / 0.621 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5854, allocations: 3.234 kB / 0.621 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.5885, allocations: 1.448 MB / 0.6224 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5886, allocations: 8.219 kB / 0.6224 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/0.5892, allocations: 108.9 kB / 0.6225 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5892, allocations: 2.5 kB / 0.6225 GB, free: 30.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.5892, allocations: 20.75 kB / 0.6225 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.5892, allocations: 3.656 kB / 0.6225 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5892, allocations: 0 / 0.6225 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.591, allocations: 0.9796 MB / 0.6235 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.5912, allocations: 224.8 kB / 0.6237 GB, free: 29.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.5914, allocations: 20.94 kB / 0.6237 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/0.5919, allocations: 43.17 kB / 0.6238 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.592, allocations: 39.64 kB / 0.6238 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.592, allocations: 19.38 kB / 0.6238 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005832/0.5926, allocations: 0.5132 MB / 0.6243 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5926, allocations: 0 / 0.6243 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007781/0.5934, allocations: 279.5 kB / 0.6246 GB, free: 29.15 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0001549/0.5935, allocations: 113.8 kB / 0.6247 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.5953, allocations: 0.8059 MB / 0.6255 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5953, allocations: 3.062 kB / 0.6255 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005325/0.5959, allocations: 280 kB / 0.6258 GB, free: 28.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.5972, allocations: 241 kB / 0.626 GB, free: 28.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.5999, allocations: 1.93 MB / 0.6279 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.6003, allocations: 0.9885 MB / 0.6288 GB, free: 26.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004943/0.6008, allocations: 119.9 kB / 0.629 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.6009, allocations: 60.44 kB / 0.629 GB, free: 26.72 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.601, allocations: 0 / 0.629 GB, free: 26.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.01624/0.6172, allocations: 8.709 MB / 0.6375 GB, free: 26.21 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)