Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 170.8 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.474/0.474, 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.29/1.29, allocations: 223.3 MB / 348.4 MB, free: 4.953 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.0008168/0.0008169, allocations: 89.86 kB / 420.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 16 kB / 0.4901 GB, free: 7.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3272, allocations: 71.02 MB / 0.5595 GB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8912/1.219, allocations: 384.9 MB / 0.9353 GB, free: 232.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/1.219, allocations: 102.6 kB / 0.9354 GB, free: 232.5 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 2.92/4.138, allocations: 1.057 GB / 1.992 GB, free: 86.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.422e-06/4.138, allocations: 0 / 1.992 GB, free: 86.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001799/4.139, allocations: 32.02 kB / 1.992 GB, free: 86.16 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.004195/4.143, allocations: 1.694 MB / 1.994 GB, free: 85.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/4.143, allocations: 12.41 kB / 1.994 GB, free: 85.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/4.145, allocations: 442.9 kB / 1.994 GB, free: 85.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/4.148, allocations: 1.349 MB / 1.996 GB, free: 84.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/4.148, allocations: 138.5 kB / 1.996 GB, free: 84.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/4.149, allocations: 84.19 kB / 1.996 GB, free: 84.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/4.151, allocations: 1.005 MB / 1.997 GB, free: 84.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/4.151, allocations: 3.938 kB / 1.997 GB, free: 84.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/4.151, allocations: 30.56 kB / 1.997 GB, free: 84.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/4.151, allocations: 18.88 kB / 1.997 GB, free: 84.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/4.153, allocations: 0.9092 MB / 1.998 GB, free: 84.64 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.006192/4.159, allocations: 4.589 MB / 2.002 GB, free: 82.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/4.162, allocations: 0.8908 MB / 2.003 GB, free: 82.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00064/4.163, allocations: 320.6 kB / 2.004 GB, free: 82.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005217/4.163, allocations: 0.9091 MB / 2.004 GB, free: 81.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/4.163, allocations: 44.72 kB / 2.004 GB, free: 81.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 3.787e-06/4.163, allocations: 1.75 kB / 2.004 GB, free: 81.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.007571/4.171, allocations: 2.157 MB / 2.007 GB, free: 81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/4.171, allocations: 66.38 kB / 2.007 GB, free: 80.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/4.173, allocations: 1.049 MB / 2.008 GB, free: 80.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.093e-05/4.173, allocations: 47.38 kB / 2.008 GB, free: 80.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/4.173, allocations: 0.525 MB / 2.008 GB, free: 80.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/4.173, allocations: 165.6 kB / 2.008 GB, free: 80.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/4.173, allocations: 11.59 kB / 2.008 GB, free: 80.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.224e-05/4.173, allocations: 330.8 kB / 2.009 GB, free: 80.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007454/4.174, allocations: 315.1 kB / 2.009 GB, free: 80.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000881/4.175, allocations: 0.5628 MB / 2.01 GB, free: 79.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/4.177, allocations: 0.7099 MB / 2.01 GB, free: 79.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/4.177, allocations: 0 / 2.01 GB, free: 79.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003579/4.18, allocations: 1.249 MB / 2.011 GB, free: 79.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.303e-05/4.18, allocations: 207.2 kB / 2.012 GB, free: 79.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/4.18, allocations: 3.344 kB / 2.012 GB, free: 79.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/4.182, allocations: 361.9 kB / 2.012 GB, free: 79.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/4.182, allocations: 130.8 kB / 2.012 GB, free: 79.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/4.183, allocations: 0.9699 MB / 2.013 GB, free: 78.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/4.185, allocations: 199.6 kB / 2.013 GB, free: 78.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-05/4.185, allocations: 34.31 kB / 2.013 GB, free: 78.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/4.185, allocations: 5.219 kB / 2.013 GB, free: 78.82 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003224/4.188, allocations: 1.112 MB / 2.014 GB, free: 78.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/4.188, allocations: 6.25 kB / 2.014 GB, free: 78.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/4.189, allocations: 357 kB / 2.015 GB, free: 78.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/4.19, allocations: 123 kB / 2.015 GB, free: 78.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001213/4.191, allocations: 0.9644 MB / 2.016 GB, free: 78.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/4.192, allocations: 177.2 kB / 2.016 GB, free: 78.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/4.192, allocations: 33.89 kB / 2.016 GB, free: 78.18 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.0007319/4.193, allocations: 354 kB / 2.016 GB, free: 77.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/4.193, allocations: 117.6 kB / 2.016 GB, free: 77.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/4.197, allocations: 1.211 MB / 2.018 GB, free: 77.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/4.197, allocations: 10.36 kB / 2.018 GB, free: 77.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/4.197, allocations: 0 / 2.018 GB, free: 77.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/4.197, allocations: 3.609 kB / 2.018 GB, free: 77.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004993/4.202, allocations: 2.293 MB / 2.02 GB, free: 77.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/4.202, allocations: 3.719 kB / 2.02 GB, free: 77.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/4.202, allocations: 78.03 kB / 2.02 GB, free: 77.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/4.203, allocations: 358 kB / 2.02 GB, free: 77.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/4.203, allocations: 17.19 kB / 2.02 GB, free: 77.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/4.205, allocations: 1.005 MB / 2.021 GB, free: 76.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/4.205, allocations: 3.281 kB / 2.021 GB, free: 76.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003282/4.208, allocations: 1.301 MB / 2.023 GB, free: 76.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006192/4.209, allocations: 286.8 kB / 2.023 GB, free: 76.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/4.209, allocations: 18.47 kB / 2.023 GB, free: 76.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009442/4.21, allocations: 108.8 kB / 2.023 GB, free: 76.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/4.21, allocations: 42.38 kB / 2.023 GB, free: 76.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-05/4.21, allocations: 22.25 kB / 2.023 GB, free: 76.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001204/4.211, allocations: 0.7367 MB / 2.024 GB, free: 76.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/4.211, allocations: 0 / 2.024 GB, free: 76.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001918/4.213, allocations: 0.6123 MB / 2.024 GB, free: 76.09 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 (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.001184/4.214, allocations: 0.6428 MB / 2.025 GB, free: 75.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003118/4.217, allocations: 1.2 MB / 2.026 GB, free: 75.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/4.217, allocations: 7.625 kB / 2.026 GB, free: 75.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008012/4.218, allocations: 383.3 kB / 2.027 GB, free: 75.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/4.221, allocations: 0.5268 MB / 2.027 GB, free: 75.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/4.226, allocations: 2.493 MB / 2.03 GB, free: 74.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/4.227, allocations: 1.064 MB / 2.031 GB, free: 73.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001128/4.228, allocations: 221.4 kB / 2.031 GB, free: 73.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/4.228, allocations: 82.05 kB / 2.031 GB, free: 73.46 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/4.228, allocations: 3.75 kB / 2.031 GB, free: 73.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.04015/4.269, allocations: 27.55 MB / 2.058 GB, free: 56.74 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)