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.001046/0.001046, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.0009878/0.0009878, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.18 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.8265/0.8265, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.91 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3256, allocations: 82.03 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.003938/0.3295, allocations: 4.326 MB / 0.5999 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.3317, allocations: 1.589 MB / 0.6014 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.332, allocations: 35.81 kB / 0.6015 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.3323, allocations: 163.2 kB / 0.6016 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004576/0.3328, allocations: 225.3 kB / 0.6018 GB, free: 9.809 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009427/0.3337, allocations: 0.6785 MB / 0.6025 GB, free: 9.148 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007379/0.3345, allocations: 1.227 MB / 0.6037 GB, free: 7.918 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005346/0.335, allocations: 0.5108 MB / 0.6042 GB, free: 7.398 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003436/0.3354, allocations: 459.3 kB / 0.6046 GB, free: 6.949 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.3357, allocations: 457.5 kB / 0.6051 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.3358, allocations: 100 kB / 0.6052 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.384e-05/0.3359, allocations: 105.1 kB / 0.6053 GB, free: 6.301 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.336, allocations: 239 kB / 0.6055 GB, free: 6.066 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.3362, allocations: 489.1 kB / 0.606 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.3368, allocations: 1.197 MB / 0.6071 GB, free: 4.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3368, allocations: 1.938 kB / 0.6071 GB, free: 4.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3368, allocations: 0 / 0.6071 GB, free: 4.391 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.3369, 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.001801/0.3387, allocations: 1.398 MB / 0.6085 GB, free: 2.949 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.3387, allocations: 9.5 kB / 0.6085 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.3388, allocations: 119.5 kB / 0.6086 GB, free: 2.824 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.3399, allocations: 0.7603 MB / 0.6094 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.34, allocations: 81.77 kB / 0.6095 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/0.34, allocations: 72.38 kB / 0.6095 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009318/0.341, allocations: 0.7332 MB / 0.6102 GB, free: 1.105 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.341, allocations: 0 / 0.6102 GB, free: 1.105 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.3411, allocations: 36.7 kB / 0.6103 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3411, allocations: 16 kB / 0.6103 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/0.342, allocations: 0.5156 MB / 0.6108 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002882/0.3449, allocations: 2.249 MB / 0.613 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.3462, allocations: 0.62 MB / 0.6136 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/0.3467, allocations: 271.7 kB / 0.6139 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/0.3467, allocations: 13.36 kB / 0.6139 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005872/0.3473, allocations: 320.6 kB / 0.6142 GB, free: 13.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 1.953e-06/0.3473, allocations: 0.6875 kB / 0.6142 GB, free: 13.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=60): time 0.001485/0.3488, allocations: 0.7515 MB / 0.6149 GB, free: 12.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.3489, allocations: 89.66 kB / 0.615 GB, free: 12.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008025/0.3497, allocations: 0.7525 MB / 0.6157 GB, free: 11.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.3497, allocations: 33.7 kB / 0.6158 GB, free: 11.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.3501, allocations: 446 kB / 0.6162 GB, free: 10.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.3502, allocations: 216.9 kB / 0.6164 GB, free: 10.69 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.3504, allocations: 110.2 kB / 0.6165 GB, free: 10.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3505, allocations: 326.7 kB / 0.6168 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/0.3509, allocations: 212.8 kB / 0.617 GB, free: 10.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.3514, allocations: 299.7 kB / 0.6173 GB, free: 9.719 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000885/0.3523, allocations: 0.5103 MB / 0.6178 GB, free: 9.188 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3523, allocations: 0 / 0.6178 GB, free: 9.188 MB / 462.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00114/0.3535, allocations: 0.65 MB / 0.6184 GB, free: 8.531 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3535, allocations: 8.75 kB / 0.6184 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3535, allocations: 4 kB / 0.6184 GB, free: 8.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3535, allocations: 8.969 kB / 0.6185 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.3542, allocations: 149.3 kB / 0.6186 GB, free: 8.367 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.3542, allocations: 11.88 kB / 0.6186 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.3546, allocations: 78.84 kB / 0.6187 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.96e-05/0.3547, allocations: 20 kB / 0.6187 GB, free: 8.262 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005599/0.3552, allocations: 353.4 kB / 0.619 GB, free: 7.914 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004289/0.3557, allocations: 288.2 kB / 0.6193 GB, free: 7.605 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008082/0.3565, allocations: 497.6 kB / 0.6198 GB, free: 7.098 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.3565, allocations: 3.984 kB / 0.6198 GB, free: 7.094 MB / 462.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001376/0.3579, allocations: 0.6347 MB / 0.6204 GB, free: 6.449 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.3579, allocations: 4 kB / 0.6204 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3579, allocations: 4 kB / 0.6204 GB, free: 6.441 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.3579, allocations: 4 kB / 0.6204 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.3585, allocations: 147.8 kB / 0.6206 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3585, allocations: 4 kB / 0.6206 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.3589, allocations: 55.7 kB / 0.6206 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.359, allocations: 23.98 kB / 0.6206 GB, free: 6.211 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.0001583/0.3591, allocations: 216.7 kB / 0.6208 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3592, allocations: 94.78 kB / 0.6209 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.3594, allocations: 105.2 kB / 0.621 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3594, allocations: 4 kB / 0.621 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3594, allocations: 3.938 kB / 0.621 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.3595, allocations: 3.984 kB / 0.621 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.3614, allocations: 1.431 MB / 0.6224 GB, free: 4.289 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3615, allocations: 4 kB / 0.6225 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.362, allocations: 103.8 kB / 0.6225 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.362, allocations: 11.94 kB / 0.6226 GB, free: 4.172 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.3621, allocations: 15.98 kB / 0.6226 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3621, allocations: 0 / 0.6226 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3621, allocations: 0 / 0.6226 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.3636, allocations: 0.9711 MB / 0.6235 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/0.3639, allocations: 211.8 kB / 0.6237 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.758e-05/0.364, allocations: 23.92 kB / 0.6237 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.3644, allocations: 31.97 kB / 0.6238 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/0.3645, allocations: 32.52 kB / 0.6238 GB, free: 2.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.3645, allocations: 23.98 kB / 0.6238 GB, free: 2.836 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005827/0.3651, allocations: 0.5185 MB / 0.6243 GB, free: 2.324 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3651, allocations: 0 / 0.6243 GB, free: 2.324 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006659/0.3658, allocations: 271.1 kB / 0.6246 GB, free: 2.059 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.0001481/0.366, allocations: 119.1 kB / 0.6247 GB, free: 1.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.3675, allocations: 0.7923 MB / 0.6255 GB, free: 1.137 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3675, allocations: 0 / 0.6255 GB, free: 1.137 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004651/0.368, allocations: 271.2 kB / 0.6257 GB, free: 0.875 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.369, allocations: 279 kB / 0.626 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.3715, allocations: 1.535 MB / 0.6275 GB, free: 15.05 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.372, allocations: 0.9937 MB / 0.6285 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004219/0.3725, allocations: 122.7 kB / 0.6286 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.3727, allocations: 67.42 kB / 0.6287 GB, free: 13.84 MB / 478.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3727, allocations: 0 / 0.6287 GB, free: 13.84 MB / 478.1 MB Notification: Performance of Templates: time 0.01656/0.3892, allocations: 9.262 MB / 0.6377 GB, free: 4.688 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)