Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009795/0.0009796, allocations: 170.7 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4531/0.4531, 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.319/1.319, allocations: 223.3 MB / 348.4 MB, free: 5.012 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.0008091/0.0008091, allocations: 92.88 kB / 420.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003683, allocations: 12 kB / 0.4901 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3209, allocations: 71.01 MB / 0.5594 GB, free: 43.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8922/1.213, allocations: 385 MB / 0.9354 GB, free: 233 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/1.213, allocations: 94.7 kB / 0.9355 GB, free: 233 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/HeatPumps/Examples/Carnot_TCon.mo:17:3-31:71:writable] Error: Variable heaPum: Cyclically dependent constants or parameters found in scope IBPSA.Fluid.HeatPumps.Carnot_TCon$heaPum: {COP_nominal,etaCarnot_nominal} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd - DAE generated: time 1.747/2.961, allocations: 0.6483 GB / 1.584 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.256e-06/2.961, allocations: 4 kB / 1.584 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001627/2.961, allocations: 31.98 kB / 1.584 GB, free: 56.78 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004077/2.965, allocations: 1.723 MB / 1.585 GB, free: 55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/2.965, allocations: 12.03 kB / 1.585 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/2.967, allocations: 450.8 kB / 1.586 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/2.97, allocations: 1.351 MB / 1.587 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003193/2.97, allocations: 130.5 kB / 1.587 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/2.971, allocations: 84.38 kB / 1.587 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/2.972, allocations: 1.037 MB / 1.588 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/2.972, allocations: 0 / 1.588 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/2.973, allocations: 32 kB / 1.588 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/2.973, allocations: 20 kB / 1.589 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/2.975, allocations: 0.9446 MB / 1.589 GB, free: 50.85 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.005199/2.98, allocations: 4.565 MB / 1.594 GB, free: 46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/2.983, allocations: 0.9184 MB / 1.595 GB, free: 45.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006594/2.984, allocations: 332.4 kB / 1.595 GB, free: 44.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004417/2.984, allocations: 0.9146 MB / 1.596 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/2.984, allocations: 46.88 kB / 1.596 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.655e-06/2.984, allocations: 0 / 1.596 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47): time 0.007167/2.991, allocations: 2.177 MB / 1.598 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/2.991, allocations: 59.83 kB / 1.598 GB, free: 41.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/2.993, allocations: 1.056 MB / 1.599 GB, free: 40.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/2.993, allocations: 37.7 kB / 1.599 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/2.993, allocations: 0.5392 MB / 1.6 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.754e-05/2.993, allocations: 165.6 kB / 1.6 GB, free: 39.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/2.993, allocations: 12 kB / 1.6 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.128e-05/2.993, allocations: 330 kB / 1.6 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007939/2.994, allocations: 332.9 kB / 1.601 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008957/2.995, allocations: 0.5865 MB / 1.601 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/2.996, allocations: 0.7545 MB / 1.602 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/2.996, allocations: 0 / 1.602 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00366/3, allocations: 1.277 MB / 1.603 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/3, allocations: 213.3 kB / 1.603 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/3, allocations: 4 kB / 1.603 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/3.002, allocations: 368 kB / 1.604 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/3.002, allocations: 135.8 kB / 1.604 GB, free: 35.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/3.003, allocations: 0.9798 MB / 1.605 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/3.005, allocations: 199.3 kB / 1.605 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/3.005, allocations: 35.97 kB / 1.605 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/3.005, allocations: 8 kB / 1.605 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003228/3.008, allocations: 1.144 MB / 1.606 GB, free: 32.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/3.008, allocations: 4 kB / 1.606 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009894/3.009, allocations: 356.4 kB / 1.607 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/3.01, allocations: 131.8 kB / 1.607 GB, free: 32.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/3.011, allocations: 0.9736 MB / 1.608 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/3.012, allocations: 179.4 kB / 1.608 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/3.012, allocations: 27.98 kB / 1.608 GB, free: 31.19 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.00059/3.013, allocations: 364.8 kB / 1.608 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/3.013, allocations: 114.6 kB / 1.608 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/3.016, allocations: 1.26 MB / 1.609 GB, free: 29.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/3.016, allocations: 8 kB / 1.609 GB, free: 29.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/3.016, allocations: 3.938 kB / 1.609 GB, free: 29.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/3.016, allocations: 6.172 kB / 1.609 GB, free: 29.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005334/3.022, allocations: 2.447 MB / 1.612 GB, free: 26.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/3.022, allocations: 12 kB / 1.612 GB, free: 26.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/3.022, allocations: 79.94 kB / 1.612 GB, free: 26.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009753/3.023, allocations: 356.1 kB / 1.612 GB, free: 26.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/3.023, allocations: 15.98 kB / 1.612 GB, free: 26.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/3.024, allocations: 1.007 MB / 1.613 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/3.024, allocations: 7.938 kB / 1.613 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00386/3.028, allocations: 1.473 MB / 1.615 GB, free: 23.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005317/3.029, allocations: 279.4 kB / 1.615 GB, free: 23.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/3.029, allocations: 11.94 kB / 1.615 GB, free: 23.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009344/3.03, allocations: 123.7 kB / 1.615 GB, free: 23.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/3.03, allocations: 44.25 kB / 1.615 GB, free: 23.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/3.03, allocations: 27.98 kB / 1.615 GB, free: 23.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001147/3.031, allocations: 0.7356 MB / 1.616 GB, free: 22.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/3.031, allocations: 4 kB / 1.616 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001799/3.033, allocations: 0.6044 MB / 1.617 GB, free: 22.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (36): * Single equations (assignments): 31 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001116/3.034, allocations: 0.6461 MB / 1.617 GB, free: 21.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003172/3.037, allocations: 1.259 MB / 1.618 GB, free: 20.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/3.037, allocations: 4 kB / 1.618 GB, free: 20.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009306/3.038, allocations: 422.4 kB / 1.619 GB, free: 19.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/3.041, allocations: 0.5278 MB / 1.619 GB, free: 19.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/3.046, allocations: 2.502 MB / 1.622 GB, free: 16.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/3.047, allocations: 1.071 MB / 1.623 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001124/3.048, allocations: 219.8 kB / 1.623 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/3.048, allocations: 79.42 kB / 1.623 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/3.048, allocations: 3.938 kB / 1.623 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of Templates: time 0.3173/3.366, allocations: 27.62 MB / 1.65 GB, free: 71.54 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)