Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009605/0.0009604, allocations: 170.6 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008368/0.0008367, allocations: 94.17 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003361, allocations: 8.844 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1959, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05589/0.2518, allocations: 74.38 MB / 0.9694 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0191/0.271, allocations: 12.66 MB / 0.9817 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003155/0.2742, allocations: 55.62 kB / 0.9818 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002744/0.2769, allocations: 0.6682 MB / 0.9824 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007731/0.2847, allocations: 2.252 MB / 0.9846 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004088/0.2888, allocations: 1.244 MB / 0.9859 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007805/0.2966, allocations: 5.492 MB / 0.9912 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/0.2987, allocations: 1.12 MB / 0.9923 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003141/0.3018, allocations: 1.338 MB / 0.9936 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.3038, allocations: 1.132 MB / 0.9947 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.304, allocations: 56 kB / 0.9948 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.307, allocations: 1.247 MB / 0.996 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003611/0.3074, allocations: 278.6 kB / 0.9963 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.3086, allocations: 0.7733 MB / 0.997 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.3117, allocations: 2.135 MB / 0.9991 GB, free: 11 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.3117, allocations: 0 / 0.9991 GB, free: 11 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.454e-06/0.3117, allocations: 4 kB / 0.9991 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.059e-05/0.3118, allocations: 0 / 0.9991 GB, free: 10.99 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003768/0.3155, allocations: 1.783 MB / 1.001 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3156, allocations: 8.031 kB / 1.001 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009/0.3165, allocations: 238.9 kB / 1.001 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.3192, allocations: 1.477 MB / 1.003 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.377e-05/0.3193, allocations: 74 kB / 1.003 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.3194, allocations: 104 kB / 1.003 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.3215, allocations: 1.112 MB / 1.004 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.3216, allocations: 4 kB / 1.004 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/0.3217, allocations: 39.98 kB / 1.004 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.3217, allocations: 28 kB / 1.004 GB, free: 5.977 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.3235, allocations: 0.9251 MB / 1.005 GB, free: 5.047 MB / 0.6511 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.006276/0.3298, allocations: 4.911 MB / 1.01 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.3312, allocations: 0.6495 MB / 1.01 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/0.332, allocations: 362.3 kB / 1.011 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006471/0.3326, allocations: 0.8277 MB / 1.011 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.3327, allocations: 51.05 kB / 1.011 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=61): time 3.036e-06/0.3327, allocations: 0 / 1.011 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of matching and sorting (n=61): time 0.007459/0.3402, allocations: 1.885 MB / 1.013 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.3402, allocations: 59.97 kB / 1.013 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.342, allocations: 1.202 MB / 1.014 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.3422, allocations: 37.7 kB / 1.014 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000497/0.3427, allocations: 0.5948 MB / 1.015 GB, free: 9.91 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.3429, allocations: 220.9 kB / 1.015 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.673e-05/0.343, allocations: 57.69 kB / 1.015 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3431, allocations: 341.9 kB / 1.016 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006961/0.3438, allocations: 305.8 kB / 1.016 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008735/0.3447, allocations: 0.5038 MB / 1.016 GB, free: 8.41 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.3462, allocations: 0.7558 MB / 1.017 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3462, allocations: 0 / 1.017 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004821/0.351, allocations: 1.41 MB / 1.019 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.3512, allocations: 202.2 kB / 1.019 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.3512, allocations: 4 kB / 1.019 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/0.3519, allocations: 136.8 kB / 1.019 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006274/0.3525, allocations: 175.8 kB / 1.019 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008314/0.3533, allocations: 0.7161 MB / 1.02 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.3546, allocations: 167 kB / 1.02 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.3547, allocations: 35.98 kB / 1.02 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.3547, allocations: 6.969 kB / 1.02 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004445/0.3591, allocations: 1.261 MB / 1.021 GB, free: 3.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3592, allocations: 4 kB / 1.021 GB, free: 3.406 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000524/0.3597, allocations: 141.1 kB / 1.021 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.3603, allocations: 167.8 kB / 1.021 GB, free: 3.102 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007929/0.3611, allocations: 0.7083 MB / 1.022 GB, free: 2.367 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.3624, allocations: 159.2 kB / 1.022 GB, free: 2.211 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-05/0.3625, allocations: 31.98 kB / 1.022 GB, free: 2.18 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007312/0.3632, allocations: 416.9 kB / 1.023 GB, free: 1.762 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/0.3636, allocations: 130.4 kB / 1.023 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004703/0.3683, allocations: 1.404 MB / 1.024 GB, free: 220 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.3683, allocations: 11.94 kB / 1.024 GB, free: 208 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3683, allocations: 0 / 1.024 GB, free: 208 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004244/0.3726, allocations: 1.228 MB / 1.025 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007673/0.3803, allocations: 2.734 MB / 1.028 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.3804, allocations: 4 kB / 1.028 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/0.3811, allocations: 127.7 kB / 1.028 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007171/0.3819, allocations: 141.1 kB / 1.028 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.5e-05/0.382, allocations: 16 kB / 1.028 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006306/0.3883, allocations: 2.439 MB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.3883, allocations: 4 kB / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00748/0.3958, allocations: 1.848 MB / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009674/0.3968, allocations: 303.2 kB / 1.033 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/0.3971, allocations: 24 kB / 1.033 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.3984, allocations: 95.81 kB / 1.033 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.3986, allocations: 64.23 kB / 1.033 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.121e-05/0.3987, allocations: 27.98 kB / 1.033 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00183/0.4006, allocations: 0.8619 MB / 1.034 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4006, allocations: 288 / 1.034 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002895/0.4035, allocations: 0.7096 MB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/0.4048, allocations: 450.4 kB / 1.035 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003535/0.4084, allocations: 1.172 MB / 1.036 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.4084, allocations: 0 / 1.036 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.4101, allocations: 0.5915 MB / 1.037 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004449/0.4145, allocations: 0.8046 MB / 1.038 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.4187, allocations: 2.784 MB / 1.04 GB, free: 15.34 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007734/0.4195, allocations: 1.169 MB / 1.041 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/0.4199, allocations: 119.4 kB / 1.042 GB, free: 14.02 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/0.4199, allocations: 0 / 1.042 GB, free: 14.02 MB / 0.698 GB Notification: Performance of Templates: time 0.4138/0.8338, allocations: 30.62 MB / 1.071 GB, free: 141.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)