Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 103 kB / 16.36 MB, free: 6.461 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.001203/0.001203, allocations: 193.7 kB / 17.3 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 75.73 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2128, allocations: 114.5 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.635/0.8478, allocations: 300.3 MB / 1.078 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.06782/0.9157, allocations: 49.55 MB / 1.126 GB, free: 11.78 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01343/0.9292, allocations: 282.3 kB / 1.127 GB, free: 11.5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01139/0.9406, allocations: 3.419 MB / 1.13 GB, free: 8.062 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.4787/1.419, allocations: 8.983 MB / 1.139 GB, free: 67.66 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01717/1.437, allocations: 6.659 MB / 1.145 GB, free: 67.66 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02785/1.465, allocations: 18.4 MB / 1.163 GB, free: 67.63 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01217/1.477, allocations: 5.822 MB / 1.169 GB, free: 66.94 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01905/1.496, allocations: 7.392 MB / 1.176 GB, free: 66.92 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/1.507, allocations: 5.099 MB / 1.181 GB, free: 66.1 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002881/1.51, allocations: 0.5684 MB / 1.182 GB, free: 66.1 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01453/1.524, allocations: 4.383 MB / 1.186 GB, free: 66.1 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003514/1.528, allocations: 1.504 MB / 1.187 GB, free: 65.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.009834/1.538, allocations: 3.734 MB / 1.191 GB, free: 64.81 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01868/1.556, allocations: 10.42 MB / 1.201 GB, free: 63.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.556, allocations: 4 kB / 1.201 GB, free: 63.49 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/1.556, allocations: 0 / 1.201 GB, free: 63.49 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003085/1.557, allocations: 2.5 kB / 1.201 GB, free: 63.49 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01662/1.573, allocations: 7.464 MB / 1.209 GB, free: 60.1 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.573, allocations: 9.281 kB / 1.209 GB, free: 60.1 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003075/1.576, allocations: 0.7794 MB / 1.209 GB, free: 59.73 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/1.587, allocations: 4.992 MB / 1.214 GB, free: 58.65 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/1.587, allocations: 321.7 kB / 1.215 GB, free: 58.64 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008396/1.588, allocations: 434 kB / 1.215 GB, free: 58.64 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009884/1.598, allocations: 4.378 MB / 1.219 GB, free: 57.83 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001153/1.598, allocations: 17.59 kB / 1.219 GB, free: 57.83 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004478/1.599, allocations: 174.4 kB / 1.219 GB, free: 57.83 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/1.599, allocations: 116.8 kB / 1.22 GB, free: 57.83 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005757/1.605, allocations: 2.968 MB / 1.222 GB, free: 57.79 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02784/1.633, allocations: 25.12 MB / 1.247 GB, free: 41.93 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/1.635, allocations: 2.769 MB / 1.25 GB, free: 40.74 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/1.637, allocations: 0.9984 MB / 1.251 GB, free: 40.72 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002045/1.639, allocations: 3.905 MB / 1.254 GB, free: 36.31 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.767e-05/1.639, allocations: 67.52 kB / 1.255 GB, free: 36.26 MB / 0.92 GB Notification: Performance of pre-optimization done (n=217): time 4.649e-06/1.639, allocations: 0 / 1.255 GB, free: 36.26 MB / 0.92 GB Notification: Performance of matching and sorting (n=217): time 0.01076/1.65, allocations: 4.077 MB / 1.259 GB, free: 35.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/1.65, allocations: 73 kB / 1.259 GB, free: 35.03 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006588/1.656, allocations: 4.267 MB / 1.263 GB, free: 33.99 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005916/1.657, allocations: 81.55 kB / 1.263 GB, free: 33.96 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001766/1.659, allocations: 2.759 MB / 1.266 GB, free: 32.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.66, allocations: 0.7636 MB / 1.266 GB, free: 32.27 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000765/1.661, allocations: 0.5809 MB / 1.267 GB, free: 32.15 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 3.94e-05/1.661, allocations: 302.8 kB / 1.267 GB, free: 31.86 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/1.662, allocations: 0.8204 MB / 1.268 GB, free: 31.73 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/1.664, allocations: 1.839 MB / 1.27 GB, free: 30.41 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003159/1.667, allocations: 2.506 MB / 1.272 GB, free: 29.43 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/1.667, allocations: 5.469 kB / 1.272 GB, free: 29.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007669/1.675, allocations: 3.56 MB / 1.276 GB, free: 27.82 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/1.675, allocations: 18.06 kB / 1.276 GB, free: 27.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/1.675, allocations: 20 kB / 1.276 GB, free: 27.79 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002561/1.677, allocations: 0.5875 MB / 1.276 GB, free: 27.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/1.679, allocations: 0.551 MB / 1.277 GB, free: 26.78 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/1.681, allocations: 2.694 MB / 1.279 GB, free: 24.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00402/1.685, allocations: 340.6 kB / 1.28 GB, free: 23.96 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003639/1.685, allocations: 136.7 kB / 1.28 GB, free: 23.86 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002798/1.688, allocations: 1.563 MB / 1.281 GB, free: 22.95 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001651/1.69, allocations: 1.807 MB / 1.283 GB, free: 20.9 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002744/1.692, allocations: 2.458 MB / 1.286 GB, free: 18.21 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.618e-06/1.692, allocations: 12 kB / 1.286 GB, free: 18.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.005943/1.698, allocations: 3.305 MB / 1.289 GB, free: 14.97 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.698, allocations: 23.94 kB / 1.289 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/1.698, allocations: 20 kB / 1.289 GB, free: 14.93 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008653/1.699, allocations: 370.8 kB / 1.289 GB, free: 14.56 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.701, allocations: 0.5534 MB / 1.29 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005922/1.707, allocations: 8.447 MB / 1.298 GB, free: 5.086 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/1.711, allocations: 315 kB / 1.298 GB, free: 4.777 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003798/1.711, allocations: 139.9 kB / 1.298 GB, free: 4.641 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006424/1.712, allocations: 373.7 kB / 1.299 GB, free: 4.309 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/1.713, allocations: 0.4978 MB / 1.299 GB, free: 3.805 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00538/1.719, allocations: 3.56 MB / 1.303 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/1.719, allocations: 35.98 kB / 1.303 GB, free: 260 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.719, allocations: 3.938 kB / 1.303 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00392/1.723, allocations: 2.448 MB / 1.305 GB, free: 13.79 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/1.738, allocations: 8.199 MB / 1.313 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/1.738, allocations: 0 / 1.313 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.739, allocations: 369.4 kB / 1.314 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007181/1.74, allocations: 300.1 kB / 1.314 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/1.74, allocations: 70.89 kB / 1.314 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/1.742, allocations: 2.491 MB / 1.316 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.742, allocations: 0 / 1.316 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007306/1.749, allocations: 4.35 MB / 1.321 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002298/1.751, allocations: 0.8806 MB / 1.321 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008001/1.752, allocations: 44 kB / 1.321 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/1.754, allocations: 121.9 kB / 1.322 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/1.755, allocations: 157.8 kB / 1.322 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002032/1.755, allocations: 103.9 kB / 1.322 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004245/1.759, allocations: 2.831 MB / 1.325 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/1.759, allocations: 0 / 1.325 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.01044/1.77, allocations: 3.238 MB / 1.328 GB, free: 6.367 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002919/1.773, allocations: 1.51 MB / 1.329 GB, free: 5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007381/1.78, allocations: 4.438 MB / 1.334 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.78, allocations: 1.062 kB / 1.334 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002068/1.782, allocations: 1.229 MB / 1.335 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01132/1.793, allocations: 2.678 MB / 1.337 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/1.807, allocations: 8.968 MB / 1.346 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/1.809, allocations: 2.865 MB / 1.349 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00422/1.814, allocations: 1.157 MB / 1.35 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008553/1.814, allocations: 410.6 kB / 1.35 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of SimCode: time 9.52e-07/1.814, allocations: 0 / 1.35 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of Templates: time 0.1582/1.973, allocations: 105.1 MB / 1.453 GB, free: 8.66 MB / 1.076 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)