Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 100.5 kB / 16.35 MB, free: 6.305 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.001087/0.001088, allocations: 192.5 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 75.89 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2216, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6993/0.9209, allocations: 300.3 MB / 1.078 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.07706/0.9981, allocations: 49.55 MB / 1.126 GB, free: 11.89 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01465/1.013, allocations: 290.2 kB / 1.127 GB, free: 11.6 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01259/1.026, allocations: 3.419 MB / 1.13 GB, free: 8.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.5668/1.592, allocations: 8.988 MB / 1.139 GB, free: 67.87 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01731/1.61, allocations: 6.652 MB / 1.145 GB, free: 67.87 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.03202/1.642, allocations: 18.4 MB / 1.163 GB, free: 67.85 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01733/1.659, allocations: 5.824 MB / 1.169 GB, free: 67.15 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02339/1.683, allocations: 7.395 MB / 1.176 GB, free: 67.14 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01355/1.696, allocations: 5.097 MB / 1.181 GB, free: 66.32 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003652/1.7, allocations: 0.569 MB / 1.182 GB, free: 66.32 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01653/1.716, allocations: 4.386 MB / 1.186 GB, free: 66.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004076/1.721, allocations: 1.511 MB / 1.188 GB, free: 66.06 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01264/1.733, allocations: 3.729 MB / 1.191 GB, free: 65.03 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0253/1.759, allocations: 10.42 MB / 1.201 GB, free: 63.71 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/1.759, allocations: 0 / 1.201 GB, free: 63.71 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.484e-06/1.759, allocations: 0 / 1.201 GB, free: 63.71 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003827/1.759, allocations: 2.531 kB / 1.201 GB, free: 63.71 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01772/1.777, allocations: 7.463 MB / 1.209 GB, free: 60.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.777, allocations: 9.625 kB / 1.209 GB, free: 60.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/1.78, allocations: 0.7876 MB / 1.209 GB, free: 59.95 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/1.791, allocations: 5.289 MB / 1.215 GB, free: 58.82 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/1.791, allocations: 324.5 kB / 1.215 GB, free: 58.81 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009331/1.792, allocations: 437.5 kB / 1.215 GB, free: 58.81 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007616/1.799, allocations: 4.375 MB / 1.22 GB, free: 58 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-05/1.8, allocations: 14.19 kB / 1.22 GB, free: 58 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004053/1.8, allocations: 178 kB / 1.22 GB, free: 58 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/1.8, allocations: 121.3 kB / 1.22 GB, free: 58 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005645/1.806, allocations: 2.959 MB / 1.223 GB, free: 57.97 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.02688/1.833, allocations: 25.12 MB / 1.247 GB, free: 42.11 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002849/1.835, allocations: 2.757 MB / 1.25 GB, free: 40.93 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/1.837, allocations: 0.9986 MB / 1.251 GB, free: 40.91 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002086/1.839, allocations: 3.909 MB / 1.255 GB, free: 36.49 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/1.839, allocations: 68.97 kB / 1.255 GB, free: 36.45 MB / 0.92 GB Notification: Performance of pre-optimization done (n=217): time 4.087e-06/1.839, allocations: 4 kB / 1.255 GB, free: 36.44 MB / 0.92 GB Notification: Performance of matching and sorting (n=217): time 0.01033/1.849, allocations: 4.072 MB / 1.259 GB, free: 35.14 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.849, allocations: 81.11 kB / 1.259 GB, free: 35.08 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006764/1.856, allocations: 4.264 MB / 1.263 GB, free: 34.04 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0006043/1.857, allocations: 80.08 kB / 1.263 GB, free: 34.01 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001783/1.859, allocations: 2.76 MB / 1.266 GB, free: 32.88 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009479/1.86, allocations: 0.7654 MB / 1.267 GB, free: 32.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007722/1.86, allocations: 0.5854 MB / 1.267 GB, free: 32.2 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 5.503e-05/1.86, allocations: 301.1 kB / 1.267 GB, free: 31.9 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/1.862, allocations: 0.8182 MB / 1.268 GB, free: 31.78 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/1.864, allocations: 1.83 MB / 1.27 GB, free: 30.46 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003182/1.867, allocations: 2.511 MB / 1.272 GB, free: 29.48 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/1.867, allocations: 7.594 kB / 1.272 GB, free: 29.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007788/1.875, allocations: 3.557 MB / 1.276 GB, free: 27.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/1.875, allocations: 12 kB / 1.276 GB, free: 27.74 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/1.875, allocations: 24 kB / 1.276 GB, free: 27.72 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/1.877, allocations: 0.5853 MB / 1.277 GB, free: 27.21 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/1.879, allocations: 0.5528 MB / 1.277 GB, free: 26.71 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/1.881, allocations: 2.686 MB / 1.28 GB, free: 24.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004683/1.885, allocations: 333.7 kB / 1.28 GB, free: 23.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004347/1.886, allocations: 139.5 kB / 1.28 GB, free: 23.79 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003474/1.889, allocations: 1.564 MB / 1.282 GB, free: 22.88 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001774/1.891, allocations: 1.805 MB / 1.283 GB, free: 20.89 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00276/1.894, allocations: 2.464 MB / 1.286 GB, free: 18.19 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.063e-05/1.894, allocations: 7.938 kB / 1.286 GB, free: 18.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.00629/1.9, allocations: 3.315 MB / 1.289 GB, free: 14.95 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.9, allocations: 16.88 kB / 1.289 GB, free: 14.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/1.9, allocations: 24 kB / 1.289 GB, free: 14.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008452/1.901, allocations: 372.2 kB / 1.29 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.903, allocations: 0.5558 MB / 1.29 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006101/1.909, allocations: 8.459 MB / 1.298 GB, free: 5.059 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005157/1.914, allocations: 311 kB / 1.299 GB, free: 4.754 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005356/1.914, allocations: 136 kB / 1.299 GB, free: 4.621 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.00081/1.915, allocations: 366.3 kB / 1.299 GB, free: 4.297 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001912/1.917, allocations: 0.5056 MB / 1.3 GB, free: 3.785 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00583/1.923, allocations: 3.557 MB / 1.303 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.093e-05/1.923, allocations: 35.97 kB / 1.303 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.923, allocations: 3.938 kB / 1.303 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003888/1.927, allocations: 2.441 MB / 1.305 GB, free: 13.77 MB / 0.9356 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 postOpt removeSimpleEquations (simulation): time 0.01673/1.944, allocations: 8.187 MB / 1.313 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/1.944, allocations: 0 / 1.313 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/1.945, allocations: 369.8 kB / 1.314 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007515/1.946, allocations: 308.3 kB / 1.314 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/1.946, allocations: 67.91 kB / 1.314 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/1.948, allocations: 2.488 MB / 1.317 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.948, allocations: 0 / 1.317 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008381/1.956, allocations: 4.353 MB / 1.321 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003179/1.96, allocations: 0.8806 MB / 1.322 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001325/1.961, allocations: 48 kB / 1.322 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00317/1.964, allocations: 119.7 kB / 1.322 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/1.964, allocations: 145.8 kB / 1.322 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002881/1.965, allocations: 111.9 kB / 1.322 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.005789/1.971, allocations: 2.827 MB / 1.325 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.21e-07/1.971, allocations: 0 / 1.325 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.01212/1.983, allocations: 3.238 MB / 1.328 GB, free: 6.352 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 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): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003686/1.986, allocations: 1.512 MB / 1.33 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008839/1.995, allocations: 4.43 MB / 1.334 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.995, allocations: 5.062 kB / 1.334 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00247/1.998, allocations: 1.233 MB / 1.335 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0149/2.013, allocations: 2.669 MB / 1.338 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/2.03, allocations: 9.056 MB / 1.347 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002893/2.033, allocations: 2.842 MB / 1.349 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/2.034, allocations: 430.3 kB / 1.35 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of SimCode: time 1.072e-06/2.034, allocations: 0 / 1.35 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of Templates: time 0.2371/2.271, allocations: 191.2 MB / 1.536 GB, free: 2.367 MB / 1.154 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)