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.0008127/0.0008127, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008743/0.0008743, allocations: 168.7 kB / 15.95 MB, free: 204 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.161/1.161, allocations: 223.3 MB / 240 MB, free: 5.41 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.8571/0.8571, allocations: 143.2 MB / 434.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.0002709, allocations: 12 kB / 0.5158 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1263, allocations: 83.41 MB / 0.5972 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.003279/0.1297, allocations: 3.125 MB / 0.6003 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1318, allocations: 1.255 MB / 0.6015 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004785/0.1323, allocations: 27.88 kB / 0.6015 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.1326, allocations: 91.09 kB / 0.6016 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.133, allocations: 127.1 kB / 0.6017 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009272/0.1339, allocations: 478.8 kB / 0.6022 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007188/0.1346, allocations: 0.8161 MB / 0.603 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.135, allocations: 251.1 kB / 0.6032 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.1353, allocations: 274.5 kB / 0.6035 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.1355, allocations: 262.3 kB / 0.6038 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.884e-05/0.1356, allocations: 20 kB / 0.6038 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.093e-05/0.1357, allocations: 20 kB / 0.6038 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.257e-05/0.1357, allocations: 111.4 kB / 0.6039 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1359, allocations: 141.2 kB / 0.604 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.1363, allocations: 0.6392 MB / 0.6047 GB, free: 464 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1364, allocations: 0 / 0.6047 GB, free: 464 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1364, allocations: 0 / 0.6047 GB, free: 464 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.1364, allocations: 4 kB / 0.6047 GB, free: 460 kB / 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.2191/0.3555, allocations: 1.06 MB / 0.6057 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.3555, allocations: 10.69 kB / 0.6057 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.3557, allocations: 93.97 kB / 0.6058 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.3564, allocations: 0.5704 MB / 0.6064 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.67e-05/0.3565, allocations: 99.5 kB / 0.6064 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.3566, allocations: 54.03 kB / 0.6065 GB, free: 40.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.3574, allocations: 0.6128 MB / 0.6071 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3574, allocations: 0 / 0.6071 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.253e-05/0.3574, allocations: 21.88 kB / 0.6071 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.3574, allocations: 13.22 kB / 0.6071 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000719/0.3582, allocations: 440.7 kB / 0.6076 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.36, allocations: 2.137 MB / 0.6096 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009201/0.3609, allocations: 0.5145 MB / 0.6101 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.3613, allocations: 227.4 kB / 0.6104 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.3613, allocations: 5.719 kB / 0.6104 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004988/0.3618, allocations: 288 kB / 0.6106 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/0.3618, allocations: 4 kB / 0.6106 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001059/0.3629, allocations: 0.6374 MB / 0.6113 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.3629, allocations: 90.39 kB / 0.6113 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.3634, allocations: 0.605 MB / 0.6119 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.3634, allocations: 39.39 kB / 0.612 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.3636, allocations: 357.2 kB / 0.6123 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.168e-05/0.3637, allocations: 152 kB / 0.6125 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.3637, allocations: 11.03 kB / 0.6125 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.661e-05/0.3638, allocations: 327.3 kB / 0.6128 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.3641, allocations: 182.4 kB / 0.613 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.3645, allocations: 288.6 kB / 0.6132 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.3649, allocations: 233.6 kB / 0.6135 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3649, allocations: 3.953 kB / 0.6135 GB, free: 38.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008469/0.3658, allocations: 0.6179 MB / 0.6141 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.3658, allocations: 183.3 kB / 0.6142 GB, free: 37.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3659, allocations: 6.344 kB / 0.6142 GB, free: 37.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3659, allocations: 6 kB / 0.6143 GB, free: 37.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.3663, allocations: 118.4 kB / 0.6144 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.3663, allocations: 5.844 kB / 0.6144 GB, free: 37.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.3666, allocations: 67.66 kB / 0.6144 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.3666, allocations: 24.67 kB / 0.6145 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-06/0.3666, allocations: 3.344 kB / 0.6145 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007294/0.3673, allocations: 0.5037 MB / 0.615 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3674, allocations: 6.828 kB / 0.615 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.3674, allocations: 5.719 kB / 0.615 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.3677, allocations: 105.5 kB / 0.6151 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.3677, allocations: 9.219 kB / 0.6151 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.368, allocations: 61.14 kB / 0.6151 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.368, allocations: 22.56 kB / 0.6152 GB, free: 37.7 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.3682, allocations: 264.3 kB / 0.6154 GB, free: 37.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/0.3683, allocations: 75.81 kB / 0.6155 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.3685, allocations: 85.42 kB / 0.6156 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3685, allocations: 5.938 kB / 0.6156 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.3685, allocations: 0.75 kB / 0.6156 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3685, allocations: 3.328 kB / 0.6156 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.369, allocations: 0.6217 MB / 0.6162 GB, free: 37.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.369, allocations: 11.77 kB / 0.6162 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.3694, allocations: 83.27 kB / 0.6163 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3694, allocations: 2.969 kB / 0.6163 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.3695, allocations: 11.34 kB / 0.6163 GB, free: 37.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3695, allocations: 3.953 kB / 0.6163 GB, free: 37.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3695, allocations: 2.75 kB / 0.6163 GB, free: 37.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.3705, allocations: 0.7486 MB / 0.617 GB, free: 36.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.3707, allocations: 190.9 kB / 0.6172 GB, free: 36.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.3708, allocations: 11.97 kB / 0.6172 GB, free: 36.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.3711, allocations: 43.19 kB / 0.6173 GB, free: 36.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.3712, allocations: 37.72 kB / 0.6173 GB, free: 36.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.3712, allocations: 15.23 kB / 0.6173 GB, free: 36.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003214/0.3715, allocations: 428.9 kB / 0.6177 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3715, allocations: 0 / 0.6177 GB, free: 36.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000458/0.372, allocations: 215.2 kB / 0.6179 GB, free: 36.4 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 (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 8.669e-05/0.3721, allocations: 117.5 kB / 0.618 GB, free: 36.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.3732, allocations: 0.8079 MB / 0.6188 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3732, allocations: 0 / 0.6188 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.3736, allocations: 225.9 kB / 0.619 GB, free: 35.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.3742, allocations: 186.8 kB / 0.6192 GB, free: 35.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.3756, allocations: 1.388 MB / 0.6206 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.3758, allocations: 0.9158 MB / 0.6215 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003082/0.3762, allocations: 92.84 kB / 0.6216 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.3763, allocations: 48.8 kB / 0.6216 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.3763, allocations: 0 / 0.6216 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.008804/0.3851, allocations: 6.897 MB / 0.6283 GB, free: 33.83 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)