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.001408/0.001408, allocations: 101.6 kB / 16.27 MB, free: 5.852 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.001389/0.001389, allocations: 188.7 kB / 17.19 MB, free: 5.5 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.276/1.276, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.8048/0.8048, allocations: 143 MB / 434.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 59.91 kB / 0.5148 GB, free: 15.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3186, allocations: 82.03 MB / 0.5949 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004335/0.323, allocations: 4.329 MB / 0.5991 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00267/0.3257, allocations: 1.573 MB / 0.6007 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006623/0.3264, allocations: 36.47 kB / 0.6007 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.3268, allocations: 167.2 kB / 0.6009 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007035/0.3275, allocations: 234.1 kB / 0.6011 GB, free: 9.871 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.3287, allocations: 0.669 MB / 0.6018 GB, free: 9.219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009928/0.3297, allocations: 1.223 MB / 0.6029 GB, free: 7.992 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006244/0.3304, allocations: 0.5034 MB / 0.6034 GB, free: 7.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004805/0.3309, allocations: 466.8 kB / 0.6039 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.3313, allocations: 457.4 kB / 0.6043 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.3314, allocations: 105.4 kB / 0.6044 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.3315, allocations: 104 kB / 0.6045 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.3317, allocations: 231.1 kB / 0.6047 GB, free: 6.145 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002912/0.332, allocations: 489 kB / 0.6052 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006612/0.3326, allocations: 1.151 MB / 0.6063 GB, free: 4.512 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3326, allocations: 0 / 0.6063 GB, free: 4.512 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3327, allocations: 1.125 kB / 0.6063 GB, free: 4.512 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.3327, allocations: 0 / 0.6063 GB, free: 4.512 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.001825/0.3345, allocations: 1.404 MB / 0.6077 GB, free: 3.066 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.3345, allocations: 12.03 kB / 0.6077 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.3347, allocations: 115.5 kB / 0.6078 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008635/0.3356, allocations: 0.7288 MB / 0.6085 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.666e-05/0.3356, allocations: 84.27 kB / 0.6086 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-05/0.3357, allocations: 64.38 kB / 0.6087 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009426/0.3367, allocations: 0.7416 MB / 0.6094 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3367, allocations: 0 / 0.6094 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.475e-05/0.3367, allocations: 28 kB / 0.6094 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.3368, allocations: 17.38 kB / 0.6094 GB, free: 1.203 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008865/0.3377, allocations: 0.5139 MB / 0.6099 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.3405, allocations: 2.279 MB / 0.6122 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.3419, allocations: 0.6188 MB / 0.6128 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.3424, allocations: 275.9 kB / 0.613 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.3424, allocations: 9.312 kB / 0.6131 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006124/0.3431, allocations: 321.6 kB / 0.6134 GB, free: 13.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=60): time 2.805e-06/0.3431, allocations: 3.938 kB / 0.6134 GB, free: 13.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=60): time 0.001545/0.3446, allocations: 0.7506 MB / 0.6141 GB, free: 12.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.3447, allocations: 90.11 kB / 0.6142 GB, free: 12.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000842/0.3455, allocations: 0.7526 MB / 0.6149 GB, free: 11.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.3456, allocations: 37.7 kB / 0.615 GB, free: 11.47 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.3459, allocations: 441.8 kB / 0.6154 GB, free: 11.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.3461, allocations: 216.9 kB / 0.6156 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.3463, allocations: 110.7 kB / 0.6157 GB, free: 10.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3464, allocations: 330.8 kB / 0.616 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/0.3468, allocations: 205 kB / 0.6162 GB, free: 10.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005035/0.3474, allocations: 303.4 kB / 0.6165 GB, free: 9.852 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009301/0.3483, allocations: 0.5066 MB / 0.617 GB, free: 9.324 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3483, allocations: 4 kB / 0.617 GB, free: 9.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001196/0.3495, allocations: 0.6521 MB / 0.6176 GB, free: 8.664 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3495, allocations: 11.98 kB / 0.6176 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3496, allocations: 0 / 0.6176 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3496, allocations: 8 kB / 0.6176 GB, free: 8.645 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006439/0.3502, allocations: 139.8 kB / 0.6178 GB, free: 8.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.3502, allocations: 7.938 kB / 0.6178 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.3507, allocations: 79.62 kB / 0.6179 GB, free: 8.422 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/0.3507, allocations: 20 kB / 0.6179 GB, free: 8.402 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005821/0.3513, allocations: 357.4 kB / 0.6182 GB, free: 8.051 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004416/0.3517, allocations: 292.4 kB / 0.6185 GB, free: 7.734 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008316/0.3526, allocations: 491.7 kB / 0.619 GB, free: 7.227 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.3526, allocations: 0 / 0.619 GB, free: 7.227 MB / 462.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001099/0.3537, allocations: 0.6305 MB / 0.6196 GB, free: 6.586 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.3537, allocations: 7.984 kB / 0.6196 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3537, allocations: 4 kB / 0.6196 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.953e-06/0.3538, allocations: 8.25 kB / 0.6196 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005979/0.3544, allocations: 143.8 kB / 0.6197 GB, free: 6.426 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3544, allocations: 7.938 kB / 0.6197 GB, free: 6.418 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.3548, allocations: 59.52 kB / 0.6198 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.3548, allocations: 19.98 kB / 0.6198 GB, free: 6.34 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.0001784/0.355, allocations: 223.4 kB / 0.62 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.3551, allocations: 94.78 kB / 0.6201 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.3553, allocations: 105.2 kB / 0.6202 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3553, allocations: 7.938 kB / 0.6202 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.3553, allocations: 3.938 kB / 0.6202 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3554, allocations: 7.984 kB / 0.6202 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.3574, allocations: 1.431 MB / 0.6216 GB, free: 4.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3574, allocations: 0 / 0.6216 GB, free: 4.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/0.358, allocations: 107.8 kB / 0.6217 GB, free: 4.305 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.358, allocations: 7.938 kB / 0.6218 GB, free: 4.297 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.3581, allocations: 15.98 kB / 0.6218 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.3581, allocations: 4 kB / 0.6218 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3581, allocations: 0 / 0.6218 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.3597, allocations: 0.9625 MB / 0.6227 GB, free: 3.297 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.3599, allocations: 223.8 kB / 0.6229 GB, free: 3.059 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/0.36, allocations: 15.94 kB / 0.6229 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.3605, allocations: 27.97 kB / 0.623 GB, free: 3.016 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.885e-05/0.3606, allocations: 40.52 kB / 0.623 GB, free: 2.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.3606, allocations: 20.08 kB / 0.623 GB, free: 2.957 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005929/0.3612, allocations: 0.5146 MB / 0.6235 GB, free: 2.449 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3612, allocations: 0 / 0.6235 GB, free: 2.449 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006761/0.3619, allocations: 271.1 kB / 0.6238 GB, free: 2.184 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.0001452/0.362, allocations: 123.2 kB / 0.6239 GB, free: 2.051 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.3638, allocations: 0.8191 MB / 0.6247 GB, free: 1.234 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3638, allocations: 0 / 0.6247 GB, free: 1.234 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004909/0.3643, allocations: 267.1 kB / 0.625 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.3654, allocations: 276.3 kB / 0.6252 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.3678, allocations: 1.588 MB / 0.6268 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.3683, allocations: 0.9937 MB / 0.6277 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.3685, allocations: 67.42 kB / 0.6278 GB, free: 14 MB / 478.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3686, allocations: 0 / 0.6278 GB, free: 14 MB / 478.1 MB Notification: Performance of Templates: time 0.01429/0.3829, allocations: 10.95 MB / 0.6385 GB, free: 3.133 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)