Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop") translateModel(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008444/0.0008445, allocations: 98.19 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.005313/0.005313, allocations: 171.4 kB / 16.27 MB, free: 6.328 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.313/1.313, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.704/2.704, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003554, allocations: 9.125 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2893, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop): time 0.05133/0.3406, allocations: 56.91 MB / 1.13 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01758/0.3582, allocations: 13.52 MB / 1.143 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/0.3605, allocations: 55.56 kB / 1.143 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.3625, allocations: 0.6953 MB / 1.144 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006551/0.3691, allocations: 2.235 MB / 1.146 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.373, allocations: 1.502 MB / 1.147 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007093/0.3801, allocations: 5.594 MB / 1.153 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/0.3824, allocations: 1.158 MB / 1.154 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003929/0.3863, allocations: 1.668 MB / 1.155 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.3887, allocations: 1.291 MB / 1.157 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002736/0.389, allocations: 60 kB / 1.157 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.3914, allocations: 1.01 MB / 1.158 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003207/0.3917, allocations: 290.4 kB / 1.158 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009982/0.3927, allocations: 0.8601 MB / 1.159 GB, free: 452 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.3952, allocations: 2.121 MB / 1.161 GB, free: 14.31 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3952, allocations: 0 / 1.161 GB, free: 14.31 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3952, allocations: 0 / 1.161 GB, free: 14.31 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.447e-05/0.3953, 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.002828/0.3981, allocations: 1.804 MB / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3982, allocations: 8.031 kB / 1.163 GB, free: 12.45 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/0.3984, allocations: 205.6 kB / 1.163 GB, free: 12.24 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.4001, allocations: 1.132 MB / 1.164 GB, free: 11.06 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/0.4002, allocations: 78 kB / 1.164 GB, free: 10.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.4004, allocations: 108 kB / 1.164 GB, free: 10.88 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.4017, allocations: 0.7297 MB / 1.165 GB, free: 10.14 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.4017, allocations: 7.984 kB / 1.165 GB, free: 10.14 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.454e-05/0.4018, allocations: 35.94 kB / 1.165 GB, free: 10.1 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.4018, allocations: 20 kB / 1.165 GB, free: 10.08 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.4028, allocations: 0.5544 MB / 1.166 GB, free: 9.523 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.005139/0.408, allocations: 4.054 MB / 1.17 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007868/0.4088, allocations: 452.9 kB / 1.17 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/0.4092, allocations: 230 kB / 1.17 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000374/0.4096, allocations: 0.503 MB / 1.171 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.4096, allocations: 42.98 kB / 1.171 GB, free: 3.719 MB / 0.92 GB Notification: Performance of pre-optimization done (n=51): time 2.144e-06/0.4096, allocations: 0 / 1.171 GB, free: 3.719 MB / 0.92 GB Notification: Performance of matching and sorting (n=51): time 0.004363/0.414, allocations: 1.704 MB / 1.172 GB, free: 1.875 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.414, allocations: 63.84 kB / 1.172 GB, free: 1.801 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.4156, allocations: 1.344 MB / 1.174 GB, free: 464 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.4157, allocations: 45.7 kB / 1.174 GB, free: 412 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005508/0.4163, allocations: 0.6917 MB / 1.174 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.4165, allocations: 177.3 kB / 1.175 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.4166, allocations: 65.69 kB / 1.175 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4167, allocations: 330 kB / 1.175 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.4171, allocations: 209.1 kB / 1.175 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006448/0.4178, allocations: 462.8 kB / 1.176 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008501/0.4186, allocations: 475 kB / 1.176 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4186, allocations: 0 / 1.176 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002897/0.4215, allocations: 1.066 MB / 1.177 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.765e-05/0.4217, allocations: 125.3 kB / 1.177 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4217, allocations: 0 / 1.177 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/0.4235, allocations: 368.6 kB / 1.178 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/0.4242, allocations: 119.9 kB / 1.178 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.4265, allocations: 3.982 MB / 1.182 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.428, allocations: 179.3 kB / 1.182 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.718e-05/0.4281, allocations: 27.98 kB / 1.182 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/0.4281, allocations: 4 kB / 1.182 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001606/0.4298, allocations: 0.6803 MB / 1.182 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4298, allocations: 4.047 kB / 1.182 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000641/0.4304, allocations: 216.9 kB / 1.183 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.4309, allocations: 99.89 kB / 1.183 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007093/0.438, allocations: 9.067 MB / 1.192 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.4396, allocations: 175.3 kB / 1.192 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.4397, allocations: 24 kB / 1.192 GB, free: 12.64 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.0006753/0.4404, allocations: 350.4 kB / 1.192 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/0.4407, allocations: 158 kB / 1.192 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.4427, allocations: 0.945 MB / 1.193 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.4427, allocations: 7.984 kB / 1.193 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4428, allocations: 4 kB / 1.193 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4428, allocations: 0 / 1.193 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/0.4461, allocations: 1.946 MB / 1.195 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.4462, allocations: 4 kB / 1.195 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.4464, allocations: 71.91 kB / 1.195 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005224/0.447, allocations: 212.8 kB / 1.195 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.447, allocations: 24.05 kB / 1.195 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.4492, allocations: 3.967 MB / 1.199 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4493, allocations: 0 / 1.199 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.4509, allocations: 0.9869 MB / 1.2 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/0.4515, allocations: 298.9 kB / 1.201 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.4517, allocations: 19.98 kB / 1.201 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008162/0.4525, allocations: 87.77 kB / 1.201 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.056e-05/0.4526, allocations: 48.44 kB / 1.201 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.4527, allocations: 20 kB / 1.201 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001271/0.4539, allocations: 0.9013 MB / 1.202 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.734e-06/0.454, allocations: 0 / 1.202 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002209/0.4562, allocations: 0.7172 MB / 1.202 GB, free: 1.5 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.0008942/0.4571, allocations: 405.9 kB / 1.203 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00299/0.4601, allocations: 1.594 MB / 1.204 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4601, allocations: 0 / 1.204 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007883/0.4609, allocations: 335.2 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.004432/0.4653, allocations: 0.699 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.004292/0.4696, 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.0009874/0.4707, allocations: 1.237 MB / 1.209 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001099/0.4718, allocations: 243.3 kB / 1.209 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.472, allocations: 103.4 kB / 1.21 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of SimCode: time 2.715e-06/0.472, allocations: 0 / 1.21 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of Templates: time 0.05403/0.5261, allocations: 28.93 MB / 1.238 GB, free: 13.38 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.makefile (rm -f Buildings_1.6_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.sim & ./Buildings_1.6_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop.pipe 2>&1)