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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.001498/0.001498, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 195 kB / 16.53 MB, free: 6.699 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9816/0.9816, allocations: 143.3 MB / 433.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.83 kB / 0.5144 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2041, allocations: 82.03 MB / 0.5945 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.00532/0.2094, allocations: 3.706 MB / 0.5981 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002946/0.2124, allocations: 1.325 MB / 0.5994 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000388/0.2128, allocations: 27.81 kB / 0.5994 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.2132, allocations: 122.7 kB / 0.5996 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005246/0.2138, allocations: 186 kB / 0.5997 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.2149, allocations: 0.5656 MB / 0.6003 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009178/0.2158, allocations: 0.9605 MB / 0.6012 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005145/0.2164, allocations: 345.6 kB / 0.6016 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004039/0.2168, allocations: 362.4 kB / 0.6019 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.2171, allocations: 350.1 kB / 0.6022 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.2173, allocations: 76 kB / 0.6023 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.2174, allocations: 80 kB / 0.6024 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.2175, allocations: 183.3 kB / 0.6026 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.2178, allocations: 381.7 kB / 0.6029 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.3795/0.5973, allocations: 0.8813 MB / 0.6038 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5974, allocations: 0 / 0.6038 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.805e-06/0.5974, allocations: 1.5 kB / 0.6038 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.3e-05/0.5975, allocations: 0 / 0.6038 GB, free: 38.91 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.002369/0.5998, allocations: 1.178 MB / 0.6049 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5999, allocations: 9.969 kB / 0.6049 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.6001, allocations: 94.56 kB / 0.605 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008155/0.6009, allocations: 0.5985 MB / 0.6056 GB, free: 37.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.601, allocations: 97.09 kB / 0.6057 GB, free: 37.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.6011, allocations: 57.17 kB / 0.6058 GB, free: 37.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009473/0.602, allocations: 0.5988 MB / 0.6064 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.6021, allocations: 1.969 kB / 0.6064 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.6021, allocations: 26.72 kB / 0.6064 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.6022, allocations: 15.12 kB / 0.6064 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008621/0.603, allocations: 429.2 kB / 0.6068 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.6054, allocations: 2.11 MB / 0.6089 GB, free: 36.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.6065, allocations: 499.1 kB / 0.6093 GB, free: 36.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/0.607, allocations: 222.7 kB / 0.6096 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.607, allocations: 5.719 kB / 0.6096 GB, free: 36.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006487/0.6077, allocations: 279.5 kB / 0.6098 GB, free: 36.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 1.863e-06/0.6077, allocations: 0 / 0.6098 GB, free: 36.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001362/0.6091, allocations: 0.6131 MB / 0.6104 GB, free: 36.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.6091, allocations: 89.7 kB / 0.6105 GB, free: 36.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.6098, allocations: 0.6107 MB / 0.6111 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.6098, allocations: 36.3 kB / 0.6111 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.61, allocations: 355.3 kB / 0.6115 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.623e-05/0.6101, allocations: 162 kB / 0.6116 GB, free: 36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.6103, allocations: 94.53 kB / 0.6117 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.6103, allocations: 323.8 kB / 0.612 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/0.6107, allocations: 180.3 kB / 0.6122 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.6112, allocations: 281.4 kB / 0.6125 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007904/0.612, allocations: 479.2 kB / 0.6129 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.612, allocations: 3.5 kB / 0.6129 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001059/0.6131, allocations: 0.6019 MB / 0.6135 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.6131, allocations: 34.22 kB / 0.6136 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.6131, allocations: 2.875 kB / 0.6136 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.6131, allocations: 5.25 kB / 0.6136 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.6136, allocations: 115.3 kB / 0.6137 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.6136, allocations: 5.594 kB / 0.6137 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.614, allocations: 59.36 kB / 0.6137 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.6141, allocations: 21.19 kB / 0.6138 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005028/0.6146, allocations: 308 kB / 0.614 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004152/0.615, allocations: 269.7 kB / 0.6143 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007356/0.6157, allocations: 455.6 kB / 0.6147 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.6158, allocations: 0 / 0.6147 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001028/0.6168, allocations: 0.5785 MB / 0.6153 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.6168, allocations: 38.69 kB / 0.6153 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6168, allocations: 3.875 kB / 0.6153 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.972e-06/0.6169, allocations: 2.938 kB / 0.6153 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.6173, allocations: 103.7 kB / 0.6154 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.6173, allocations: 5.703 kB / 0.6155 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.6177, allocations: 60.66 kB / 0.6155 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.6177, allocations: 19.5 kB / 0.6155 GB, free: 34.38 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.0002172/0.6179, allocations: 210.3 kB / 0.6157 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.283e-05/0.618, allocations: 71.69 kB / 0.6158 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.6182, allocations: 82.02 kB / 0.6159 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.6182, allocations: 6.312 kB / 0.6159 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/0.6182, allocations: 2.125 kB / 0.6159 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.6182, allocations: 5.016 kB / 0.6159 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006615/0.6189, allocations: 0.6304 MB / 0.6165 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.6189, allocations: 0 / 0.6165 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.6193, allocations: 81.86 kB / 0.6166 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6194, allocations: 2.844 kB / 0.6166 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.6194, allocations: 10.81 kB / 0.6166 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.6194, allocations: 0 / 0.6166 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.6194, allocations: 6.469 kB / 0.6166 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.6208, allocations: 0.731 MB / 0.6173 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.621, allocations: 189.3 kB / 0.6175 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.6211, allocations: 10.41 kB / 0.6175 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003769/0.6215, allocations: 39.64 kB / 0.6175 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.6216, allocations: 28.14 kB / 0.6176 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.6216, allocations: 18.06 kB / 0.6176 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004927/0.6221, allocations: 433.7 kB / 0.618 GB, free: 33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6221, allocations: 0 / 0.618 GB, free: 33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006166/0.6228, allocations: 212.6 kB / 0.6182 GB, free: 32.94 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 0.0001947/0.623, allocations: 122.8 kB / 0.6183 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.6247, allocations: 0.8018 MB / 0.6191 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6247, allocations: 0 / 0.6191 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.6251, allocations: 214.6 kB / 0.6193 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009074/0.6261, allocations: 216.3 kB / 0.6195 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.628, allocations: 1.197 MB / 0.6207 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.6283, allocations: 0.9151 MB / 0.6216 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004081/0.6287, allocations: 91.94 kB / 0.6217 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.6289, allocations: 44.78 kB / 0.6217 GB, free: 31 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.6289, allocations: 4 kB / 0.6217 GB, free: 31 MB / 0.4981 GB Notification: Performance of Templates: time 0.01354/0.6424, allocations: 7.592 MB / 0.6291 GB, free: 30.57 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)