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.0007771/0.0007774, allocations: 97.64 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.006329/0.006329, allocations: 170.1 kB / 16.27 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.13/1.13, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.8228/0.8228, allocations: 143.2 MB / 434.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.000307, allocations: 8 kB / 0.5164 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1187, allocations: 83.4 MB / 0.5978 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003324/0.122, allocations: 3.695 MB / 0.6014 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.1236, allocations: 1.266 MB / 0.6027 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.1238, allocations: 19.94 kB / 0.6027 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.124, allocations: 91.22 kB / 0.6028 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.1243, allocations: 150.8 kB / 0.6029 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.1249, allocations: 388.1 kB / 0.6033 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006323/0.1255, allocations: 0.8733 MB / 0.6042 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004759/0.126, allocations: 422.1 kB / 0.6046 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.1262, allocations: 226.8 kB / 0.6048 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.1265, allocations: 262.4 kB / 0.605 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.1265, allocations: 24 kB / 0.605 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.112e-05/0.1266, allocations: 24 kB / 0.6051 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.289e-05/0.1267, allocations: 99.48 kB / 0.6052 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.209/0.3356, allocations: 326.4 kB / 0.6055 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.3362, allocations: 1.016 MB / 0.6065 GB, free: 36.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3362, allocations: 0 / 0.6065 GB, free: 36.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3362, allocations: 3.188 kB / 0.6065 GB, free: 36.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.3362, allocations: 0 / 0.6065 GB, free: 36.23 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001185/0.3374, allocations: 0.9445 MB / 0.6074 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.3375, allocations: 8.125 kB / 0.6074 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.252e-05/0.3376, allocations: 83 kB / 0.6075 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.3381, allocations: 0.5584 MB / 0.608 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3381, allocations: 41.94 kB / 0.6081 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.3382, allocations: 66.11 kB / 0.6081 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007718/0.339, allocations: 0.6074 MB / 0.6087 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.339, allocations: 7.781 kB / 0.6087 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.3391, allocations: 23.75 kB / 0.6087 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.3391, allocations: 14.59 kB / 0.6088 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007451/0.3398, allocations: 467.5 kB / 0.6092 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/0.3417, allocations: 2.023 MB / 0.6112 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000691/0.3424, allocations: 460.6 kB / 0.6116 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.3428, allocations: 248.4 kB / 0.6119 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.3428, allocations: 7.531 kB / 0.6119 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004126/0.3432, allocations: 264.7 kB / 0.6121 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 1.633e-06/0.3432, allocations: 0 / 0.6121 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.00103/0.3443, allocations: 0.6039 MB / 0.6127 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.3443, allocations: 60.92 kB / 0.6128 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.3447, allocations: 443.1 kB / 0.6132 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3447, allocations: 35.05 kB / 0.6132 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3448, allocations: 327.3 kB / 0.6135 GB, free: 34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.3449, allocations: 162.2 kB / 0.6137 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.345, allocations: 53.66 kB / 0.6137 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.475e-05/0.345, allocations: 370.7 kB / 0.6141 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.3453, allocations: 165.8 kB / 0.6143 GB, free: 33.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.3456, allocations: 263.2 kB / 0.6145 GB, free: 33.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006611/0.3463, allocations: 458.2 kB / 0.6149 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3463, allocations: 2.938 kB / 0.6149 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007862/0.3471, allocations: 0.5717 MB / 0.6155 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3471, allocations: 35.36 kB / 0.6155 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3472, allocations: 3.75 kB / 0.6155 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3472, allocations: 6.406 kB / 0.6155 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.3476, allocations: 120.1 kB / 0.6157 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3476, allocations: 5.656 kB / 0.6157 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.3479, allocations: 73.42 kB / 0.6157 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.3479, allocations: 16.73 kB / 0.6158 GB, free: 33.2 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.3481, allocations: 209.8 kB / 0.616 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.3481, allocations: 60.69 kB / 0.616 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.3482, allocations: 69.39 kB / 0.6161 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3482, allocations: 3.031 kB / 0.6161 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3482, allocations: 2.844 kB / 0.6161 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3483, allocations: 3.422 kB / 0.6161 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.3495, allocations: 1.193 MB / 0.6172 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3495, allocations: 6.109 kB / 0.6173 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.3499, allocations: 95.14 kB / 0.6173 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3499, allocations: 0 / 0.6173 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.3499, allocations: 14.03 kB / 0.6174 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3499, allocations: 2.875 kB / 0.6174 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3499, allocations: 0 / 0.6174 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009914/0.3509, allocations: 0.7778 MB / 0.6181 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.351, allocations: 169.2 kB / 0.6183 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.3511, allocations: 13.66 kB / 0.6183 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.3513, allocations: 38.42 kB / 0.6183 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.3514, allocations: 28.31 kB / 0.6184 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.3514, allocations: 18.86 kB / 0.6184 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002306/0.3517, allocations: 309.9 kB / 0.6187 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.3517, allocations: 0 / 0.6187 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003235/0.352, allocations: 138.2 kB / 0.6188 GB, free: 32.28 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 (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.169e-05/0.3521, allocations: 116.9 kB / 0.6189 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006736/0.3528, allocations: 492.9 kB / 0.6194 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3528, allocations: 6.125 kB / 0.6194 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.3531, allocations: 224.7 kB / 0.6196 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006282/0.3537, allocations: 155.5 kB / 0.6198 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.3556, allocations: 1.69 MB / 0.6214 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.3559, allocations: 0.8886 MB / 0.6223 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00021/0.3561, allocations: 70.92 kB / 0.6223 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.972e-05/0.3562, allocations: 41.88 kB / 0.6224 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.3562, allocations: 0 / 0.6224 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.007401/0.3636, allocations: 5.542 MB / 0.6278 GB, free: 30.12 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)