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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001954/0.001954, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5088/0.5088, allocations: 91.99 MB / 108.5 MB, free: 13.09 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.651/1.651, allocations: 223.2 MB / 354.3 MB, free: 10.46 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.0008029/0.0008028, allocations: 99.19 kB / 427.4 MB, free: 2.219 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003014, allocations: 8 kB / 0.4982 GB, free: 42.1 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, allocations: 72.31 MB / 0.5689 GB, free: 1.723 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.235, allocations: 377 MB / 0.9371 GB, free: 89.91 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/1.235, allocations: 93.27 kB / 0.9372 GB, free: 89.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.77/3.006, allocations: 0.5455 GB / 1.483 GB, free: 25.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/3.006, allocations: 0 / 1.483 GB, free: 25.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002646/3.006, allocations: 39.98 kB / 1.483 GB, free: 25.32 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.006422/3.013, allocations: 1.999 MB / 1.485 GB, free: 23.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/3.013, allocations: 8.031 kB / 1.485 GB, free: 23.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/3.014, allocations: 244.1 kB / 1.485 GB, free: 23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004662/3.019, allocations: 1.725 MB / 1.487 GB, free: 21.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.971e-05/3.019, allocations: 82 kB / 1.487 GB, free: 21.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/3.019, allocations: 99.95 kB / 1.487 GB, free: 21.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/3.022, allocations: 1.096 MB / 1.488 GB, free: 19.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/3.022, allocations: 7.906 kB / 1.488 GB, free: 19.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/3.022, allocations: 40 kB / 1.488 GB, free: 19.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/3.022, allocations: 41.98 kB / 1.488 GB, free: 19.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/3.024, allocations: 0.9017 MB / 1.489 GB, free: 18.93 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.006453/3.03, allocations: 4.73 MB / 1.493 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/3.031, allocations: 0.5961 MB / 1.494 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00049/3.032, allocations: 0.8316 MB / 1.495 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/3.032, allocations: 39.12 kB / 1.495 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 3.185e-06/3.032, allocations: 0 / 1.495 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.007258/3.039, allocations: 1.842 MB / 1.497 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/3.039, allocations: 55.97 kB / 1.497 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/3.041, allocations: 1.114 MB / 1.498 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/3.042, allocations: 37.7 kB / 1.498 GB, free: 9.188 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004993/3.042, allocations: 0.6221 MB / 1.498 GB, free: 8.559 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/3.042, allocations: 213 kB / 1.499 GB, free: 8.348 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/3.042, allocations: 16 kB / 1.499 GB, free: 8.332 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/3.042, allocations: 333.9 kB / 1.499 GB, free: 8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006193/3.043, allocations: 273.1 kB / 1.499 GB, free: 7.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007255/3.044, allocations: 0.4889 MB / 1.5 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/3.044, allocations: 345.9 kB / 1.5 GB, free: 6.812 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/3.044, allocations: 0 / 1.5 GB, free: 6.812 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004608/3.049, allocations: 1.337 MB / 1.501 GB, free: 5.465 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003054/3.049, allocations: 1.428 MB / 1.503 GB, free: 3.949 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/3.049, allocations: 4 kB / 1.503 GB, free: 3.945 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006101/3.05, allocations: 144.7 kB / 1.503 GB, free: 3.801 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/3.051, allocations: 159.8 kB / 1.503 GB, free: 3.645 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007625/3.051, allocations: 0.7006 MB / 1.504 GB, free: 2.918 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/3.053, allocations: 155.1 kB / 1.504 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/3.053, allocations: 35.98 kB / 1.504 GB, free: 2.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/3.053, allocations: 7.938 kB / 1.504 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004232/3.057, allocations: 1.189 MB / 1.505 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/3.058, allocations: 7.938 kB / 1.505 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004745/3.058, allocations: 148.9 kB / 1.505 GB, free: 1.375 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005756/3.059, allocations: 163.8 kB / 1.505 GB, free: 1.215 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000674/3.059, allocations: 0.6967 MB / 1.506 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/3.061, allocations: 151.2 kB / 1.506 GB, free: 352 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.89e-05/3.061, allocations: 31.98 kB / 1.506 GB, free: 320 kB / 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.4459/3.507, allocations: 418.7 kB / 1.507 GB, free: 71.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005801/3.507, allocations: 136.2 kB / 1.507 GB, free: 71.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005767/3.513, allocations: 1.318 MB / 1.508 GB, free: 71.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/3.513, allocations: 12.78 kB / 1.508 GB, free: 71.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/3.513, allocations: 0 / 1.508 GB, free: 71.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004686/3.518, allocations: 1.213 MB / 1.509 GB, free: 71.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008538/3.527, allocations: 2.674 MB / 1.512 GB, free: 70.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/3.527, allocations: 3.156 kB / 1.512 GB, free: 70.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006422/3.527, allocations: 124.4 kB / 1.512 GB, free: 70.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005683/3.528, allocations: 133.9 kB / 1.512 GB, free: 70.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.32e-05/3.528, allocations: 20.23 kB / 1.512 GB, free: 70.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00529/3.533, allocations: 2.502 MB / 1.515 GB, free: 69.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/3.533, allocations: 7.406 kB / 1.515 GB, free: 69.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00642/3.54, allocations: 1.994 MB / 1.516 GB, free: 68.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/3.541, allocations: 334.5 kB / 1.517 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005295/3.541, allocations: 15.69 kB / 1.517 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/3.543, allocations: 82.25 kB / 1.517 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/3.543, allocations: 62.3 kB / 1.517 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.522e-05/3.543, allocations: 28.02 kB / 1.517 GB, free: 68.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00165/3.545, allocations: 0.8941 MB / 1.518 GB, free: 68.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/3.545, allocations: 3.562 kB / 1.518 GB, free: 68.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003491/3.548, allocations: 0.7924 MB / 1.519 GB, free: 68.57 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.00172/3.55, allocations: 0.7535 MB / 1.519 GB, free: 68.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002722/3.553, allocations: 1.091 MB / 1.52 GB, free: 68.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/3.553, allocations: 2.594 kB / 1.52 GB, free: 68.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/3.554, allocations: 0.5872 MB / 1.521 GB, free: 68.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003405/3.558, allocations: 0.7644 MB / 1.522 GB, free: 68.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/3.562, allocations: 2.748 MB / 1.524 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009122/3.563, allocations: 1.192 MB / 1.526 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001641/3.565, allocations: 300.7 kB / 1.526 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/3.565, allocations: 106.8 kB / 1.526 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of SimCode: time 2.294e-06/3.565, allocations: 0 / 1.526 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.05632/3.622, allocations: 32.97 MB / 1.558 GB, free: 64.99 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)