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.006842/0.006848, allocations: 101.5 kB / 15.88 MB, free: 6.328 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.001378/0.001378, allocations: 196.5 kB / 16.79 MB, free: 6.254 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.559 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.078/1.078, allocations: 143.1 MB / 433.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 63.91 kB / 0.5141 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1948, allocations: 82.04 MB / 0.5943 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.006345/0.2012, allocations: 4.321 MB / 0.5985 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003786/0.2051, allocations: 1.531 MB / 0.6 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.2062, allocations: 35.81 kB / 0.6 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006915/0.2069, allocations: 122.8 kB / 0.6001 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.2081, allocations: 180.5 kB / 0.6003 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.2099, allocations: 0.621 MB / 0.6009 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001721/0.2116, allocations: 1.144 MB / 0.602 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009448/0.2125, allocations: 484.2 kB / 0.6025 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007694/0.2133, allocations: 405.8 kB / 0.6029 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007337/0.2141, allocations: 425.4 kB / 0.6033 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.2143, allocations: 48 kB / 0.6033 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.2145, allocations: 52 kB / 0.6034 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.2147, allocations: 183 kB / 0.6035 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005105/0.2153, allocations: 437 kB / 0.604 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.3523/0.5676, allocations: 0.8704 MB / 0.6048 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.5677, allocations: 0 / 0.6048 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.825e-06/0.5677, allocations: 0 / 0.6048 GB, free: 38.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.034e-05/0.5678, allocations: 0 / 0.6048 GB, free: 38.73 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.002916/0.5707, allocations: 1.409 MB / 0.6062 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.5707, allocations: 10.38 kB / 0.6062 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.5709, allocations: 124.6 kB / 0.6063 GB, free: 37.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.572, allocations: 0.7204 MB / 0.607 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/0.5721, allocations: 85.72 kB / 0.6071 GB, free: 37.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.732e-05/0.5722, allocations: 67.66 kB / 0.6072 GB, free: 37.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.5734, allocations: 0.7352 MB / 0.6079 GB, free: 37.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.5734, allocations: 0 / 0.6079 GB, free: 37.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.805e-05/0.5735, allocations: 30.22 kB / 0.6079 GB, free: 37.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.5735, allocations: 16.5 kB / 0.6079 GB, free: 37.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009664/0.5745, allocations: 0.5194 MB / 0.6084 GB, free: 37.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.5776, allocations: 2.276 MB / 0.6107 GB, free: 36.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.5789, allocations: 0.6225 MB / 0.6113 GB, free: 36.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004608/0.5793, allocations: 272.6 kB / 0.6115 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.273e-05/0.5794, allocations: 15.38 kB / 0.6115 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006243/0.5801, allocations: 318.1 kB / 0.6118 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.835e-06/0.5801, allocations: 0 / 0.6118 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001457/0.5815, allocations: 0.7564 MB / 0.6126 GB, free: 36.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.5816, allocations: 85.98 kB / 0.6127 GB, free: 36.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007557/0.5823, allocations: 0.7544 MB / 0.6134 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.5824, allocations: 39.73 kB / 0.6134 GB, free: 36.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.5826, allocations: 442.5 kB / 0.6139 GB, free: 36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.5828, allocations: 203.2 kB / 0.6141 GB, free: 35.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.583, allocations: 114.2 kB / 0.6142 GB, free: 35.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.545e-05/0.583, allocations: 332.7 kB / 0.6145 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.5834, allocations: 207.9 kB / 0.6147 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.5839, allocations: 306.9 kB / 0.615 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008253/0.5847, allocations: 0.5088 MB / 0.6155 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5847, allocations: 0 / 0.6155 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00108/0.5858, allocations: 0.6469 MB / 0.6161 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5859, allocations: 5.938 kB / 0.6161 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5859, allocations: 6.719 kB / 0.6161 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.5859, allocations: 5.062 kB / 0.6161 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.5865, allocations: 147.4 kB / 0.6163 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.5865, allocations: 9.25 kB / 0.6163 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.587, allocations: 73.03 kB / 0.6163 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.587, allocations: 25.47 kB / 0.6164 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005512/0.5876, allocations: 354.1 kB / 0.6167 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003952/0.588, allocations: 292.9 kB / 0.617 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007323/0.5887, allocations: 499.3 kB / 0.6175 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.5887, allocations: 1.125 kB / 0.6175 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009591/0.5897, allocations: 0.6271 MB / 0.6181 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.5897, allocations: 9.516 kB / 0.6181 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5897, allocations: 6.469 kB / 0.6181 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/0.5897, allocations: 5.188 kB / 0.6181 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/0.5903, allocations: 137 kB / 0.6182 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.5903, allocations: 5.812 kB / 0.6182 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.5907, allocations: 57.58 kB / 0.6183 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.5907, allocations: 30.72 kB / 0.6183 GB, free: 33.68 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.0001729/0.5909, allocations: 215 kB / 0.6185 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.965e-05/0.591, allocations: 96.38 kB / 0.6186 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.5912, allocations: 99.27 kB / 0.6187 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.5912, allocations: 7.656 kB / 0.6187 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.5912, allocations: 3.375 kB / 0.6187 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5912, allocations: 6.938 kB / 0.6187 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.5931, allocations: 1.433 MB / 0.6201 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5931, allocations: 2.75 kB / 0.6201 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/0.5936, allocations: 104.2 kB / 0.6202 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.5936, allocations: 6.812 kB / 0.6202 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.5937, allocations: 15.44 kB / 0.6202 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5937, allocations: 2.875 kB / 0.6202 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5937, allocations: 4 kB / 0.6202 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.5951, allocations: 0.971 MB / 0.6212 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.5953, allocations: 222.2 kB / 0.6214 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.049e-05/0.5954, allocations: 14.95 kB / 0.6214 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.5958, allocations: 31.41 kB / 0.6214 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.5959, allocations: 33.77 kB / 0.6215 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.596, allocations: 19.14 kB / 0.6215 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005447/0.5965, allocations: 0.5169 MB / 0.622 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5965, allocations: 4 kB / 0.622 GB, free: 31.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000681/0.5972, allocations: 277.7 kB / 0.6223 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.0001309/0.5974, allocations: 117.4 kB / 0.6224 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.5988, allocations: 0.7962 MB / 0.6232 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5988, allocations: 0 / 0.6232 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.5992, allocations: 268.5 kB / 0.6234 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.00108/0.6003, allocations: 247.1 kB / 0.6237 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.6027, allocations: 1.93 MB / 0.6255 GB, free: 29.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.603, allocations: 0.9926 MB / 0.6265 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.6033, allocations: 64.44 kB / 0.6266 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.423e-06/0.6033, allocations: 0 / 0.6266 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.01609/0.6194, allocations: 10.92 MB / 0.6372 GB, free: 28.09 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)