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.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001241/0.001241, allocations: 192 kB / 16.14 MB, free: 6.688 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.335/1.335, 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.844/2.844, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.73 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2996, allocations: 159.9 MB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.Examples.TwoWayOpenLoop): time 0.05035/0.35, allocations: 58 MB / 1.124 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0204/0.3704, allocations: 13.67 MB / 1.137 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003844/0.3743, allocations: 59.56 kB / 1.138 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00239/0.3768, allocations: 0.6992 MB / 1.138 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006858/0.3837, allocations: 2.245 MB / 1.14 GB, free: 28 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004009/0.3877, allocations: 1.481 MB / 1.142 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006887/0.3946, allocations: 5.597 MB / 1.147 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.3965, allocations: 1.183 MB / 1.148 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003821/0.4003, allocations: 1.692 MB / 1.15 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.4023, allocations: 1.318 MB / 1.151 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.4025, allocations: 72 kB / 1.151 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.4048, allocations: 1.018 MB / 1.152 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.4052, allocations: 314.4 kB / 1.153 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009358/0.4061, allocations: 0.8622 MB / 1.154 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.4086, allocations: 2.141 MB / 1.156 GB, free: 308 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4087, allocations: 0 / 1.156 GB, free: 308 kB / 0.9044 GB Notification: Performance of FrontEnd: time 8.91e-07/0.4087, allocations: 0 / 1.156 GB, free: 308 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.4087, allocations: 4 kB / 1.156 GB, free: 304 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.003288/0.412, allocations: 2.121 MB / 1.158 GB, free: 14.12 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.4121, allocations: 16.03 kB / 1.158 GB, free: 14.1 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003317/0.4124, allocations: 205.6 kB / 1.158 GB, free: 13.9 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.4141, allocations: 1.14 MB / 1.159 GB, free: 12.71 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.4142, allocations: 78 kB / 1.159 GB, free: 12.63 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.4143, allocations: 104 kB / 1.159 GB, free: 12.53 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.4156, allocations: 0.7218 MB / 1.16 GB, free: 11.8 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.4156, allocations: 4 kB / 1.16 GB, free: 11.8 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.4157, allocations: 36 kB / 1.16 GB, free: 11.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.4157, allocations: 20 kB / 1.16 GB, free: 11.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.4168, allocations: 0.5388 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.005172/0.422, allocations: 4.03 MB / 1.165 GB, free: 6.77 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008015/0.4228, allocations: 459.8 kB / 1.165 GB, free: 6.309 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.4232, allocations: 226.7 kB / 1.165 GB, free: 6.086 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004441/0.4236, allocations: 0.5068 MB / 1.166 GB, free: 5.469 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.4237, allocations: 39 kB / 1.166 GB, free: 5.422 MB / 0.92 GB Notification: Performance of pre-optimization done (n=51): time 2.645e-06/0.4237, allocations: 0 / 1.166 GB, free: 5.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=51): time 0.004637/0.4283, allocations: 1.673 MB / 1.167 GB, free: 3.609 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.4284, allocations: 59.84 kB / 1.167 GB, free: 3.539 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.43, allocations: 1.34 MB / 1.169 GB, free: 2.195 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/0.43, allocations: 45.7 kB / 1.169 GB, free: 2.145 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005258/0.4306, allocations: 0.6918 MB / 1.169 GB, free: 1.445 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.4307, allocations: 169.4 kB / 1.17 GB, free: 1.277 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.431, allocations: 174.5 kB / 1.17 GB, free: 1.102 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.4311, allocations: 338 kB / 1.17 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.4315, allocations: 200 kB / 1.17 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006518/0.4322, allocations: 470.8 kB / 1.171 GB, free: 8 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008554/0.433, allocations: 459 kB / 1.171 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4331, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002861/0.4359, allocations: 1.046 MB / 1.172 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4359, allocations: 8 kB / 1.172 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.436, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001873/0.4378, allocations: 376.6 kB / 1.173 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.4385, allocations: 119.8 kB / 1.173 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.4409, allocations: 3.983 MB / 1.177 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.4423, allocations: 163.4 kB / 1.177 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.986e-05/0.4424, allocations: 27.98 kB / 1.177 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007976/0.4432, allocations: 394.6 kB / 1.177 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006317/0.4438, allocations: 473.1 kB / 1.178 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000741/0.4446, allocations: 450.7 kB / 1.178 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/0.4446, allocations: 0 / 1.178 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80) (initialization_lambda0): time 0.001952/0.4465, allocations: 0.8632 MB / 1.179 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4466, allocations: 5.875 kB / 1.179 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4466, allocations: 7.938 kB / 1.179 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006582/0.4473, allocations: 209 kB / 1.179 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.4477, allocations: 103.8 kB / 1.179 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007153/0.4549, allocations: 8.855 MB / 1.188 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.4565, allocations: 184 kB / 1.188 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.959e-05/0.4566, allocations: 31.88 kB / 1.188 GB, free: 13.06 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.0003035/0.4569, allocations: 221 kB / 1.188 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/0.4573, allocations: 158 kB / 1.188 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.4592, allocations: 0.9333 MB / 1.189 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.4592, allocations: 8.188 kB / 1.189 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4593, allocations: 0 / 1.189 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.4593, allocations: 11.91 kB / 1.189 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.4626, allocations: 1.927 MB / 1.191 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.4626, allocations: 3.938 kB / 1.191 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.4629, allocations: 63.95 kB / 1.191 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005158/0.4634, allocations: 229 kB / 1.191 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.4634, allocations: 20 kB / 1.191 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/0.4657, allocations: 3.947 MB / 1.195 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4657, allocations: 0 / 1.195 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.4674, allocations: 0.983 MB / 1.196 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/0.4679, allocations: 286.9 kB / 1.197 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/0.4681, allocations: 15.94 kB / 1.197 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008723/0.469, allocations: 87.81 kB / 1.197 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.4691, allocations: 36.52 kB / 1.197 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.4692, allocations: 23.98 kB / 1.197 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001271/0.4705, allocations: 0.9013 MB / 1.198 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4705, allocations: 4 kB / 1.198 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002425/0.4729, allocations: 0.7328 MB / 1.198 GB, free: 2.098 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.0009009/0.4738, allocations: 393.7 kB / 1.199 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003137/0.4769, allocations: 1.594 MB / 1.2 GB, free: 48 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.477, allocations: 0 / 1.2 GB, free: 48 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000753/0.4777, allocations: 319.4 kB / 1.201 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/0.4815, allocations: 0.7069 MB / 1.201 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00443/0.4859, allocations: 2.837 MB / 1.204 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009475/0.4869, allocations: 1.233 MB / 1.205 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001188/0.4881, allocations: 255.3 kB / 1.205 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.4883, allocations: 99.42 kB / 1.206 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of SimCode: time 6.81e-07/0.4883, allocations: 3.938 kB / 1.206 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of Templates: time 0.04947/0.5378, allocations: 29.1 MB / 1.234 GB, free: 13.82 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)