Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop") translateModel(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009535/0.0009534, allocations: 98.03 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.008058/0.008059, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.747/2.747, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003781, allocations: 11.06 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3425, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop): time 0.05523/0.3977, allocations: 56.89 MB / 1.13 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01831/0.4161, allocations: 13.53 MB / 1.143 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.4186, allocations: 55.56 kB / 1.143 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.4207, allocations: 0.6836 MB / 1.144 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006659/0.4273, allocations: 2.249 MB / 1.146 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003838/0.4312, allocations: 1.496 MB / 1.147 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006742/0.438, allocations: 5.589 MB / 1.153 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.4399, allocations: 1.158 MB / 1.154 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003989/0.4439, allocations: 1.672 MB / 1.156 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.446, allocations: 1.291 MB / 1.157 GB, free: 2.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.4462, allocations: 60 kB / 1.157 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.4487, allocations: 0.9942 MB / 1.158 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.449, allocations: 302.3 kB / 1.158 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.4501, allocations: 0.8562 MB / 1.159 GB, free: 452 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.4528, allocations: 2.117 MB / 1.161 GB, free: 14.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4528, allocations: 0 / 1.161 GB, free: 14.32 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4528, allocations: 4 kB / 1.161 GB, free: 14.31 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.4529, allocations: 0 / 1.161 GB, free: 14.31 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002762/0.4556, allocations: 1.804 MB / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4557, allocations: 12.03 kB / 1.163 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.456, allocations: 205.6 kB / 1.163 GB, free: 12.24 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.4577, allocations: 1.14 MB / 1.164 GB, free: 11.05 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/0.4578, allocations: 82 kB / 1.164 GB, free: 10.97 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.4579, allocations: 100 kB / 1.164 GB, free: 10.87 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.4592, allocations: 0.7336 MB / 1.165 GB, free: 10.13 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.4593, allocations: 4 kB / 1.165 GB, free: 10.13 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/0.4593, allocations: 36 kB / 1.165 GB, free: 10.09 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.4594, allocations: 20 kB / 1.165 GB, free: 10.07 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.4604, allocations: 0.5504 MB / 1.166 GB, free: 9.52 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.005212/0.4656, allocations: 4.058 MB / 1.17 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007744/0.4664, allocations: 460.9 kB / 1.17 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004005/0.4668, allocations: 230 kB / 1.17 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004056/0.4673, allocations: 0.4991 MB / 1.171 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.4673, allocations: 43 kB / 1.171 GB, free: 3.707 MB / 0.92 GB Notification: Performance of pre-optimization done (n=51): time 2.314e-06/0.4673, allocations: 0 / 1.171 GB, free: 3.707 MB / 0.92 GB Notification: Performance of matching and sorting (n=51): time 0.004386/0.4717, allocations: 1.704 MB / 1.172 GB, free: 1.863 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.4717, allocations: 59.84 kB / 1.172 GB, free: 1.793 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.4734, allocations: 1.34 MB / 1.174 GB, free: 460 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.825e-05/0.4735, allocations: 45.7 kB / 1.174 GB, free: 408 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/0.4741, allocations: 0.688 MB / 1.174 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.4743, allocations: 181.2 kB / 1.175 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.4744, allocations: 69.67 kB / 1.175 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4745, allocations: 326 kB / 1.175 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.475, allocations: 205.2 kB / 1.175 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006866/0.4757, allocations: 470.8 kB / 1.176 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008932/0.4766, allocations: 475 kB / 1.176 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4766, allocations: 0 / 1.176 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002842/0.4794, allocations: 1.066 MB / 1.177 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.679e-05/0.4795, allocations: 121.4 kB / 1.177 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.4795, allocations: 3.938 kB / 1.177 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/0.4813, allocations: 376.7 kB / 1.178 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.4819, allocations: 115.9 kB / 1.178 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.4844, allocations: 3.978 MB / 1.182 GB, free: 8 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.4859, allocations: 175.4 kB / 1.182 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.486, allocations: 31.98 kB / 1.182 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.486, allocations: 4 kB / 1.182 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001522/0.4875, allocations: 0.6837 MB / 1.182 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4875, allocations: 0 / 1.182 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/0.4882, allocations: 208.9 kB / 1.183 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.4886, allocations: 103.9 kB / 1.183 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007077/0.4957, allocations: 9.087 MB / 1.192 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.4973, allocations: 163.3 kB / 1.192 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.4973, allocations: 20 kB / 1.192 GB, free: 12.63 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (60): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 6 systems {(1,3), (1,3), (1,3), (1,3), (1,5), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006607/0.498, allocations: 362.4 kB / 1.192 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.4983, allocations: 154 kB / 1.192 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.5002, allocations: 0.9296 MB / 1.193 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.5002, allocations: 8 kB / 1.193 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.5002, allocations: 0 / 1.193 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.5002, allocations: 3.984 kB / 1.193 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.5035, allocations: 1.95 MB / 1.195 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.5036, allocations: 0 / 1.195 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.5039, allocations: 75.83 kB / 1.195 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005689/0.5045, allocations: 221 kB / 1.195 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.5045, allocations: 12 kB / 1.195 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00295/0.5075, allocations: 3.971 MB / 1.199 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.5075, allocations: 4.031 kB / 1.199 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.5095, allocations: 0.9832 MB / 1.2 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006976/0.5102, allocations: 306.8 kB / 1.201 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.5103, allocations: 12 kB / 1.201 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007392/0.5111, allocations: 95.81 kB / 1.201 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.5112, allocations: 44.44 kB / 1.201 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.5112, allocations: 20 kB / 1.201 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001386/0.5126, allocations: 0.9013 MB / 1.202 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5126, allocations: 7.938 kB / 1.202 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002288/0.5149, allocations: 0.7173 MB / 1.202 GB, free: 1.484 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (41): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 6 systems {(1,3), (1,5), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008721/0.5158, allocations: 393.2 kB / 1.203 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002893/0.5187, allocations: 1.597 MB / 1.204 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5187, allocations: 0 / 1.204 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000733/0.5195, allocations: 327.3 kB / 1.205 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/0.5234, allocations: 0.6991 MB / 1.205 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.5271, allocations: 2.856 MB / 1.208 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007943/0.5279, allocations: 1.233 MB / 1.209 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009484/0.5288, allocations: 247.3 kB / 1.209 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.5291, allocations: 103.4 kB / 1.21 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.5291, allocations: 4 kB / 1.21 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of Templates: time 0.051/0.5801, allocations: 28.93 MB / 1.238 GB, free: 13.38 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.sim & ./Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe 2>&1)