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.0007596/0.0007596, 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.005084/0.005084, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.378/1.378, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.563/1.563, allocations: 252 MB / 0.5105 GB, free: 4.688 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.0005089/0.000509, allocations: 23.98 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.504, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6815/1.186, allocations: 294 MB / 1.016 GB, free: 34.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05313/1.239, allocations: 49.15 MB / 1.064 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01109/1.25, allocations: 246.3 kB / 1.064 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.01037/1.26, allocations: 2.782 MB / 1.067 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02746/1.288, allocations: 8.368 MB / 1.075 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01629/1.304, allocations: 5.855 MB / 1.081 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.02937/1.333, allocations: 24.46 MB / 1.105 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01312/1.347, allocations: 4.671 MB / 1.109 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01688/1.363, allocations: 6.19 MB / 1.115 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009394/1.373, allocations: 4.883 MB / 1.12 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002192/1.375, allocations: 228 kB / 1.12 GB, free: 492 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01391/1.389, allocations: 3.913 MB / 1.124 GB, free: 12.56 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002577/1.392, allocations: 1.119 MB / 1.125 GB, free: 11.43 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.008039/1.4, allocations: 3.296 MB / 1.128 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02209/1.422, allocations: 9.854 MB / 1.138 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.422, allocations: 0 / 1.138 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/1.422, allocations: 0 / 1.138 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003769/1.422, allocations: 0 / 1.138 GB, free: 14.23 MB / 0.8106 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.01438/1.437, allocations: 6.171 MB / 1.144 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.437, allocations: 8.031 kB / 1.144 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/1.44, allocations: 0.7803 MB / 1.145 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/1.45, allocations: 5.138 MB / 1.15 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003562/1.451, allocations: 328.1 kB / 1.15 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/1.452, allocations: 435.9 kB / 1.15 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008802/1.461, allocations: 4.342 MB / 1.155 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.413e-05/1.461, allocations: 27.72 kB / 1.155 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/1.461, allocations: 172 kB / 1.155 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/1.461, allocations: 116 kB / 1.155 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005228/1.467, allocations: 2.968 MB / 1.158 GB, free: 9.254 MB / 0.8262 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.02754/1.494, allocations: 24.98 MB / 1.182 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/1.497, allocations: 2.777 MB / 1.185 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/1.499, allocations: 0.9954 MB / 1.186 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002851/1.501, allocations: 3.924 MB / 1.19 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/1.502, allocations: 56.56 kB / 1.19 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=217): time 4.137e-06/1.502, allocations: 0 / 1.19 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=217): time 0.0101/1.512, allocations: 4.123 MB / 1.194 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/1.512, allocations: 77.41 kB / 1.194 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006434/1.518, allocations: 4.195 MB / 1.198 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000462/1.519, allocations: 81.7 kB / 1.198 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00209/1.521, allocations: 2.778 MB / 1.201 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009341/1.522, allocations: 0.7663 MB / 1.202 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/1.522, allocations: 231.6 kB / 1.202 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/1.522, allocations: 301.1 kB / 1.202 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.523, allocations: 0.8138 MB / 1.203 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/1.525, allocations: 1.834 MB / 1.205 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/1.529, allocations: 2.521 MB / 1.207 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/1.529, allocations: 4 kB / 1.207 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007525/1.536, allocations: 3.571 MB / 1.211 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004732/1.537, allocations: 0.7452 MB / 1.211 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/1.537, allocations: 24 kB / 1.211 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002503/1.539, allocations: 0.5939 MB / 1.212 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/1.541, allocations: 0.5538 MB / 1.213 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/1.543, allocations: 2.699 MB / 1.215 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005099/1.548, allocations: 0.6062 MB / 1.216 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/1.549, allocations: 143.9 kB / 1.216 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/1.549, allocations: 4 kB / 1.216 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00474/1.553, allocations: 2.829 MB / 1.219 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/1.553, allocations: 23.94 kB / 1.219 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009277/1.554, allocations: 363.4 kB / 1.219 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.556, allocations: 0.5577 MB / 1.22 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008012/1.564, allocations: 7.716 MB / 1.227 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005216/1.569, allocations: 0.5739 MB / 1.228 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/1.569, allocations: 132 kB / 1.228 GB, free: 12.51 MB / 0.9044 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.002285/1.572, allocations: 0.9993 MB / 1.229 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.573, allocations: 0.5016 MB / 1.229 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005796/1.579, allocations: 3.577 MB / 1.233 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.154e-05/1.579, allocations: 39.97 kB / 1.233 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.579, allocations: 0 / 1.233 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003686/1.582, allocations: 2.454 MB / 1.235 GB, free: 4.805 MB / 0.9044 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.01324/1.596, allocations: 8.189 MB / 1.243 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/1.596, allocations: 0 / 1.243 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/1.597, allocations: 367.7 kB / 1.244 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006738/1.598, allocations: 299 kB / 1.244 GB, free: 11.67 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/1.598, allocations: 71.89 kB / 1.244 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/1.599, allocations: 2.498 MB / 1.246 GB, free: 9 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.599, allocations: 0 / 1.246 GB, free: 9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007078/1.606, allocations: 4.356 MB / 1.251 GB, free: 4.555 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002938/1.609, allocations: 0.9546 MB / 1.252 GB, free: 3.574 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005681/1.61, allocations: 44 kB / 1.252 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002994/1.613, allocations: 436.7 kB / 1.252 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/1.613, allocations: 145.8 kB / 1.252 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.614, allocations: 111.9 kB / 1.252 GB, free: 2.855 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.004315/1.618, allocations: 2.768 MB / 1.255 GB, free: 116 kB / 0.92 GB Notification: Performance of sort global known variables: time 2.3e-07/1.618, allocations: 8 kB / 1.255 GB, free: 108 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.5051/2.123, allocations: 3.256 MB / 1.258 GB, free: 358.9 MB / 0.92 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.005988/2.129, allocations: 1.492 MB / 1.26 GB, free: 358.7 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01731/2.146, allocations: 4.447 MB / 1.264 GB, free: 357.7 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/2.146, allocations: 1.75 kB / 1.264 GB, free: 357.7 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004684/2.151, allocations: 1.238 MB / 1.265 GB, free: 357.2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03036/2.182, allocations: 2.658 MB / 1.268 GB, free: 356.7 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02953/2.211, allocations: 11.53 MB / 1.279 GB, free: 350.3 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004827/2.216, allocations: 2.863 MB / 1.282 GB, free: 349.4 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0101/2.226, allocations: 1.148 MB / 1.283 GB, free: 349.1 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002206/2.228, allocations: 410.4 kB / 1.283 GB, free: 349.1 MB / 0.92 GB Notification: Performance of SimCode: time 1.933e-06/2.228, allocations: 4 kB / 1.283 GB, free: 349.1 MB / 0.92 GB Notification: Performance of Templates: time 0.2131/2.442, allocations: 103.3 MB / 1.384 GB, free: 256.2 MB / 0.92 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: