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.001165/0.001165, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001411/0.001411, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.311/1.311, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.678/2.678, allocations: 472.6 MB / 0.7448 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.48 kB / 0.9115 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2886, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop): time 0.05453/0.3432, allocations: 57.87 MB / 1.124 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01806/0.3613, allocations: 13.54 MB / 1.137 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002437/0.3638, allocations: 59.56 kB / 1.137 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002287/0.3661, allocations: 0.7343 MB / 1.138 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006876/0.373, allocations: 2.278 MB / 1.14 GB, free: 20 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004206/0.3772, allocations: 1.493 MB / 1.142 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006151/0.3834, allocations: 4.286 MB / 1.146 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.3859, allocations: 1.351 MB / 1.147 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005511/0.3915, allocations: 1.86 MB / 1.149 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004361/0.3959, allocations: 1.318 MB / 1.15 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.3971, allocations: 112 kB / 1.151 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004374/0.4015, allocations: 1.104 MB / 1.152 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008385/0.4024, allocations: 354.3 kB / 1.152 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002231/0.4047, allocations: 0.9091 MB / 1.153 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004514/0.4092, allocations: 2.196 MB / 1.155 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4092, allocations: 0 / 1.155 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4092, allocations: 0 / 1.155 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.757e-05/0.4093, allocations: 0 / 1.155 GB, free: 0.9883 MB / 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.004651/0.414, allocations: 2.123 MB / 1.157 GB, free: 14.81 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.414, allocations: 12.03 kB / 1.157 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000559/0.4146, allocations: 209.5 kB / 1.157 GB, free: 14.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.4169, allocations: 1.136 MB / 1.158 GB, free: 13.4 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/0.417, allocations: 78 kB / 1.158 GB, free: 13.33 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.4172, allocations: 108 kB / 1.159 GB, free: 13.22 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.4187, allocations: 0.7257 MB / 1.159 GB, free: 12.49 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.4187, allocations: 0 / 1.159 GB, free: 12.49 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.13e-05/0.4188, allocations: 36 kB / 1.159 GB, free: 12.46 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.4188, allocations: 16 kB / 1.159 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.4199, allocations: 0.5465 MB / 1.16 GB, free: 11.89 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.006352/0.4263, allocations: 4.026 MB / 1.164 GB, free: 7.461 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008992/0.4272, allocations: 456.9 kB / 1.164 GB, free: 7 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004196/0.4277, allocations: 226.7 kB / 1.164 GB, free: 6.777 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004427/0.4281, allocations: 0.503 MB / 1.165 GB, free: 6.164 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.4282, allocations: 35 kB / 1.165 GB, free: 6.121 MB / 0.92 GB Notification: Performance of pre-optimization done (n=51): time 2.896e-06/0.4282, allocations: 0 / 1.165 GB, free: 6.121 MB / 0.92 GB Notification: Performance of matching and sorting (n=51): time 0.004765/0.4329, allocations: 1.669 MB / 1.167 GB, free: 4.312 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.433, allocations: 63.84 kB / 1.167 GB, free: 4.238 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.4348, allocations: 1.344 MB / 1.168 GB, free: 2.891 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.4349, allocations: 45.7 kB / 1.168 GB, free: 2.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005788/0.4355, allocations: 0.6917 MB / 1.169 GB, free: 2.141 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.4357, allocations: 173.5 kB / 1.169 GB, free: 1.969 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.4359, allocations: 170.5 kB / 1.169 GB, free: 1.797 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.436, allocations: 334 kB / 1.169 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.4365, allocations: 211.9 kB / 1.17 GB, free: 1.254 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.4372, allocations: 466.7 kB / 1.17 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008524/0.438, allocations: 467 kB / 1.17 GB, free: 236 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4381, allocations: 0 / 1.17 GB, free: 236 kB / 0.92 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003028/0.4411, allocations: 1.046 MB / 1.171 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4411, allocations: 12 kB / 1.171 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.4411, allocations: 3.984 kB / 1.171 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.4431, allocations: 360.6 kB / 1.172 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.4438, allocations: 119.8 kB / 1.172 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.4462, allocations: 3.978 MB / 1.176 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.4476, allocations: 167.5 kB / 1.176 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/0.4477, allocations: 27.98 kB / 1.176 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007534/0.4485, allocations: 394.6 kB / 1.176 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006346/0.4491, allocations: 477.1 kB / 1.177 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007502/0.4499, allocations: 438.8 kB / 1.177 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.015e-06/0.4499, allocations: 4 kB / 1.177 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.002018/0.4519, allocations: 0.8631 MB / 1.178 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.452, allocations: 5.562 kB / 1.178 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.452, allocations: 4 kB / 1.178 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006801/0.4527, allocations: 225.5 kB / 1.178 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.4531, allocations: 95.88 kB / 1.178 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007579/0.4607, allocations: 9.882 MB / 1.188 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.4625, allocations: 180.1 kB / 1.188 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.4626, allocations: 27.98 kB / 1.188 GB, free: 12.7 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.0003606/0.463, allocations: 224.9 kB / 1.189 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.4635, allocations: 158 kB / 1.189 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/0.4655, allocations: 0.9371 MB / 1.19 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.4656, allocations: 4 kB / 1.19 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4656, allocations: 0 / 1.19 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4656, allocations: 3.984 kB / 1.19 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/0.4689, allocations: 1.927 MB / 1.191 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.4689, allocations: 3.938 kB / 1.191 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/0.4692, allocations: 75.83 kB / 1.192 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/0.4698, allocations: 217.1 kB / 1.192 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.4698, allocations: 19.98 kB / 1.192 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.472, allocations: 3.951 MB / 1.196 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.472, allocations: 0 / 1.196 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.4737, allocations: 0.9873 MB / 1.197 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005331/0.4742, allocations: 278.9 kB / 1.197 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.4744, allocations: 12 kB / 1.197 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008135/0.4753, allocations: 99.8 kB / 1.197 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.845e-05/0.4754, allocations: 44.44 kB / 1.197 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.4754, allocations: 23.94 kB / 1.197 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001241/0.4767, allocations: 0.9052 MB / 1.198 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4767, allocations: 0 / 1.198 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00245/0.4791, allocations: 0.7213 MB / 1.199 GB, free: 1.742 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.00112/0.4803, allocations: 404.5 kB / 1.199 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003663/0.4839, allocations: 1.63 MB / 1.201 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.484, allocations: 0 / 1.201 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008055/0.4848, allocations: 323 kB / 1.201 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/0.4879, allocations: 0.6301 MB / 1.202 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.4921, allocations: 2.842 MB / 1.204 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009345/0.493, allocations: 1.233 MB / 1.205 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001174/0.4942, allocations: 243.2 kB / 1.206 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.4945, allocations: 103.4 kB / 1.206 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.4945, allocations: 4 kB / 1.206 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of Templates: time 0.05232/0.5468, allocations: 29.57 MB / 1.235 GB, free: 13.07 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)