Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008748/0.0008747, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.000868/0.000868, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.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.756/1.756, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005275/0.0005276, allocations: 22.03 kB / 0.6735 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2288, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05889/0.2878, allocations: 62.95 MB / 0.8486 GB, free: 12.87 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.3036, allocations: 10.87 MB / 0.8592 GB, free: 1.984 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.3069, allocations: 51.62 kB / 0.8592 GB, free: 1.934 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.31, allocations: 0.7501 MB / 0.86 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008622/0.3186, allocations: 2.255 MB / 0.8622 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004859/0.3235, allocations: 1.527 MB / 0.8637 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005598/0.3291, allocations: 2.479 MB / 0.8661 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.3313, allocations: 1.029 MB / 0.8671 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00264/0.3339, allocations: 1.152 MB / 0.8682 GB, free: 8.719 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.3353, allocations: 0.7738 MB / 0.869 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.3355, allocations: 59.98 kB / 0.869 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.3383, allocations: 0.8347 MB / 0.8699 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003278/0.3386, allocations: 259 kB / 0.8701 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004825/0.3391, allocations: 356.9 kB / 0.8704 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.3416, allocations: 2.014 MB / 0.8724 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3416, allocations: 0 / 0.8724 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3416, allocations: 0 / 0.8724 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.681e-05/0.3416, allocations: 8 kB / 0.8724 GB, free: 4.41 MB / 0.6856 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.00327/0.3449, allocations: 1.768 MB / 0.8741 GB, free: 2.578 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3449, allocations: 16.03 kB / 0.8742 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000741/0.3457, allocations: 237.9 kB / 0.8744 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.348, allocations: 1.369 MB / 0.8757 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.329e-05/0.3481, allocations: 70 kB / 0.8758 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.3482, allocations: 104 kB / 0.8759 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.3501, allocations: 1.104 MB / 0.877 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.3502, allocations: 7.984 kB / 0.877 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.759e-05/0.3503, allocations: 43.98 kB / 0.877 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/0.3503, allocations: 27.94 kB / 0.877 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.3522, allocations: 0.9212 MB / 0.8779 GB, free: 14.6 MB / 0.7012 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.006595/0.3588, allocations: 4.958 MB / 0.8828 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.3602, allocations: 0.6467 MB / 0.8834 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006391/0.3608, allocations: 0.8277 MB / 0.8842 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.3609, allocations: 39.12 kB / 0.8843 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 3.417e-06/0.3609, allocations: 3.938 kB / 0.8843 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.007186/0.3681, allocations: 1.877 MB / 0.8861 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.3681, allocations: 55.97 kB / 0.8861 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.3697, allocations: 1.241 MB / 0.8874 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.781e-05/0.3699, allocations: 45.7 kB / 0.8874 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005572/0.3704, allocations: 0.5948 MB / 0.888 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.3706, allocations: 216.8 kB / 0.8882 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.3707, allocations: 16 kB / 0.8882 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3708, allocations: 338 kB / 0.8885 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.3715, allocations: 293.8 kB / 0.8888 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007997/0.3723, allocations: 0.4998 MB / 0.8893 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007081/0.373, allocations: 363 kB / 0.8896 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.373, allocations: 0 / 0.8896 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004537/0.3775, allocations: 1.394 MB / 0.891 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005544/0.3781, allocations: 1.422 MB / 0.8924 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.3781, allocations: 4 kB / 0.8924 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006007/0.3787, allocations: 148.6 kB / 0.8925 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.3794, allocations: 167.8 kB / 0.8927 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008039/0.3802, allocations: 0.7045 MB / 0.8934 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.3816, allocations: 179 kB / 0.8936 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.12e-05/0.3817, allocations: 39.98 kB / 0.8936 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.3817, allocations: 6.656 kB / 0.8936 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004219/0.386, allocations: 1.242 MB / 0.8948 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.386, allocations: 4 kB / 0.8948 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000498/0.3865, allocations: 145.1 kB / 0.895 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.3871, allocations: 171.7 kB / 0.8951 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007378/0.3878, allocations: 0.7045 MB / 0.8958 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.3891, allocations: 171 kB / 0.896 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.3892, allocations: 35.98 kB / 0.896 GB, free: 11.29 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007198/0.3899, allocations: 416.1 kB / 0.8964 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.3901, allocations: 138.4 kB / 0.8965 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/0.3945, allocations: 1.388 MB / 0.8979 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.3946, allocations: 8 kB / 0.8979 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.3946, allocations: 0 / 0.8979 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003956/0.3985, allocations: 1.232 MB / 0.8991 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007245/0.4058, allocations: 2.758 MB / 0.9018 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.4059, allocations: 0 / 0.9018 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.4064, allocations: 123.8 kB / 0.9019 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/0.4069, allocations: 141.2 kB / 0.902 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.407, allocations: 19.98 kB / 0.9021 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004888/0.4119, allocations: 2.509 MB / 0.9045 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.4119, allocations: 4 kB / 0.9045 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005484/0.4174, allocations: 2.049 MB / 0.9065 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.4185, allocations: 343.1 kB / 0.9068 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004246/0.4189, allocations: 19.98 kB / 0.9069 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.4202, allocations: 95.81 kB / 0.907 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.4203, allocations: 64.27 kB / 0.907 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.659e-05/0.4204, allocations: 35.97 kB / 0.9071 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001523/0.422, allocations: 0.8893 MB / 0.9079 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.422, allocations: 0 / 0.9079 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002316/0.4243, allocations: 0.7174 MB / 0.9086 GB, free: 13.8 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009045/0.4252, allocations: 453 kB / 0.9091 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002643/0.4279, allocations: 1.156 MB / 0.9102 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.4279, allocations: 4 kB / 0.9102 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.4294, allocations: 0.5995 MB / 0.9108 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003892/0.4333, allocations: 0.7561 MB / 0.9115 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004835/0.4382, allocations: 2.75 MB / 0.9142 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009136/0.4391, allocations: 1.195 MB / 0.9154 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0014/0.4405, allocations: 307 kB / 0.9157 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.4408, allocations: 103.4 kB / 0.9158 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of SimCode: time 1.333e-06/0.4409, allocations: 3.938 kB / 0.9158 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of Templates: time 0.4498/0.8906, allocations: 30.19 MB / 0.9452 GB, free: 124.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: