Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008551/0.0008552, allocations: 86.41 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.000918/0.000918, 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.182/1.182, 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.8665/0.8665, allocations: 143.2 MB / 434.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002835/0.0002836, allocations: 8 kB / 0.5158 GB, free: 11.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1257, allocations: 83.42 MB / 0.5972 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003506/0.1293, allocations: 3.495 MB / 0.6007 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1312, allocations: 1.247 MB / 0.6019 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003685/0.1316, allocations: 27.88 kB / 0.6019 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.1319, allocations: 83.22 kB / 0.602 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.1322, allocations: 142.8 kB / 0.6021 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006666/0.1329, allocations: 281.3 kB / 0.6024 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007014/0.1336, allocations: 0.8384 MB / 0.6032 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.134, allocations: 299.5 kB / 0.6035 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.1342, allocations: 218.9 kB / 0.6037 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.1344, allocations: 246.5 kB / 0.6039 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.993e-05/0.1345, allocations: 24 kB / 0.604 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.345e-05/0.1345, allocations: 24 kB / 0.604 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.627e-05/0.1346, allocations: 95.53 kB / 0.6041 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1347, allocations: 157.3 kB / 0.6042 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005921/0.1353, allocations: 0.8533 MB / 0.6051 GB, free: 12 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1353, allocations: 0 / 0.6051 GB, free: 12 kB / 0.4981 GB Notification: Performance of FrontEnd: time 8.81e-07/0.1354, allocations: 4 kB / 0.6051 GB, free: 8 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.1354, allocations: 0 / 0.6051 GB, free: 8 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.2159/0.3513, allocations: 0.9547 MB / 0.606 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.3513, allocations: 10.34 kB / 0.606 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.184e-05/0.3514, allocations: 80.03 kB / 0.6061 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.352, allocations: 0.5407 MB / 0.6066 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.352, allocations: 47.84 kB / 0.6066 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.3521, allocations: 55.03 kB / 0.6067 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008198/0.3529, allocations: 0.6102 MB / 0.6073 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.353, allocations: 0.8438 kB / 0.6073 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.353, allocations: 23.72 kB / 0.6073 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.353, allocations: 14.31 kB / 0.6073 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007325/0.3537, allocations: 469.5 kB / 0.6078 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/0.3557, allocations: 2.021 MB / 0.6098 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/0.3563, allocations: 452.7 kB / 0.6102 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.3567, allocations: 246.3 kB / 0.6104 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.3567, allocations: 7.188 kB / 0.6104 GB, free: 39.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004183/0.3571, allocations: 255.5 kB / 0.6107 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 1.743e-06/0.3571, allocations: 3.281 kB / 0.6107 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.0009493/0.3581, allocations: 0.6042 MB / 0.6113 GB, free: 39.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.3581, allocations: 65.52 kB / 0.6113 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.3585, allocations: 442.7 kB / 0.6117 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.3585, allocations: 35.39 kB / 0.6118 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.3587, allocations: 318.3 kB / 0.6121 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.421e-05/0.3588, allocations: 167.8 kB / 0.6122 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.3588, allocations: 11.28 kB / 0.6123 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.3589, allocations: 363.4 kB / 0.6126 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.3592, allocations: 175.5 kB / 0.6128 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.3595, allocations: 248.7 kB / 0.613 GB, free: 38.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.3598, allocations: 227.2 kB / 0.6132 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3598, allocations: 0 / 0.6132 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000734/0.3606, allocations: 0.5695 MB / 0.6138 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3606, allocations: 33.92 kB / 0.6138 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3606, allocations: 10.48 kB / 0.6138 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3606, allocations: 5.844 kB / 0.6138 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.361, allocations: 112.1 kB / 0.6139 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3611, allocations: 5.656 kB / 0.6139 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.3613, allocations: 75.27 kB / 0.614 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.3614, allocations: 20.03 kB / 0.614 GB, free: 38.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0001914/0.3616, allocations: 207.2 kB / 0.6142 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.3616, allocations: 53.03 kB / 0.6143 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.3617, allocations: 65.73 kB / 0.6143 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3617, allocations: 6.188 kB / 0.6143 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3618, allocations: 0 / 0.6143 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3618, allocations: 7.188 kB / 0.6144 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.363, allocations: 1.188 MB / 0.6155 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.363, allocations: 4 kB / 0.6155 GB, free: 37.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.3634, allocations: 97.45 kB / 0.6156 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3634, allocations: 2.031 kB / 0.6156 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.3634, allocations: 11.03 kB / 0.6156 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3634, allocations: 6.141 kB / 0.6156 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3635, allocations: 4.453 kB / 0.6156 GB, free: 37.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009334/0.3644, allocations: 0.7684 MB / 0.6164 GB, free: 37.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.3645, allocations: 173.9 kB / 0.6166 GB, free: 37.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.3646, allocations: 11.52 kB / 0.6166 GB, free: 37.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.3648, allocations: 30.5 kB / 0.6166 GB, free: 37.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.3649, allocations: 46.97 kB / 0.6166 GB, free: 37.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.3649, allocations: 15.53 kB / 0.6167 GB, free: 37.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002101/0.3651, allocations: 305.1 kB / 0.6169 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3651, allocations: 0 / 0.6169 GB, free: 36.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003305/0.3655, allocations: 147.2 kB / 0.6171 GB, free: 36.88 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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 7.784e-05/0.3656, allocations: 112.2 kB / 0.6172 GB, free: 36.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006623/0.3662, allocations: 496.5 kB / 0.6177 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3662, allocations: 0 / 0.6177 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.3665, allocations: 217.2 kB / 0.6179 GB, free: 36.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.3671, allocations: 145.8 kB / 0.618 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.369, allocations: 1.624 MB / 0.6196 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.3692, allocations: 0.8859 MB / 0.6205 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000217/0.3694, allocations: 60.64 kB / 0.6205 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/0.3695, allocations: 40.72 kB / 0.6206 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.3695, allocations: 0 / 0.6206 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of Templates: time 0.007292/0.3768, allocations: 5.374 MB / 0.6258 GB, free: 34.41 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)