Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.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.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007926/0.0007926, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004373/0.004373, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.119/1.119, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.8115/0.8115, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002398/0.0002398, allocations: 8.234 kB / 0.5164 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1172, allocations: 83.4 MB / 0.5978 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.002995/0.1202, allocations: 3.313 MB / 0.6011 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1218, allocations: 1.278 MB / 0.6023 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.1221, allocations: 23.88 kB / 0.6023 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.1223, allocations: 95.09 kB / 0.6024 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.1227, allocations: 145.1 kB / 0.6026 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008289/0.1235, allocations: 0.5333 MB / 0.6031 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006708/0.1242, allocations: 0.8862 MB / 0.604 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003817/0.1246, allocations: 333.6 kB / 0.6043 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.1248, allocations: 282.3 kB / 0.6045 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.1251, allocations: 278.1 kB / 0.6048 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.1251, allocations: 24 kB / 0.6048 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.068e-05/0.1252, allocations: 24 kB / 0.6049 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.371e-05/0.1253, allocations: 107.3 kB / 0.605 GB, free: 360 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.1255, allocations: 331.4 kB / 0.6053 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.2016/0.327, allocations: 0.8025 MB / 0.6061 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3271, allocations: 0 / 0.6061 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3271, allocations: 0 / 0.6061 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.3271, allocations: 0 / 0.6061 GB, free: 36.43 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001348/0.3284, allocations: 1.062 MB / 0.6071 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.3285, allocations: 10.19 kB / 0.6071 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.3286, allocations: 94.16 kB / 0.6072 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.3292, allocations: 0.5997 MB / 0.6078 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/0.3293, allocations: 100.6 kB / 0.6079 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.3294, allocations: 50.81 kB / 0.6079 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008098/0.3302, allocations: 0.619 MB / 0.6085 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3302, allocations: 0.9375 kB / 0.6085 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.3302, allocations: 20.12 kB / 0.6085 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3303, allocations: 16.06 kB / 0.6086 GB, free: 35.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007671/0.331, allocations: 446.2 kB / 0.609 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.3329, allocations: 2.133 MB / 0.6111 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009399/0.3338, allocations: 0.5097 MB / 0.6116 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.3342, allocations: 229.7 kB / 0.6118 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.3342, allocations: 8.156 kB / 0.6118 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005207/0.3347, allocations: 295.7 kB / 0.6121 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.3348, allocations: 4 kB / 0.6121 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001119/0.3359, allocations: 0.6367 MB / 0.6127 GB, free: 34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.3359, allocations: 83.77 kB / 0.6128 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.3364, allocations: 0.6143 MB / 0.6134 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.3364, allocations: 41.45 kB / 0.6134 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.3366, allocations: 357.8 kB / 0.6138 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.46e-05/0.3367, allocations: 157.5 kB / 0.6139 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.3367, allocations: 50.64 kB / 0.614 GB, free: 33.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.075e-05/0.3368, allocations: 326.2 kB / 0.6143 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/0.3372, allocations: 184.5 kB / 0.6144 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.3376, allocations: 288.4 kB / 0.6147 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007041/0.3383, allocations: 495.2 kB / 0.6152 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3383, allocations: 0 / 0.6152 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008986/0.3392, allocations: 0.6234 MB / 0.6158 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.3393, allocations: 190.2 kB / 0.616 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3393, allocations: 2.938 kB / 0.616 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3393, allocations: 2.969 kB / 0.616 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.3397, allocations: 116.6 kB / 0.6161 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3397, allocations: 7.625 kB / 0.6161 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.34, allocations: 72.39 kB / 0.6162 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.34, allocations: 17.44 kB / 0.6162 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.288e-06/0.34, allocations: 2.562 kB / 0.6162 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008173/0.3409, allocations: 0.5132 MB / 0.6167 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.3409, allocations: 3.125 kB / 0.6167 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.167e-06/0.3409, allocations: 5.438 kB / 0.6167 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.3412, allocations: 105 kB / 0.6168 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3413, allocations: 12.34 kB / 0.6168 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.3415, allocations: 54.8 kB / 0.6169 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.3416, allocations: 30.22 kB / 0.6169 GB, free: 32.51 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001668/0.3418, allocations: 264.1 kB / 0.6171 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.3418, allocations: 77.81 kB / 0.6172 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.3419, allocations: 83.91 kB / 0.6173 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.342, allocations: 3.031 kB / 0.6173 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.342, allocations: 0 / 0.6173 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.342, allocations: 6.078 kB / 0.6173 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.3424, allocations: 0.6166 MB / 0.6179 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3424, allocations: 4.5 kB / 0.6179 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.3428, allocations: 91.11 kB / 0.618 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3428, allocations: 3.281 kB / 0.618 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.3428, allocations: 10.8 kB / 0.618 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3428, allocations: 2.875 kB / 0.618 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3428, allocations: 3.281 kB / 0.618 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.344, allocations: 0.757 MB / 0.6188 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.3441, allocations: 195.5 kB / 0.619 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.3442, allocations: 8.625 kB / 0.619 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.3445, allocations: 46.91 kB / 0.619 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.3446, allocations: 31.55 kB / 0.619 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.3446, allocations: 15.88 kB / 0.619 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003202/0.345, allocations: 432.4 kB / 0.6195 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.345, allocations: 2.625 kB / 0.6195 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004391/0.3454, allocations: 214 kB / 0.6197 GB, free: 31.66 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.721e-05/0.3455, allocations: 121 kB / 0.6198 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.3467, allocations: 0.8158 MB / 0.6206 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3467, allocations: 0 / 0.6206 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.3471, allocations: 220.6 kB / 0.6208 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/0.3478, allocations: 190 kB / 0.621 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3492, allocations: 1.473 MB / 0.6224 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.3494, allocations: 0.9122 MB / 0.6233 GB, free: 29.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002846/0.3497, allocations: 95.67 kB / 0.6234 GB, free: 29.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.3498, allocations: 49.08 kB / 0.6234 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.3498, allocations: 2.656 kB / 0.6234 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.008806/0.3586, allocations: 7.157 MB / 0.6304 GB, free: 29.48 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)