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.001629/0.001629, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.738/2.738, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 61.03 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2937, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop): time 0.05614/0.3499, allocations: 58.36 MB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01842/0.3684, allocations: 13.59 MB / 1.138 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003041/0.3715, allocations: 63.56 kB / 1.138 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002536/0.3741, allocations: 0.8575 MB / 1.139 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007554/0.3816, allocations: 2.471 MB / 1.142 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004443/0.3861, allocations: 1.617 MB / 1.143 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00644/0.3925, allocations: 4.265 MB / 1.147 GB, free: 9 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002382/0.395, allocations: 1.371 MB / 1.149 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004158/0.3991, allocations: 1.833 MB / 1.151 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002485/0.4016, allocations: 1.299 MB / 1.152 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005671/0.4022, allocations: 112 kB / 1.152 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.4057, allocations: 1.096 MB / 1.153 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006293/0.4064, allocations: 346.4 kB / 1.153 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001924/0.4083, allocations: 0.9053 MB / 1.154 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00377/0.4121, allocations: 2.196 MB / 1.156 GB, free: 15.79 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4121, allocations: 0 / 1.156 GB, free: 15.79 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.522e-06/0.4121, allocations: 0 / 1.156 GB, free: 15.79 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.325e-05/0.4121, allocations: 0 / 1.156 GB, free: 15.79 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.003549/0.4157, allocations: 2.127 MB / 1.158 GB, free: 13.61 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.4158, allocations: 8.031 kB / 1.158 GB, free: 13.6 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003805/0.4162, allocations: 205.6 kB / 1.159 GB, free: 13.4 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.418, allocations: 1.144 MB / 1.16 GB, free: 12.2 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.696e-05/0.4181, allocations: 78 kB / 1.16 GB, free: 12.13 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.4182, allocations: 100 kB / 1.16 GB, free: 12.03 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.4195, allocations: 0.7374 MB / 1.161 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.4195, allocations: 0 / 1.161 GB, free: 11.29 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/0.4196, allocations: 32 kB / 1.161 GB, free: 11.26 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.4196, allocations: 20 kB / 1.161 GB, free: 11.24 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.4206, allocations: 0.5427 MB / 1.161 GB, free: 10.69 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.005656/0.4263, allocations: 4.077 MB / 1.165 GB, free: 6.211 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007784/0.4271, allocations: 449.5 kB / 1.166 GB, free: 5.758 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.4275, allocations: 230.7 kB / 1.166 GB, free: 5.531 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000442/0.4279, allocations: 0.503 MB / 1.166 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.428, allocations: 35 kB / 1.166 GB, free: 4.875 MB / 0.92 GB Notification: Performance of pre-optimization done (n=51): time 4.168e-06/0.428, allocations: 0 / 1.166 GB, free: 4.875 MB / 0.92 GB Notification: Performance of matching and sorting (n=51): time 0.004659/0.4326, allocations: 1.665 MB / 1.168 GB, free: 3.07 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.4327, allocations: 63.84 kB / 1.168 GB, free: 2.996 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.4345, allocations: 1.348 MB / 1.169 GB, free: 1.645 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.4347, allocations: 45.7 kB / 1.169 GB, free: 1.594 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005582/0.4352, allocations: 0.6878 MB / 1.17 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.4354, allocations: 173.5 kB / 1.17 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.4356, allocations: 178.4 kB / 1.17 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4358, allocations: 334 kB / 1.171 GB, free: 220 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.4362, allocations: 203.9 kB / 1.171 GB, free: 12 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000716/0.4369, allocations: 462.8 kB / 1.171 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008594/0.4378, allocations: 463 kB / 1.172 GB, free: 15 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4378, allocations: 0 / 1.172 GB, free: 15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003019/0.4408, allocations: 1.062 MB / 1.173 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.4408, allocations: 11.94 kB / 1.173 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.4409, allocations: 0 / 1.173 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/0.4427, allocations: 352.7 kB / 1.173 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.4434, allocations: 123.8 kB / 1.173 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.4458, allocations: 3.982 MB / 1.177 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.4472, allocations: 115.4 kB / 1.177 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.516e-05/0.4474, allocations: 27.98 kB / 1.177 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009173/0.4483, allocations: 394.7 kB / 1.178 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006243/0.4489, allocations: 477.1 kB / 1.178 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007466/0.4497, allocations: 438.9 kB / 1.179 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.51e-06/0.4497, allocations: 4 kB / 1.179 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.001895/0.4516, allocations: 0.8634 MB / 1.18 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4516, allocations: 8 kB / 1.18 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4516, allocations: 4 kB / 1.18 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006286/0.4523, allocations: 217 kB / 1.18 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.4527, allocations: 99.88 kB / 1.18 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007759/0.4605, allocations: 9.879 MB / 1.189 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.4622, allocations: 132.1 kB / 1.19 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/0.4623, allocations: 28 kB / 1.19 GB, free: 11.56 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.0002779/0.4626, allocations: 228.3 kB / 1.19 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.4629, allocations: 150 kB / 1.19 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.4648, allocations: 0.9372 MB / 1.191 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.4648, allocations: 8 kB / 1.191 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4648, allocations: 0 / 1.191 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.4648, allocations: 7.984 kB / 1.191 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/0.4679, allocations: 1.923 MB / 1.193 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.468, allocations: 16.06 kB / 1.193 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.4683, allocations: 79.88 kB / 1.193 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/0.4688, allocations: 213 kB / 1.193 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.4688, allocations: 16 kB / 1.193 GB, free: 7.859 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/0.4713, allocations: 3.951 MB / 1.197 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4713, allocations: 7.969 kB / 1.197 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.4732, allocations: 0.9792 MB / 1.198 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/0.4737, allocations: 275 kB / 1.198 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.4738, allocations: 12 kB / 1.198 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.4744, allocations: 35.95 kB / 1.198 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.4745, allocations: 40.45 kB / 1.198 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.4745, allocations: 27.92 kB / 1.198 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001222/0.4757, allocations: 0.9013 MB / 1.199 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4757, allocations: 0 / 1.199 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002277/0.478, allocations: 0.7172 MB / 1.2 GB, free: 0.6719 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.001027/0.4791, allocations: 406.8 kB / 1.2 GB, free: 284 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003184/0.4823, allocations: 1.629 MB / 1.202 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.4823, allocations: 0 / 1.202 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007396/0.483, allocations: 319.4 kB / 1.202 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/0.4859, allocations: 0.6353 MB / 1.203 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/0.4894, allocations: 2.331 MB / 1.205 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008496/0.4903, allocations: 1.233 MB / 1.206 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001029/0.4913, allocations: 243.3 kB / 1.206 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.4915, allocations: 103.4 kB / 1.207 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of SimCode: time 1.362e-06/0.4915, allocations: 0 / 1.207 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of Templates: time 0.05245/0.544, allocations: 29.72 MB / 1.236 GB, free: 12.36 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)