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.001034/0.001034, allocations: 103 kB / 16.36 MB, free: 6.336 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.001062/0.001062, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.8473/0.8473, allocations: 143.1 MB / 434.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 55.91 kB / 0.5156 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3388, allocations: 82.05 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.00448/0.3433, allocations: 4.322 MB / 0.5999 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.3456, allocations: 1.581 MB / 0.6014 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003506/0.346, allocations: 36.97 kB / 0.6015 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.3463, allocations: 166.2 kB / 0.6016 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.3468, allocations: 226.7 kB / 0.6019 GB, free: 9.805 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009961/0.3478, allocations: 0.6639 MB / 0.6025 GB, free: 9.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007565/0.3486, allocations: 1.239 MB / 0.6037 GB, free: 7.914 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005525/0.3491, allocations: 0.5061 MB / 0.6042 GB, free: 7.398 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000337/0.3495, allocations: 459.1 kB / 0.6046 GB, free: 6.949 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.3498, allocations: 458.4 kB / 0.6051 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3499, allocations: 100 kB / 0.6052 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.788e-05/0.35, allocations: 104 kB / 0.6053 GB, free: 6.301 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.3501, allocations: 240.5 kB / 0.6055 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.3504, allocations: 485.1 kB / 0.606 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006705/0.3511, allocations: 1.2 MB / 0.6071 GB, free: 4.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3511, allocations: 0 / 0.6071 GB, free: 4.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3511, allocations: 1.25 kB / 0.6071 GB, free: 4.391 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.3511, allocations: 0 / 0.6071 GB, free: 4.391 MB / 446.1 MB 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.001863/0.353, allocations: 1.396 MB / 0.6085 GB, free: 2.953 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.353, allocations: 12.03 kB / 0.6085 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.3532, allocations: 119.5 kB / 0.6086 GB, free: 2.824 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.3542, allocations: 0.7608 MB / 0.6094 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.3543, allocations: 85.67 kB / 0.6095 GB, free: 1.938 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.198e-05/0.3544, allocations: 68.38 kB / 0.6095 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009794/0.3554, allocations: 0.7328 MB / 0.6102 GB, free: 1.105 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.3554, allocations: 5.375 kB / 0.6102 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.3555, allocations: 31.94 kB / 0.6103 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.3555, allocations: 19.98 kB / 0.6103 GB, free: 1.051 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.3564, allocations: 0.515 MB / 0.6108 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00296/0.3593, allocations: 2.25 MB / 0.613 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.3607, allocations: 0.6221 MB / 0.6136 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005076/0.3612, allocations: 275.9 kB / 0.6139 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.3613, allocations: 5.094 kB / 0.6139 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006133/0.3619, allocations: 325.4 kB / 0.6142 GB, free: 13 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 2.375e-06/0.3619, allocations: 0 / 0.6142 GB, free: 13 MB / 462.1 MB Notification: Performance of matching and sorting (n=60): time 0.001563/0.3635, allocations: 0.755 MB / 0.6149 GB, free: 12.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.3635, allocations: 86.2 kB / 0.615 GB, free: 12.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007978/0.3643, allocations: 0.7487 MB / 0.6157 GB, free: 11.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.3644, allocations: 41.7 kB / 0.6158 GB, free: 11.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.3647, allocations: 437.2 kB / 0.6162 GB, free: 10.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.3649, allocations: 212.9 kB / 0.6164 GB, free: 10.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.3651, allocations: 111 kB / 0.6165 GB, free: 10.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3652, allocations: 331.7 kB / 0.6168 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.3656, allocations: 212 kB / 0.617 GB, free: 10.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.3661, allocations: 303.5 kB / 0.6173 GB, free: 9.715 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008993/0.367, allocations: 0.506 MB / 0.6178 GB, free: 9.188 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.367, allocations: 0.9688 kB / 0.6178 GB, free: 9.188 MB / 462.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001148/0.3682, allocations: 0.6496 MB / 0.6184 GB, free: 8.531 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3682, allocations: 10.64 kB / 0.6184 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.3682, allocations: 8 kB / 0.6184 GB, free: 8.516 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3682, allocations: 11.88 kB / 0.6185 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.3689, allocations: 139.8 kB / 0.6186 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.3689, allocations: 11.94 kB / 0.6186 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.3693, allocations: 73.5 kB / 0.6187 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.3694, allocations: 20 kB / 0.6187 GB, free: 8.266 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005644/0.3699, allocations: 357.4 kB / 0.619 GB, free: 7.914 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004493/0.3704, allocations: 288.8 kB / 0.6193 GB, free: 7.602 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008232/0.3712, allocations: 495.7 kB / 0.6198 GB, free: 7.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/0.3712, allocations: 4 kB / 0.6198 GB, free: 7.086 MB / 462.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001057/0.3723, allocations: 0.6346 MB / 0.6204 GB, free: 6.441 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3723, allocations: 11.98 kB / 0.6204 GB, free: 6.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.3723, allocations: 0 / 0.6204 GB, free: 6.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.651e-06/0.3723, allocations: 4 kB / 0.6204 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.3729, allocations: 143.8 kB / 0.6206 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.373, allocations: 4 kB / 0.6206 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.3733, allocations: 55.52 kB / 0.6206 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-05/0.3734, allocations: 24.08 kB / 0.6206 GB, free: 6.203 MB / 462.1 MB 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.000159/0.3735, allocations: 223.1 kB / 0.6209 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.3737, allocations: 94.78 kB / 0.6209 GB, free: 5.887 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.3739, allocations: 101.2 kB / 0.621 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.3739, allocations: 8 kB / 0.621 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3739, allocations: 3.938 kB / 0.621 GB, free: 5.773 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3739, allocations: 3.984 kB / 0.6211 GB, free: 5.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.3759, allocations: 1.431 MB / 0.6225 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3759, allocations: 0 / 0.6225 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.3765, allocations: 111.8 kB / 0.6226 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3765, allocations: 0 / 0.6226 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.3766, allocations: 19.98 kB / 0.6226 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3766, allocations: 4 kB / 0.6226 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3766, allocations: 0 / 0.6226 GB, free: 4.145 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.3782, allocations: 0.9672 MB / 0.6235 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.3785, allocations: 223.8 kB / 0.6237 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.3786, allocations: 12 kB / 0.6237 GB, free: 2.914 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.379, allocations: 31.97 kB / 0.6238 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.3791, allocations: 32.52 kB / 0.6238 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.3791, allocations: 19.98 kB / 0.6238 GB, free: 2.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006242/0.3798, allocations: 0.5185 MB / 0.6243 GB, free: 2.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3798, allocations: 3.938 kB / 0.6243 GB, free: 2.316 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006902/0.3805, allocations: 275.1 kB / 0.6246 GB, free: 2.047 MB / 462.1 MB 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.0001476/0.3806, allocations: 119.2 kB / 0.6247 GB, free: 1.918 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.3821, allocations: 0.7915 MB / 0.6255 GB, free: 1.125 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3822, allocations: 4.984 kB / 0.6255 GB, free: 1.121 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004978/0.3827, allocations: 271.1 kB / 0.6258 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3838, allocations: 262.9 kB / 0.626 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.3863, allocations: 1.542 MB / 0.6275 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.3868, allocations: 0.99 MB / 0.6285 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004571/0.3873, allocations: 122.7 kB / 0.6286 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.3874, allocations: 59.42 kB / 0.6286 GB, free: 13.84 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3874, allocations: 0 / 0.6286 GB, free: 13.84 MB / 478.1 MB Notification: Performance of Templates: time 0.01716/0.4046, allocations: 9.277 MB / 0.6377 GB, free: 4.676 MB / 478.1 MB 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)