Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 175.7 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4897/0.4897, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 223.3 MB / 348.4 MB, free: 4.945 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007958/0.000796, allocations: 95.92 kB / 420.2 MB, free: 9.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 11.98 kB / 0.4901 GB, free: 7.977 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.329, allocations: 71.02 MB / 0.5594 GB, free: 43.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.672/1.001, allocations: 374.7 MB / 0.9254 GB, free: 3.02 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/1.001, allocations: 95.39 kB / 0.9255 GB, free: 2.969 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/Chillers/Examples/Carnot_y.mo:22:3-36:67:writable] Error: Variable chi: Cyclically dependent constants or parameters found in scope IBPSA.Fluid.Chillers.Carnot_y$chi: {COP_nominal,etaCarnot_nominal} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd - DAE generated: time 1.906/2.907, allocations: 0.534 GB / 1.46 GB, free: 90.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.532e-06/2.907, allocations: 5.688 kB / 1.46 GB, free: 90.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001929/2.907, allocations: 40.44 kB / 1.46 GB, free: 90.79 MB / 0.6042 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.004739/2.912, allocations: 1.965 MB / 1.461 GB, free: 90.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/2.912, allocations: 9.109 kB / 1.461 GB, free: 90.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/2.913, allocations: 242.9 kB / 1.462 GB, free: 89.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003802/2.917, allocations: 1.702 MB / 1.463 GB, free: 89.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.594e-05/2.917, allocations: 71.47 kB / 1.463 GB, free: 89.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/2.917, allocations: 103.2 kB / 1.464 GB, free: 89.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/2.919, allocations: 1.104 MB / 1.465 GB, free: 89.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/2.919, allocations: 3.875 kB / 1.465 GB, free: 89.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.915e-05/2.92, allocations: 35.31 kB / 1.465 GB, free: 89.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/2.92, allocations: 35.81 kB / 1.465 GB, free: 89.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/2.921, allocations: 0.8996 MB / 1.466 GB, free: 89.42 MB / 0.6042 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.005149/2.926, allocations: 4.696 MB / 1.47 GB, free: 87.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/2.928, allocations: 0.6025 MB / 1.471 GB, free: 87.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000566/2.928, allocations: 344.9 kB / 1.471 GB, free: 87.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004398/2.929, allocations: 0.8278 MB / 1.472 GB, free: 86.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/2.929, allocations: 45.94 kB / 1.472 GB, free: 86.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.445e-06/2.929, allocations: 0 / 1.472 GB, free: 86.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.006339/2.935, allocations: 1.84 MB / 1.474 GB, free: 86.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/2.935, allocations: 58.62 kB / 1.474 GB, free: 86.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/2.936, allocations: 1.205 MB / 1.475 GB, free: 86.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.794e-05/2.937, allocations: 38.52 kB / 1.475 GB, free: 86.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/2.937, allocations: 0.6205 MB / 1.476 GB, free: 85.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/2.937, allocations: 216.7 kB / 1.476 GB, free: 85.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/2.937, allocations: 9.5 kB / 1.476 GB, free: 85.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/2.937, allocations: 334 kB / 1.476 GB, free: 85.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/2.938, allocations: 279.5 kB / 1.476 GB, free: 85.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006475/2.938, allocations: 0.502 MB / 1.477 GB, free: 85.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/2.94, allocations: 0.6931 MB / 1.478 GB, free: 85.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/2.94, allocations: 3.844 kB / 1.478 GB, free: 85.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003997/2.944, allocations: 1.344 MB / 1.479 GB, free: 84.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.504e-05/2.944, allocations: 195.1 kB / 1.479 GB, free: 84.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/2.944, allocations: 7.219 kB / 1.479 GB, free: 84.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/2.944, allocations: 146.4 kB / 1.479 GB, free: 84.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005404/2.945, allocations: 160.4 kB / 1.479 GB, free: 84.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006241/2.945, allocations: 0.7026 MB / 1.48 GB, free: 84.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/2.947, allocations: 168.5 kB / 1.48 GB, free: 84.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/2.947, allocations: 31.39 kB / 1.48 GB, free: 84.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/2.947, allocations: 3.812 kB / 1.48 GB, free: 84.11 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00371/2.95, allocations: 1.192 MB / 1.481 GB, free: 84.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/2.95, allocations: 3.812 kB / 1.481 GB, free: 84.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004048/2.951, allocations: 146.8 kB / 1.482 GB, free: 84.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/2.951, allocations: 152.1 kB / 1.482 GB, free: 84.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005822/2.952, allocations: 0.707 MB / 1.482 GB, free: 83.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/2.953, allocations: 149.5 kB / 1.483 GB, free: 83.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/2.953, allocations: 39.62 kB / 1.483 GB, free: 83.52 MB / 0.6042 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 (73): * Single equations (assignments): 72 * 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.0007017/2.954, allocations: 416 kB / 1.483 GB, free: 83.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/2.954, allocations: 133 kB / 1.483 GB, free: 83.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003942/2.958, allocations: 1.327 MB / 1.484 GB, free: 83.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/2.958, allocations: 7.812 kB / 1.484 GB, free: 83.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/2.958, allocations: 9.812 kB / 1.484 GB, free: 83.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003575/2.961, allocations: 1.207 MB / 1.486 GB, free: 82.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00562/2.967, allocations: 2.638 MB / 1.488 GB, free: 82.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/2.967, allocations: 3.688 kB / 1.488 GB, free: 82.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/2.968, allocations: 127.4 kB / 1.488 GB, free: 82.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004141/2.968, allocations: 132.5 kB / 1.488 GB, free: 82.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/2.968, allocations: 23.7 kB / 1.488 GB, free: 82.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003809/2.972, allocations: 2.435 MB / 1.491 GB, free: 81.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.972, allocations: 5.875 kB / 1.491 GB, free: 81.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004664/2.977, allocations: 1.806 MB / 1.493 GB, free: 80.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006041/2.977, allocations: 333.3 kB / 1.493 GB, free: 80.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/2.977, allocations: 15.47 kB / 1.493 GB, free: 80.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/2.978, allocations: 76.22 kB / 1.493 GB, free: 80.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/2.978, allocations: 60.91 kB / 1.493 GB, free: 80.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.564e-05/2.978, allocations: 34.98 kB / 1.493 GB, free: 80.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001085/2.979, allocations: 0.8532 MB / 1.494 GB, free: 80.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/2.979, allocations: 1.969 kB / 1.494 GB, free: 80.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001743/2.981, allocations: 0.7593 MB / 1.495 GB, free: 80.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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.0009701/2.982, allocations: 0.6826 MB / 1.495 GB, free: 80.19 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002122/2.984, allocations: 1.094 MB / 1.496 GB, free: 80.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/2.984, allocations: 0 / 1.496 GB, free: 80.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/2.986, allocations: 0.586 MB / 1.497 GB, free: 80.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003615/2.989, allocations: 0.7848 MB / 1.498 GB, free: 80.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/2.993, allocations: 2.746 MB / 1.5 GB, free: 78.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/2.993, allocations: 1.169 MB / 1.502 GB, free: 78.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001162/2.994, allocations: 295.7 kB / 1.502 GB, free: 78.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/2.995, allocations: 108.1 kB / 1.502 GB, free: 78.04 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/2.995, allocations: 0 / 1.502 GB, free: 78.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.04618/3.041, allocations: 33.54 MB / 1.535 GB, free: 76.04 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)