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.001324/0.001325, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5041/0.5041, allocations: 90.91 MB / 99.34 MB, free: 2.195 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001226, allocations: 95.14 kB / 416 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.79e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1645, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.156/1.321, allocations: 376.3 MB / 0.921 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/1.321, allocations: 91.23 kB / 0.9211 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.692/3.013, allocations: 0.5412 GB / 1.462 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.264e-06/3.013, allocations: 7.984 kB / 1.462 GB, free: 9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002189/3.014, allocations: 35.98 kB / 1.462 GB, free: 8.965 MB / 0.5886 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.004145/3.018, allocations: 1.715 MB / 1.464 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/3.018, allocations: 8.031 kB / 1.464 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/3.019, allocations: 233.9 kB / 1.464 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003326/3.022, allocations: 1.717 MB / 1.466 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/3.022, allocations: 32 kB / 1.466 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/3.023, allocations: 63.95 kB / 1.466 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001209/3.024, allocations: 0.6913 MB / 1.467 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/3.025, allocations: 0.8817 MB / 1.468 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/3.025, allocations: 4 kB / 1.468 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/3.025, allocations: 0 / 1.468 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/3.025, allocations: 38 kB / 1.468 GB, free: 3.438 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.005463/3.031, allocations: 4.504 MB / 1.472 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008634/3.032, allocations: 0.4933 MB / 1.472 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/3.032, allocations: 247.1 kB / 1.473 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006858/3.033, allocations: 0.8355 MB / 1.474 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/3.033, allocations: 39.12 kB / 1.474 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.585e-06/3.033, allocations: 0 / 1.474 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.004126/3.037, allocations: 0.9939 MB / 1.475 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/3.037, allocations: 55.97 kB / 1.475 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/3.038, allocations: 0.887 MB / 1.475 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.1e-05/3.038, allocations: 25.7 kB / 1.475 GB, free: 10.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005408/3.039, allocations: 0.6323 MB / 1.476 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/3.039, allocations: 197.1 kB / 1.476 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/3.039, allocations: 0 / 1.476 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001297/3.039, allocations: 334 kB / 1.477 GB, free: 9.719 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/3.04, allocations: 189.5 kB / 1.477 GB, free: 9.531 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/3.04, allocations: 416.4 kB / 1.477 GB, free: 9.035 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006688/3.041, allocations: 270 kB / 1.477 GB, free: 8.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/3.041, allocations: 4 kB / 1.477 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004203/3.045, allocations: 1.127 MB / 1.479 GB, free: 7.629 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007275/3.046, allocations: 1.407 MB / 1.48 GB, free: 6.121 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/3.046, allocations: 8 kB / 1.48 GB, free: 6.113 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000429/3.046, allocations: 104.7 kB / 1.48 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006312/3.047, allocations: 163.8 kB / 1.48 GB, free: 5.848 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/3.048, allocations: 0.7474 MB / 1.481 GB, free: 5.074 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/3.05, allocations: 119.3 kB / 1.481 GB, free: 4.957 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/3.05, allocations: 35.98 kB / 1.481 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/3.05, allocations: 5.25 kB / 1.481 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003889/3.054, allocations: 0.978 MB / 1.482 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/3.054, allocations: 4 kB / 1.482 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/3.054, allocations: 112.9 kB / 1.482 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/3.055, allocations: 155.8 kB / 1.482 GB, free: 3.668 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/3.056, allocations: 0.7474 MB / 1.483 GB, free: 2.895 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/3.057, allocations: 107.5 kB / 1.483 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.995e-05/3.057, allocations: 31.98 kB / 1.483 GB, free: 2.758 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.COP:VARIABLE(min = 0.0 unit = "1" ) "Coefficient of performance" type: Real 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 () * 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.0003221/3.057, allocations: 124.8 kB / 1.483 GB, free: 2.629 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003573/3.058, allocations: 122.5 kB / 1.483 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/3.062, allocations: 1.105 MB / 1.484 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/3.062, allocations: 12 kB / 1.484 GB, free: 1.379 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/3.062, allocations: 0 / 1.484 GB, free: 1.379 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003693/3.066, allocations: 1.018 MB / 1.485 GB, free: 336 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3977/3.463, allocations: 2.324 MB / 1.488 GB, free: 78.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/3.464, allocations: 5.094 kB / 1.488 GB, free: 78.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/3.464, allocations: 120.5 kB / 1.488 GB, free: 78.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003344/3.464, allocations: 107.5 kB / 1.488 GB, free: 78.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/3.465, allocations: 7.906 kB / 1.488 GB, free: 78.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003417/3.468, allocations: 2.13 MB / 1.49 GB, free: 76.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/3.468, allocations: 3.812 kB / 1.49 GB, free: 76.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005067/3.473, allocations: 1.677 MB / 1.492 GB, free: 76.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000869/3.474, allocations: 310.5 kB / 1.492 GB, free: 76.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/3.474, allocations: 9.172 kB / 1.492 GB, free: 76.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/3.475, allocations: 67.7 kB / 1.492 GB, free: 76.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/3.475, allocations: 58.86 kB / 1.492 GB, free: 76.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/3.475, allocations: 31.55 kB / 1.492 GB, free: 76.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001225/3.476, allocations: 0.6794 MB / 1.493 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.4e-07/3.476, allocations: 0 / 1.493 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00313/3.48, allocations: 0.7809 MB / 1.494 GB, free: 76.2 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 () * 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.001881/3.481, allocations: 0.7524 MB / 1.494 GB, free: 76.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003762/3.485, allocations: 1.017 MB / 1.495 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/3.485, allocations: 1.719 kB / 1.495 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/3.487, allocations: 0.4896 MB / 1.496 GB, free: 75.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004211/3.491, allocations: 0.5658 MB / 1.496 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004905/3.496, allocations: 1.691 MB / 1.498 GB, free: 75.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009402/3.497, allocations: 1.206 MB / 1.499 GB, free: 74.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002503/3.499, allocations: 340.1 kB / 1.499 GB, free: 74.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/3.5, allocations: 70.83 kB / 1.5 GB, free: 74.66 MB / 0.6042 GB Notification: Performance of SimCode: time 2.374e-06/3.5, allocations: 0 / 1.5 GB, free: 74.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.05099/3.551, allocations: 27.22 MB / 1.526 GB, free: 73.73 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)