Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001355, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4952/0.4952, allocations: 86.27 MB / 103.8 MB, free: 14.57 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.348/1.348, allocations: 223.3 MB / 348.4 MB, free: 5.004 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.000806/0.000806, allocations: 99.81 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 12 kB / 0.4901 GB, free: 8.016 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.301, allocations: 71.01 MB / 0.5594 GB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8336/1.135, allocations: 384.9 MB / 0.9353 GB, free: 232.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/1.135, allocations: 97.11 kB / 0.9354 GB, free: 232.9 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 3.055/4.19, allocations: 1.057 GB / 1.992 GB, free: 86.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.492e-06/4.19, allocations: 2.812 kB / 1.992 GB, free: 86.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001556/4.19, allocations: 40.31 kB / 1.992 GB, free: 86.21 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003643/4.194, allocations: 1.699 MB / 1.994 GB, free: 85.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/4.194, allocations: 7.531 kB / 1.994 GB, free: 85.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/4.195, allocations: 350.1 kB / 1.994 GB, free: 85.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002523/4.198, allocations: 1.315 MB / 1.996 GB, free: 84.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003189/4.198, allocations: 136.5 kB / 1.996 GB, free: 84.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/4.199, allocations: 86.31 kB / 1.996 GB, free: 84.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/4.2, allocations: 0.9623 MB / 1.997 GB, free: 84.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/4.2, allocations: 2.906 kB / 1.997 GB, free: 84.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/4.2, allocations: 40.03 kB / 1.997 GB, free: 84.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/4.2, allocations: 17.72 kB / 1.997 GB, free: 84.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/4.202, allocations: 0.8351 MB / 1.998 GB, free: 84.68 MB / 0.6198 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.005019/4.207, allocations: 4.473 MB / 2.002 GB, free: 82.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/4.208, allocations: 0.5996 MB / 2.003 GB, free: 82.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005065/4.209, allocations: 272.7 kB / 2.003 GB, free: 82.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008647/4.21, allocations: 1.369 MB / 2.004 GB, free: 80.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/4.21, allocations: 35.78 kB / 2.004 GB, free: 80.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=46): time 2.074e-06/4.21, allocations: 0 / 2.004 GB, free: 80.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46): time 0.006723/4.217, allocations: 2.008 MB / 2.006 GB, free: 80.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/4.217, allocations: 62.31 kB / 2.006 GB, free: 80.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/4.218, allocations: 1.048 MB / 2.007 GB, free: 80.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.782e-05/4.218, allocations: 45.89 kB / 2.007 GB, free: 80.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/4.218, allocations: 0.5317 MB / 2.008 GB, free: 80.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/4.219, allocations: 160.9 kB / 2.008 GB, free: 80.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/4.219, allocations: 8.438 kB / 2.008 GB, free: 80.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.185e-05/4.219, allocations: 327.8 kB / 2.008 GB, free: 79.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/4.219, allocations: 275.5 kB / 2.009 GB, free: 79.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007669/4.22, allocations: 0.5178 MB / 2.009 GB, free: 79.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/4.221, allocations: 0.6423 MB / 2.01 GB, free: 79.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/4.221, allocations: 2.875 kB / 2.01 GB, free: 79.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003369/4.225, allocations: 1.168 MB / 2.011 GB, free: 79.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/4.225, allocations: 210.5 kB / 2.011 GB, free: 78.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/4.225, allocations: 3.938 kB / 2.011 GB, free: 78.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/4.226, allocations: 366.4 kB / 2.011 GB, free: 78.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/4.227, allocations: 112.3 kB / 2.012 GB, free: 78.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/4.228, allocations: 0.974 MB / 2.012 GB, free: 78.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/4.229, allocations: 184 kB / 2.013 GB, free: 78.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/4.229, allocations: 32.53 kB / 2.013 GB, free: 78.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/4.229, allocations: 3.781 kB / 2.013 GB, free: 78.4 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003051/4.232, allocations: 1.039 MB / 2.014 GB, free: 78.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/4.232, allocations: 1.938 kB / 2.014 GB, free: 78.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/4.233, allocations: 352.3 kB / 2.014 GB, free: 78.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/4.234, allocations: 112.5 kB / 2.014 GB, free: 78.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/4.235, allocations: 0.9822 MB / 2.015 GB, free: 77.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/4.236, allocations: 153.4 kB / 2.015 GB, free: 77.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/4.236, allocations: 35.2 kB / 2.015 GB, free: 77.81 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (50): * Single equations (assignments): 49 * 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.0005466/4.237, allocations: 360.1 kB / 2.016 GB, free: 77.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/4.237, allocations: 114.2 kB / 2.016 GB, free: 77.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/4.24, allocations: 1.14 MB / 2.017 GB, free: 77.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/4.24, allocations: 8.875 kB / 2.017 GB, free: 77.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/4.24, allocations: 7 kB / 2.017 GB, free: 77.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/4.24, allocations: 3.281 kB / 2.017 GB, free: 77.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004253/4.244, allocations: 2.146 MB / 2.019 GB, free: 77.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/4.244, allocations: 0 / 2.019 GB, free: 77.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/4.245, allocations: 63.03 kB / 2.019 GB, free: 77.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009564/4.246, allocations: 355.9 kB / 2.019 GB, free: 77.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/4.246, allocations: 15.81 kB / 2.019 GB, free: 77.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/4.247, allocations: 1.007 MB / 2.02 GB, free: 76.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/4.247, allocations: 0 / 2.02 GB, free: 76.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/4.25, allocations: 1.213 MB / 2.022 GB, free: 76.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/4.25, allocations: 277 kB / 2.022 GB, free: 75.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/4.25, allocations: 9.562 kB / 2.022 GB, free: 75.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007548/4.251, allocations: 108.8 kB / 2.022 GB, free: 75.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/4.251, allocations: 33.19 kB / 2.022 GB, free: 75.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/4.251, allocations: 30.75 kB / 2.022 GB, free: 75.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009192/4.252, allocations: 0.7314 MB / 2.023 GB, free: 75.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/4.252, allocations: 3.781 kB / 2.023 GB, free: 75.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001483/4.254, allocations: 0.6124 MB / 2.023 GB, free: 75.76 MB / 0.6198 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 (35): * Single equations (assignments): 30 * 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.0009123/4.255, allocations: 0.6709 MB / 2.024 GB, free: 75.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002491/4.257, allocations: 1.078 MB / 2.025 GB, free: 75.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/4.257, allocations: 256 / 2.025 GB, free: 75.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007409/4.258, allocations: 356.9 kB / 2.025 GB, free: 75.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/4.26, allocations: 0.5326 MB / 2.026 GB, free: 75.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/4.263, allocations: 2.185 MB / 2.028 GB, free: 74.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/4.263, allocations: 1.066 MB / 2.029 GB, free: 73.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008304/4.264, allocations: 219.4 kB / 2.029 GB, free: 73.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/4.264, allocations: 78.92 kB / 2.029 GB, free: 73.31 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/4.264, allocations: 0 / 2.029 GB, free: 73.31 MB / 0.6198 GB Notification: Performance of Templates: time 0.03594/4.3, allocations: 27.62 MB / 2.056 GB, free: 58.35 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)