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/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.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.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001331/0.001331, allocations: 191.2 kB / 16.14 MB, free: 6.688 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.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 1.006/1.006, allocations: 143 MB / 433 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 59.91 kB / 0.5135 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1545, allocations: 82.05 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005638/0.1602, allocations: 4.313 MB / 0.5978 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003263/0.1635, allocations: 1.547 MB / 0.5993 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007634/0.1643, allocations: 35.81 kB / 0.5994 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005354/0.1648, allocations: 118.8 kB / 0.5995 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008958/0.1658, allocations: 182.8 kB / 0.5996 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.1672, allocations: 0.6191 MB / 0.6002 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001078/0.1683, allocations: 1.136 MB / 0.6014 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00061/0.1689, allocations: 496.1 kB / 0.6018 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004276/0.1693, allocations: 397.8 kB / 0.6022 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.1697, allocations: 425.4 kB / 0.6026 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.1698, allocations: 48 kB / 0.6027 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.689e-05/0.1699, allocations: 48 kB / 0.6027 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.1701, allocations: 187 kB / 0.6029 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.1704, allocations: 433 kB / 0.6033 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.3061/0.4765, allocations: 1.095 MB / 0.6044 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4766, allocations: 1.938 kB / 0.6044 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4766, allocations: 0 / 0.6044 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.4766, allocations: 0 / 0.6044 GB, free: 38.79 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.002196/0.4788, allocations: 1.4 MB / 0.6057 GB, free: 38.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4788, allocations: 11.75 kB / 0.6057 GB, free: 38.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.479, allocations: 121.2 kB / 0.6059 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009408/0.4799, allocations: 0.7268 MB / 0.6066 GB, free: 37.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-05/0.48, allocations: 81.28 kB / 0.6066 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.4801, allocations: 70.86 kB / 0.6067 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.4814, allocations: 0.7374 MB / 0.6074 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.4814, allocations: 2.625 kB / 0.6074 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.4815, allocations: 33.67 kB / 0.6075 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.4815, allocations: 14.53 kB / 0.6075 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009482/0.4825, allocations: 0.5209 MB / 0.608 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.4851, allocations: 2.277 MB / 0.6102 GB, free: 36.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.4865, allocations: 0.6197 MB / 0.6108 GB, free: 36.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/0.487, allocations: 273.2 kB / 0.6111 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.659e-05/0.4871, allocations: 13.41 kB / 0.6111 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006001/0.4877, allocations: 320.3 kB / 0.6114 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.194e-06/0.4877, allocations: 0 / 0.6114 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001497/0.4892, allocations: 0.7536 MB / 0.6121 GB, free: 36.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.4893, allocations: 85.89 kB / 0.6122 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006925/0.49, allocations: 0.7583 MB / 0.613 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.49, allocations: 35.55 kB / 0.613 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.4903, allocations: 441.2 kB / 0.6134 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.4904, allocations: 212.2 kB / 0.6136 GB, free: 35.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.4905, allocations: 109.9 kB / 0.6137 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.82e-05/0.4906, allocations: 330.8 kB / 0.614 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.491, allocations: 207.5 kB / 0.6142 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.4914, allocations: 308 kB / 0.6145 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00079/0.4922, allocations: 0.5069 MB / 0.615 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4922, allocations: 4 kB / 0.615 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001038/0.4933, allocations: 0.6483 MB / 0.6157 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4933, allocations: 6.281 kB / 0.6157 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4933, allocations: 7.031 kB / 0.6157 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.4933, allocations: 5.844 kB / 0.6157 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.494, allocations: 142.6 kB / 0.6158 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.494, allocations: 5.688 kB / 0.6158 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/0.4944, allocations: 79.8 kB / 0.6159 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.4944, allocations: 19.59 kB / 0.6159 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000535/0.4949, allocations: 358.9 kB / 0.6163 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004014/0.4954, allocations: 286.4 kB / 0.6165 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000726/0.4961, allocations: 498.4 kB / 0.617 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.4961, allocations: 3.75 kB / 0.617 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009656/0.4971, allocations: 0.627 MB / 0.6176 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.4971, allocations: 5.375 kB / 0.6176 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4971, allocations: 2.562 kB / 0.6176 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.4971, allocations: 5.906 kB / 0.6176 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/0.4977, allocations: 141.1 kB / 0.6178 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.4977, allocations: 8.547 kB / 0.6178 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.4981, allocations: 60.73 kB / 0.6178 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.4981, allocations: 26.05 kB / 0.6179 GB, free: 33.67 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.0001226/0.4983, allocations: 212.4 kB / 0.6181 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.737e-05/0.4984, allocations: 95.34 kB / 0.6182 GB, free: 33.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.4985, allocations: 103.5 kB / 0.6183 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4985, allocations: 6.125 kB / 0.6183 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.4986, allocations: 3.094 kB / 0.6183 GB, free: 33.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4986, allocations: 11.12 kB / 0.6183 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.5004, allocations: 1.426 MB / 0.6197 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.5005, allocations: 0.9375 kB / 0.6197 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/0.501, allocations: 111.9 kB / 0.6198 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.501, allocations: 6.656 kB / 0.6198 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.5011, allocations: 14.36 kB / 0.6198 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5011, allocations: 2.875 kB / 0.6198 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5011, allocations: 2.625 kB / 0.6198 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.5026, allocations: 0.9609 MB / 0.6207 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.5028, allocations: 226 kB / 0.621 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-05/0.5029, allocations: 13.53 kB / 0.621 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004217/0.5033, allocations: 37.28 kB / 0.621 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.5034, allocations: 34.72 kB / 0.621 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/0.5034, allocations: 19.34 kB / 0.6211 GB, free: 31.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005322/0.504, allocations: 0.514 MB / 0.6216 GB, free: 31.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.504, allocations: 6.469 kB / 0.6216 GB, free: 31.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006492/0.5046, allocations: 276.7 kB / 0.6218 GB, free: 31.61 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.0001263/0.5048, allocations: 117.4 kB / 0.6219 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.5062, allocations: 0.7969 MB / 0.6227 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5062, allocations: 0 / 0.6227 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004507/0.5067, allocations: 269.4 kB / 0.623 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.5078, allocations: 246.3 kB / 0.6232 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.5102, allocations: 1.9 MB / 0.6251 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.5105, allocations: 0.9929 MB / 0.626 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004903/0.511, allocations: 113.9 kB / 0.6261 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.5112, allocations: 62.42 kB / 0.6262 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.5113, allocations: 0 / 0.6262 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.01613/0.5274, allocations: 8.778 MB / 0.6348 GB, free: 28.7 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)