Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001172/0.001172, allocations: 100 kB / 15.05 MB, free: 1.105 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.001329/0.001329, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.568/1.568, allocations: 251.9 MB / 0.51 GB, free: 4.812 MB / 414.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.0005402/0.0005403, allocations: 15.28 kB / 0.6241 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5817/0.5822, allocations: 106.3 MB / 0.728 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7576/1.34, allocations: 250.9 MB / 0.973 GB, free: 44.54 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.06668/1.407, allocations: 42.56 MB / 1.015 GB, free: 32.71 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01349/1.42, allocations: 236.7 kB / 1.015 GB, free: 32.6 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01452/1.435, allocations: 2.978 MB / 1.018 GB, free: 30.45 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.04138/1.476, allocations: 8.979 MB / 1.026 GB, free: 24.95 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0195/1.496, allocations: 5.796 MB / 1.032 GB, free: 20.8 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02668/1.522, allocations: 10.73 MB / 1.043 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00963/1.532, allocations: 4.301 MB / 1.047 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01559/1.548, allocations: 5.383 MB / 1.052 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009229/1.557, allocations: 3.192 MB / 1.055 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002817/1.56, allocations: 228 kB / 1.055 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01548/1.575, allocations: 2.797 MB / 1.058 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003556/1.579, allocations: 1.015 MB / 1.059 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0052/1.584, allocations: 1.365 MB / 1.06 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01833/1.603, allocations: 7.244 MB / 1.068 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.603, allocations: 0 / 1.068 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.256e-06/1.603, allocations: 4 kB / 1.068 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0004783/1.603, allocations: 0 / 1.068 GB, free: 2.016 MB / 0.7325 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.01747/1.621, allocations: 6.222 MB / 1.074 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.621, allocations: 8.031 kB / 1.074 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003784/1.624, allocations: 0.7839 MB / 1.074 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/1.636, allocations: 4.628 MB / 1.079 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002854/1.637, allocations: 320.1 kB / 1.079 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009063/1.638, allocations: 435.9 kB / 1.08 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008222/1.646, allocations: 4.296 MB / 1.084 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.9e-05/1.646, allocations: 11.84 kB / 1.084 GB, free: 0.832 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003943/1.646, allocations: 179.9 kB / 1.084 GB, free: 0.6562 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001269/1.647, allocations: 122.8 kB / 1.084 GB, free: 0.5391 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005714/1.652, allocations: 2.937 MB / 1.087 GB, free: 13.6 MB / 0.7637 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.03465/1.687, allocations: 25.11 MB / 1.111 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/1.69, allocations: 2.753 MB / 1.114 GB, free: 15.49 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003209/1.693, allocations: 3.916 MB / 1.118 GB, free: 10.71 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.856e-05/1.694, allocations: 60.56 kB / 1.118 GB, free: 10.64 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 4.058e-06/1.694, allocations: 0 / 1.118 GB, free: 10.64 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.01094/1.705, allocations: 4.065 MB / 1.122 GB, free: 6.48 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/1.705, allocations: 73.41 kB / 1.122 GB, free: 6.398 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009167/1.714, allocations: 4.371 MB / 1.126 GB, free: 2.047 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006116/1.714, allocations: 77.7 kB / 1.126 GB, free: 1.965 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00282/1.717, allocations: 2.782 MB / 1.129 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.00131/1.719, allocations: 0.7547 MB / 1.13 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/1.719, allocations: 56 kB / 1.13 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002676/1.719, allocations: 419.8 kB / 1.13 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/1.721, allocations: 0.7865 MB / 1.131 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/1.723, allocations: 1.787 MB / 1.133 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/1.725, allocations: 1.081 MB / 1.134 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-05/1.726, allocations: 4 kB / 1.134 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008883/1.734, allocations: 3.493 MB / 1.137 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.005203/1.74, allocations: 10.3 MB / 1.147 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.175e-05/1.74, allocations: 20 kB / 1.147 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/1.742, allocations: 0.5691 MB / 1.148 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002388/1.745, allocations: 0.5538 MB / 1.149 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/1.748, allocations: 2.691 MB / 1.151 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006703/1.754, allocations: 0.6294 MB / 1.152 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000717/1.755, allocations: 140 kB / 1.152 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.755, allocations: 4 kB / 1.152 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006488/1.762, allocations: 2.81 MB / 1.155 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.568e-05/1.762, allocations: 20 kB / 1.155 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009919/1.763, allocations: 365.8 kB / 1.155 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/1.765, allocations: 0.5538 MB / 1.156 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009177/1.774, allocations: 7.794 MB / 1.163 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006077/1.78, allocations: 0.585 MB / 1.164 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006219/1.781, allocations: 136 kB / 1.164 GB, free: 9.559 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003207/1.784, allocations: 0.9967 MB / 1.165 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002043/1.786, allocations: 0.4978 MB / 1.165 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008559/1.794, allocations: 3.585 MB / 1.169 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.11e-05/1.795, allocations: 35.98 kB / 1.169 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/1.795, allocations: 4 kB / 1.169 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004305/1.799, allocations: 2.427 MB / 1.171 GB, free: 1.875 MB / 0.8419 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.02217/1.821, allocations: 8.244 MB / 1.179 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/1.821, allocations: 7.938 kB / 1.179 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/1.823, allocations: 371.6 kB / 1.18 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007964/1.824, allocations: 299 kB / 1.18 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002684/1.824, allocations: 63.97 kB / 1.18 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/1.826, allocations: 2.502 MB / 1.182 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.826, allocations: 0 / 1.182 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008575/1.834, allocations: 4.42 MB / 1.187 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004014/1.839, allocations: 1.009 MB / 1.188 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001727/1.84, allocations: 52.12 kB / 1.188 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004874/1.845, allocations: 429.7 kB / 1.188 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002907/1.845, allocations: 145.8 kB / 1.188 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003243/1.846, allocations: 107.9 kB / 1.188 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.006986/1.853, allocations: 2.897 MB / 1.191 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.4e-07/1.853, allocations: 0 / 1.191 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.01501/1.868, allocations: 3.32 MB / 1.194 GB, free: 9.523 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003814/1.872, allocations: 1.538 MB / 1.196 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.009591/1.881, allocations: 4.4 MB / 1.2 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.881, allocations: 0 / 1.2 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002533/1.884, allocations: 1.23 MB / 1.201 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0158/1.9, allocations: 2.635 MB / 1.204 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/1.921, allocations: 10.99 MB / 1.215 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003981/1.925, allocations: 2.978 MB / 1.218 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.005351/1.93, allocations: 1.154 MB / 1.219 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009889/1.931, allocations: 423.1 kB / 1.219 GB, free: 132 kB / 0.8887 GB Notification: Performance of SimCode: time 7.32e-07/1.931, allocations: 0 / 1.219 GB, free: 132 kB / 0.8887 GB Notification: Performance of Templates: time 0.6395/2.571, allocations: 103.5 MB / 1.32 GB, free: 341.3 MB / 0.9356 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) Environment - environmentSimulation: