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.000719/0.000719, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0007629/0.0007629, allocations: 168.7 kB / 15.95 MB, free: 204 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.556/1.556, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.676/1.676, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005503/0.0005504, allocations: 17.31 kB / 0.6737 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2571, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06119/0.3184, allocations: 69.41 MB / 0.8551 GB, free: 6.348 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01595/0.3344, allocations: 11.84 MB / 0.8666 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.3367, allocations: 55.62 kB / 0.8667 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.3386, allocations: 0.5627 MB / 0.8672 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006031/0.3446, allocations: 1.884 MB / 0.8691 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.3486, allocations: 0.978 MB / 0.87 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007006/0.3556, allocations: 4.758 MB / 0.8747 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.3575, allocations: 1.005 MB / 0.8756 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/0.3602, allocations: 1.268 MB / 0.8769 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.3619, allocations: 1.069 MB / 0.8779 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.3621, allocations: 56 kB / 0.878 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002838/0.3649, allocations: 0.9199 MB / 0.8789 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000353/0.3653, allocations: 270.7 kB / 0.8791 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005616/0.3658, allocations: 360.8 kB / 0.8795 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.3683, allocations: 2.077 MB / 0.8815 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.3683, allocations: 4 kB / 0.8815 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3683, allocations: 3.938 kB / 0.8815 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.167e-05/0.3683, allocations: 0 / 0.8815 GB, free: 11.16 MB / 0.7012 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.003226/0.3715, allocations: 1.791 MB / 0.8833 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3716, allocations: 12.03 kB / 0.8833 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000667/0.3723, allocations: 237.9 kB / 0.8835 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.3745, allocations: 1.435 MB / 0.8849 GB, free: 7.566 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/0.3746, allocations: 74 kB / 0.885 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.3747, allocations: 100 kB / 0.8851 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.3767, allocations: 1.12 MB / 0.8862 GB, free: 6.242 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.3767, allocations: 0 / 0.8862 GB, free: 6.242 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/0.3768, allocations: 40 kB / 0.8862 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/0.3769, allocations: 28 kB / 0.8862 GB, free: 6.176 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.3787, allocations: 0.9212 MB / 0.8871 GB, free: 5.258 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.005593/0.3843, allocations: 4.923 MB / 0.8919 GB, free: 48 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.3856, allocations: 0.6429 MB / 0.8926 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006408/0.3863, allocations: 366.3 kB / 0.8929 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006317/0.3869, allocations: 0.8276 MB / 0.8937 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3869, allocations: 43.12 kB / 0.8938 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.425e-06/0.3869, allocations: 0 / 0.8938 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.006264/0.3932, allocations: 1.877 MB / 0.8956 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3933, allocations: 59.97 kB / 0.8957 GB, free: 12 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.3949, allocations: 1.19 MB / 0.8968 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.257e-05/0.3949, allocations: 37.7 kB / 0.8969 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004989/0.3954, allocations: 0.6025 MB / 0.8974 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.3956, allocations: 216.9 kB / 0.8976 GB, free: 9.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.3957, allocations: 16 kB / 0.8977 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3958, allocations: 329.9 kB / 0.898 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/0.3964, allocations: 305.8 kB / 0.8983 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/0.3972, allocations: 0.4959 MB / 0.8988 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/0.3979, allocations: 355 kB / 0.8991 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.3979, allocations: 4 kB / 0.8991 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003997/0.4019, allocations: 1.398 MB / 0.9005 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.402, allocations: 194.2 kB / 0.9006 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.402, allocations: 4 kB / 0.9006 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000546/0.4026, allocations: 152.5 kB / 0.9008 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.4032, allocations: 175.8 kB / 0.901 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007364/0.4039, allocations: 0.7045 MB / 0.9016 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.4049, allocations: 167.1 kB / 0.9018 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.405, allocations: 35.98 kB / 0.9018 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.405, allocations: 4 kB / 0.9018 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003778/0.4088, allocations: 1.249 MB / 0.9031 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4088, allocations: 4 kB / 0.9031 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004177/0.4093, allocations: 145 kB / 0.9032 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/0.4098, allocations: 167.8 kB / 0.9034 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006934/0.4105, allocations: 0.7045 MB / 0.9041 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000956/0.4115, allocations: 163.2 kB / 0.9042 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.473e-05/0.4115, allocations: 28 kB / 0.9042 GB, free: 2.961 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.000603/0.4121, allocations: 428.8 kB / 0.9046 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.4123, allocations: 134.4 kB / 0.9048 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/0.4163, allocations: 1.392 MB / 0.9061 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.4163, allocations: 4 kB / 0.9061 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4163, allocations: 4 kB / 0.9061 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003548/0.4199, allocations: 1.228 MB / 0.9073 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006094/0.426, allocations: 2.742 MB / 0.91 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.426, allocations: 4 kB / 0.91 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004634/0.4265, allocations: 119.8 kB / 0.9101 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.427, allocations: 141.1 kB / 0.9103 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.427, allocations: 19.98 kB / 0.9103 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004196/0.4312, allocations: 2.423 MB / 0.9127 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/0.4312, allocations: 7.984 kB / 0.9127 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004831/0.4361, allocations: 1.848 MB / 0.9145 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/0.4369, allocations: 343 kB / 0.9148 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/0.4372, allocations: 12 kB / 0.9148 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.4383, allocations: 100.1 kB / 0.9149 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.4384, allocations: 56.27 kB / 0.915 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.022e-05/0.4385, allocations: 35.97 kB / 0.915 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001656/0.4402, allocations: 0.8502 MB / 0.9158 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4402, allocations: 0 / 0.9158 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002681/0.4429, allocations: 0.7135 MB / 0.9165 GB, free: 5.969 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.00109/0.444, allocations: 412 kB / 0.9169 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002767/0.4468, allocations: 1.168 MB / 0.9181 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4468, allocations: 4 kB / 0.9181 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.4482, allocations: 0.5955 MB / 0.9186 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/0.4518, allocations: 0.7698 MB / 0.9194 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.456, allocations: 2.754 MB / 0.9221 GB, free: 204 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4389/0.895, allocations: 1.17 MB / 0.9232 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002219/0.8973, allocations: 304.4 kB / 0.9235 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.8976, allocations: 102.6 kB / 0.9236 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.493e-06/0.8976, allocations: 3.875 kB / 0.9236 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.06148/0.9591, allocations: 29.54 MB / 0.9525 GB, free: 122.1 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: