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.001545/0.001545, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00189/0.00189, allocations: 193.9 kB / 16.14 MB, free: 6.664 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 472.6 MB / 0.7447 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 65.39 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2983, allocations: 159.9 MB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop): time 0.0546/0.3529, allocations: 58 MB / 1.124 GB, free: 0.7539 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01829/0.3713, allocations: 13.68 MB / 1.137 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.3738, allocations: 59.56 kB / 1.138 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.3764, allocations: 0.6875 MB / 1.138 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006414/0.3828, allocations: 2.25 MB / 1.14 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.387, allocations: 1.49 MB / 1.142 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006275/0.3933, allocations: 5.597 MB / 1.147 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002061/0.3954, allocations: 1.175 MB / 1.148 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003971/0.3994, allocations: 1.7 MB / 1.15 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.4017, allocations: 1.322 MB / 1.151 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003978/0.4021, allocations: 72 kB / 1.152 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.4047, allocations: 1.01 MB / 1.152 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006669/0.4054, allocations: 310.4 kB / 1.153 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002574/0.408, allocations: 0.8623 MB / 1.154 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004862/0.4129, allocations: 2.145 MB / 1.156 GB, free: 316 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4129, allocations: 0 / 1.156 GB, free: 316 kB / 0.9044 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4129, allocations: 4 kB / 1.156 GB, free: 312 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001191/0.4131, allocations: 0 / 1.156 GB, free: 312 kB / 0.9044 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.005149/0.4182, allocations: 2.119 MB / 1.158 GB, free: 14.12 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.4183, allocations: 8.031 kB / 1.158 GB, free: 14.12 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000561/0.4188, allocations: 205.6 kB / 1.158 GB, free: 13.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.421, allocations: 1.14 MB / 1.159 GB, free: 12.73 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.726e-05/0.421, allocations: 78 kB / 1.159 GB, free: 12.65 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.4212, allocations: 104 kB / 1.159 GB, free: 12.55 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.4225, allocations: 0.7296 MB / 1.16 GB, free: 11.81 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.4225, allocations: 3.984 kB / 1.16 GB, free: 11.81 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.4226, allocations: 32 kB / 1.16 GB, free: 11.78 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.4226, allocations: 23.94 kB / 1.16 GB, free: 11.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.4237, allocations: 0.5466 MB / 1.161 GB, free: 11.21 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.005036/0.4287, allocations: 4.03 MB / 1.165 GB, free: 6.77 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007896/0.4295, allocations: 453.9 kB / 1.165 GB, free: 6.312 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003846/0.4299, allocations: 226.7 kB / 1.165 GB, free: 6.09 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004047/0.4303, allocations: 0.503 MB / 1.166 GB, free: 5.477 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.4304, allocations: 39 kB / 1.166 GB, free: 5.43 MB / 0.92 GB Notification: Performance of pre-optimization done (n=51): time 1.793e-06/0.4304, allocations: 0 / 1.166 GB, free: 5.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=51): time 0.00449/0.4349, allocations: 1.673 MB / 1.167 GB, free: 3.617 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.4349, allocations: 59.84 kB / 1.167 GB, free: 3.547 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.4365, allocations: 1.348 MB / 1.169 GB, free: 2.195 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/0.4366, allocations: 41.7 kB / 1.169 GB, free: 2.148 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005411/0.4371, allocations: 0.6879 MB / 1.169 GB, free: 1.453 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.4372, allocations: 173.4 kB / 1.17 GB, free: 1.281 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.4375, allocations: 178.5 kB / 1.17 GB, free: 1.102 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4376, allocations: 326 kB / 1.17 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004345/0.4381, allocations: 215.9 kB / 1.17 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006792/0.4388, allocations: 458.8 kB / 1.171 GB, free: 16 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008782/0.4396, allocations: 459.1 kB / 1.171 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4397, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002859/0.4425, allocations: 1.054 MB / 1.172 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4426, allocations: 4 kB / 1.172 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4426, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.4445, allocations: 384.8 kB / 1.173 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/0.4451, allocations: 111.9 kB / 1.173 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.4476, allocations: 3.974 MB / 1.177 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.4488, allocations: 163.6 kB / 1.177 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.51e-05/0.4489, allocations: 35.98 kB / 1.177 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000725/0.4496, allocations: 386.6 kB / 1.177 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006829/0.4503, allocations: 477.1 kB / 1.178 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007931/0.4511, allocations: 446.8 kB / 1.178 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.4512, allocations: 4 kB / 1.178 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.001946/0.4531, allocations: 0.8636 MB / 1.179 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4531, allocations: 9.25 kB / 1.179 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.4531, allocations: 0 / 1.179 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006552/0.4538, allocations: 217 kB / 1.179 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/0.4542, allocations: 99.88 kB / 1.179 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007547/0.4618, allocations: 8.855 MB / 1.188 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.4632, allocations: 184 kB / 1.188 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/0.4633, allocations: 31.97 kB / 1.188 GB, free: 13.07 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.0002346/0.4636, allocations: 225 kB / 1.188 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.4638, allocations: 154 kB / 1.188 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.4656, allocations: 0.9372 MB / 1.189 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.4656, allocations: 7.938 kB / 1.189 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4656, allocations: 4 kB / 1.189 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.4656, allocations: 11.92 kB / 1.189 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.4687, allocations: 1.919 MB / 1.191 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4687, allocations: 4.188 kB / 1.191 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.469, allocations: 71.89 kB / 1.191 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005024/0.4695, allocations: 216.8 kB / 1.191 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.4695, allocations: 19.98 kB / 1.191 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.4717, allocations: 3.947 MB / 1.195 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4717, allocations: 4.312 kB / 1.195 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.4733, allocations: 0.9869 MB / 1.196 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.4737, allocations: 275 kB / 1.197 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.4739, allocations: 27.98 kB / 1.197 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.4746, allocations: 79.83 kB / 1.197 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/0.4747, allocations: 40.5 kB / 1.197 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/0.4747, allocations: 20 kB / 1.197 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001177/0.4759, allocations: 0.9091 MB / 1.198 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4759, allocations: 0 / 1.198 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002099/0.478, allocations: 0.7289 MB / 1.198 GB, free: 2.109 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.000845/0.4789, allocations: 402.7 kB / 1.199 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002976/0.4818, allocations: 1.603 MB / 1.2 GB, free: 44 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.4819, allocations: 0 / 1.2 GB, free: 44 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007642/0.4826, allocations: 311.3 kB / 1.201 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003515/0.4862, allocations: 0.6998 MB / 1.201 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.4903, allocations: 2.848 MB / 1.204 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008614/0.4911, allocations: 1.233 MB / 1.205 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001054/0.4922, allocations: 243 kB / 1.205 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.4924, allocations: 103.4 kB / 1.206 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of SimCode: time 9.62e-07/0.4924, allocations: 4 kB / 1.206 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of Templates: time 0.04932/0.5418, allocations: 29.11 MB / 1.234 GB, free: 13.84 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)