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.001496/0.001496, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001824/0.001824, allocations: 199.1 kB / 16.26 MB, free: 6.625 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.375/1.375, allocations: 222.9 MB / 239.9 MB, free: 4.555 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.039/1.039, allocations: 143 MB / 433.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.91 kB / 0.5137 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1479, allocations: 82.03 MB / 0.5938 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005342/0.1533, allocations: 4.328 MB / 0.598 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003023/0.1564, allocations: 1.543 MB / 0.5995 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006812/0.1571, allocations: 31.88 kB / 0.5995 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.1575, allocations: 118.8 kB / 0.5996 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005884/0.1581, allocations: 181.1 kB / 0.5998 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.1593, allocations: 0.6165 MB / 0.6004 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.1603, allocations: 1.222 MB / 0.6016 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000635/0.161, allocations: 0.4962 MB / 0.6021 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004568/0.1615, allocations: 469.8 kB / 0.6025 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.1619, allocations: 457.5 kB / 0.603 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.162, allocations: 104 kB / 0.6031 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1621, allocations: 107.9 kB / 0.6032 GB, free: 316 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.1623, allocations: 235.1 kB / 0.6034 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.2814/0.4437, allocations: 491.3 kB / 0.6039 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.4453, allocations: 1.15 MB / 0.605 GB, free: 38.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4453, allocations: 0 / 0.605 GB, free: 38.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4454, allocations: 0 / 0.605 GB, free: 38.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.4454, allocations: 0 / 0.605 GB, free: 38.1 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.003352/0.4488, allocations: 1.4 MB / 0.6064 GB, free: 37.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.4488, allocations: 11.75 kB / 0.6064 GB, free: 37.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.4491, allocations: 120.8 kB / 0.6065 GB, free: 37.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.4508, allocations: 0.722 MB / 0.6072 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.4509, allocations: 85.34 kB / 0.6073 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.4511, allocations: 72.34 kB / 0.6073 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.4531, allocations: 0.7377 MB / 0.6081 GB, free: 36.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.4531, allocations: 0 / 0.6081 GB, free: 36.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.756e-05/0.4532, allocations: 27.44 kB / 0.6081 GB, free: 36.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.4533, allocations: 15.34 kB / 0.6081 GB, free: 36.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.4551, allocations: 0.5243 MB / 0.6086 GB, free: 36.78 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004693/0.4598, allocations: 2.274 MB / 0.6108 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.4621, allocations: 0.6207 MB / 0.6114 GB, free: 35.94 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008193/0.4629, allocations: 274.9 kB / 0.6117 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.583e-05/0.463, allocations: 7.547 kB / 0.6117 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/0.4642, allocations: 320.2 kB / 0.612 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 3.367e-06/0.4642, allocations: 4 kB / 0.612 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.002814/0.4671, allocations: 0.7546 MB / 0.6128 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.4672, allocations: 83.58 kB / 0.6128 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.4684, allocations: 0.7609 MB / 0.6136 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/0.4685, allocations: 38.23 kB / 0.6136 GB, free: 35.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.4689, allocations: 439.8 kB / 0.614 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.4691, allocations: 206.9 kB / 0.6142 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.4694, allocations: 115.5 kB / 0.6143 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.4695, allocations: 327 kB / 0.6147 GB, free: 34.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007931/0.4703, allocations: 213.3 kB / 0.6149 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008515/0.4712, allocations: 309.2 kB / 0.6152 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.4728, allocations: 0.5013 MB / 0.6156 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.4728, allocations: 3.094 kB / 0.6156 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002056/0.4749, allocations: 0.6495 MB / 0.6163 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4749, allocations: 6.219 kB / 0.6163 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.475, allocations: 2.625 kB / 0.6163 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.475, allocations: 6.531 kB / 0.6163 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.4762, allocations: 151.6 kB / 0.6164 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.4762, allocations: 5.594 kB / 0.6164 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007686/0.477, allocations: 69.47 kB / 0.6165 GB, free: 33.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/0.4771, allocations: 28.44 kB / 0.6165 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009808/0.4781, allocations: 348.5 kB / 0.6169 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007537/0.4789, allocations: 294.7 kB / 0.6172 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001413/0.4803, allocations: 0.4896 MB / 0.6176 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.018e-06/0.4803, allocations: 0.6562 kB / 0.6176 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001994/0.4823, allocations: 0.6253 MB / 0.6182 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4824, allocations: 5.812 kB / 0.6183 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4824, allocations: 3.031 kB / 0.6183 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4824, allocations: 6.125 kB / 0.6183 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.4835, allocations: 139.3 kB / 0.6184 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.4836, allocations: 8.75 kB / 0.6184 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008403/0.4844, allocations: 66.61 kB / 0.6185 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.4845, allocations: 28.28 kB / 0.6185 GB, free: 32.83 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.0003408/0.4849, allocations: 211 kB / 0.6187 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.4851, allocations: 98.12 kB / 0.6188 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.4855, allocations: 102.6 kB / 0.6189 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.4855, allocations: 5.75 kB / 0.6189 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.37e-05/0.4856, allocations: 2.688 kB / 0.6189 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.4856, allocations: 7.266 kB / 0.6189 GB, free: 32.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.489, allocations: 1.434 MB / 0.6203 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.489, allocations: 3.375 kB / 0.6203 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009991/0.49, allocations: 98.25 kB / 0.6204 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.49, allocations: 10.53 kB / 0.6204 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.481e-05/0.4901, allocations: 16.45 kB / 0.6204 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.4901, allocations: 2.844 kB / 0.6204 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4902, allocations: 0 / 0.6204 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/0.4928, allocations: 0.9598 MB / 0.6214 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/0.4932, allocations: 224.3 kB / 0.6216 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.4933, allocations: 14.22 kB / 0.6216 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007741/0.4941, allocations: 29.08 kB / 0.6216 GB, free: 31.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.4943, allocations: 35.33 kB / 0.6217 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-05/0.4944, allocations: 23.17 kB / 0.6217 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009683/0.4953, allocations: 0.5176 MB / 0.6222 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4954, allocations: 0 / 0.6222 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001225/0.4966, allocations: 280.8 kB / 0.6224 GB, free: 30.77 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.0001972/0.4968, allocations: 116.5 kB / 0.6226 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003202/0.5, allocations: 0.8187 MB / 0.6234 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.5001, allocations: 0 / 0.6234 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008605/0.5009, allocations: 276.6 kB / 0.6236 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.503, allocations: 268.2 kB / 0.6239 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.5073, allocations: 1.894 MB / 0.6257 GB, free: 29.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.5078, allocations: 0.9991 MB / 0.6267 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009291/0.5088, allocations: 122.3 kB / 0.6268 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.5091, allocations: 60.09 kB / 0.6269 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of SimCode: time 1.193e-06/0.5091, allocations: 0 / 0.6269 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.03111/0.5402, allocations: 9.184 MB / 0.6358 GB, free: 27.82 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)