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.0008309/0.000831, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008871/0.0008871, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 223.3 MB / 240 MB, free: 5.406 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 0.8495/0.8495, allocations: 143.2 MB / 434.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002601, allocations: 8 kB / 0.5158 GB, free: 11.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1276, allocations: 83.41 MB / 0.5972 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.003601/0.1313, allocations: 3.659 MB / 0.6008 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002091/0.1334, allocations: 1.489 MB / 0.6023 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000278/0.1337, allocations: 35.81 kB / 0.6023 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1339, allocations: 118.8 kB / 0.6024 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.1344, allocations: 174.8 kB / 0.6026 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009408/0.1353, allocations: 0.5143 MB / 0.6031 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008899/0.1362, allocations: 1.043 MB / 0.6041 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004267/0.1366, allocations: 351.4 kB / 0.6044 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.137, allocations: 342 kB / 0.6048 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.1373, allocations: 333.8 kB / 0.6051 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.2155/0.3528, allocations: 23.95 kB / 0.6051 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.353, allocations: 25.06 kB / 0.6051 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.3531, allocations: 133.6 kB / 0.6053 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.3532, allocations: 172.6 kB / 0.6054 GB, free: 35.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000531/0.3538, allocations: 0.8499 MB / 0.6062 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3538, allocations: 0 / 0.6062 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3538, allocations: 5.219 kB / 0.6063 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.3538, allocations: 0 / 0.6063 GB, free: 35.81 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.001548/0.3554, allocations: 1.25 MB / 0.6075 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.676e-05/0.3554, allocations: 9.891 kB / 0.6075 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3555, allocations: 120.6 kB / 0.6076 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007866/0.3563, allocations: 0.6909 MB / 0.6083 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.991e-05/0.3564, allocations: 84.67 kB / 0.6084 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.3565, allocations: 74.53 kB / 0.6084 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008982/0.3574, allocations: 0.7394 MB / 0.6091 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3574, allocations: 2.688 kB / 0.6092 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.84e-05/0.3574, allocations: 27.69 kB / 0.6092 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.3575, allocations: 22.59 kB / 0.6092 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008265/0.3583, allocations: 0.5256 MB / 0.6097 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.3605, allocations: 2.288 MB / 0.6119 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.3616, allocations: 0.6391 MB / 0.6126 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/0.362, allocations: 280.7 kB / 0.6128 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.362, allocations: 9.75 kB / 0.6128 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005351/0.3626, allocations: 325.1 kB / 0.6132 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 1.713e-06/0.3626, allocations: 0 / 0.6132 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001263/0.3638, allocations: 0.7704 MB / 0.6139 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.3639, allocations: 83.67 kB / 0.614 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.3645, allocations: 0.7491 MB / 0.6147 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.3645, allocations: 35.23 kB / 0.6148 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.3648, allocations: 438.7 kB / 0.6152 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.208e-05/0.3649, allocations: 211.8 kB / 0.6154 GB, free: 33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.3649, allocations: 9.625 kB / 0.6154 GB, free: 33 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.3649, allocations: 332.8 kB / 0.6157 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.3653, allocations: 205.5 kB / 0.6159 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.3657, allocations: 311.4 kB / 0.6162 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.366, allocations: 235 kB / 0.6164 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.366, allocations: 3 kB / 0.6164 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008932/0.3669, allocations: 0.659 MB / 0.6171 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.367, allocations: 159.6 kB / 0.6172 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.367, allocations: 6.781 kB / 0.6172 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.367, allocations: 6.219 kB / 0.6172 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/0.3675, allocations: 148.6 kB / 0.6174 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3676, allocations: 8.656 kB / 0.6174 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.3679, allocations: 70.11 kB / 0.6174 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.3679, allocations: 27.66 kB / 0.6175 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/0.3679, allocations: 4.594 kB / 0.6175 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007435/0.3687, allocations: 0.5253 MB / 0.618 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.3687, allocations: 3 kB / 0.618 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.548e-06/0.3687, allocations: 2.812 kB / 0.618 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.3692, allocations: 147.2 kB / 0.6181 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3692, allocations: 5.75 kB / 0.6181 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.3695, allocations: 65.19 kB / 0.6182 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.3695, allocations: 28.09 kB / 0.6182 GB, free: 32.23 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,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002027/0.3698, allocations: 292.2 kB / 0.6185 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.3698, allocations: 99.17 kB / 0.6186 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.37, allocations: 106.1 kB / 0.6187 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.37, allocations: 6.453 kB / 0.6187 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.37, allocations: 4.594 kB / 0.6187 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.37, allocations: 3.375 kB / 0.6187 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.3715, allocations: 1.453 MB / 0.6201 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3715, allocations: 0.5625 kB / 0.6201 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.372, allocations: 103.8 kB / 0.6202 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.372, allocations: 3.031 kB / 0.6202 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.372, allocations: 16.22 kB / 0.6203 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.372, allocations: 3.594 kB / 0.6203 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.372, allocations: 1.312 kB / 0.6203 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.3733, allocations: 0.9748 MB / 0.6212 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.3734, allocations: 227 kB / 0.6214 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/0.3735, allocations: 19.86 kB / 0.6214 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.3739, allocations: 38.12 kB / 0.6215 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.3739, allocations: 37.28 kB / 0.6215 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.374, allocations: 17.25 kB / 0.6215 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000417/0.3744, allocations: 0.514 MB / 0.622 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3744, allocations: 0 / 0.622 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005354/0.3749, allocations: 274.5 kB / 0.6223 GB, free: 31.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.794e-05/0.375, allocations: 120.1 kB / 0.6224 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.3762, allocations: 0.7977 MB / 0.6232 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3762, allocations: 0 / 0.6232 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.3766, allocations: 281.3 kB / 0.6235 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008801/0.3775, allocations: 244.1 kB / 0.6237 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.3793, allocations: 1.82 MB / 0.6255 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.3796, allocations: 0.9912 MB / 0.6264 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003895/0.38, allocations: 116.2 kB / 0.6266 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.3802, allocations: 61.81 kB / 0.6266 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.3802, allocations: 4 kB / 0.6266 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.01205/0.3922, allocations: 8.408 MB / 0.6348 GB, free: 28.64 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)