Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_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_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009323/0.0009324, allocations: 167.3 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.4461/0.4461, 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.351/1.351, allocations: 223.2 MB / 348.4 MB, free: 5.008 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.000823/0.0008232, allocations: 106.5 kB / 420.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003954, allocations: 12 kB / 0.4901 GB, free: 8.023 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3068, allocations: 71.02 MB / 0.5595 GB, free: 43.83 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8447/1.151, allocations: 380.5 MB / 0.931 GB, free: 234.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/1.152, allocations: 93.75 kB / 0.9311 GB, free: 234.5 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/HeatPumps/Examples/Carnot_y.mo:20:3-34:67:writable] Error: Variable heaPum: Cyclically dependent constants or parameters found in scope IBPSA.Fluid.HeatPumps.Carnot_y$heaPum: {COP_nominal,etaCarnot_nominal} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd - DAE generated: time 2.407/3.559, allocations: 0.8458 GB / 1.777 GB, free: 72.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.092e-06/3.559, allocations: 0 / 1.777 GB, free: 72.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002141/3.559, allocations: 39.38 kB / 1.777 GB, free: 72.48 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.004963/3.564, allocations: 2.003 MB / 1.779 GB, free: 71.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/3.564, allocations: 10.41 kB / 1.779 GB, free: 71.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/3.566, allocations: 236 kB / 1.779 GB, free: 71.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/3.569, allocations: 1.708 MB / 1.781 GB, free: 70.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.671e-05/3.569, allocations: 78.91 kB / 1.781 GB, free: 70.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/3.57, allocations: 103 kB / 1.781 GB, free: 70.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/3.572, allocations: 1.09 MB / 1.782 GB, free: 69.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/3.572, allocations: 14.95 kB / 1.782 GB, free: 69.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/3.572, allocations: 43.12 kB / 1.782 GB, free: 69.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/3.572, allocations: 29.52 kB / 1.782 GB, free: 69.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/3.574, allocations: 0.9117 MB / 1.783 GB, free: 69.32 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.006495/3.581, allocations: 4.715 MB / 1.788 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/3.582, allocations: 0.612 MB / 1.788 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005846/3.582, allocations: 341.7 kB / 1.789 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005015/3.583, allocations: 0.8306 MB / 1.789 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/3.583, allocations: 42.66 kB / 1.789 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 3.006e-06/3.583, allocations: 0 / 1.789 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.006858/3.59, allocations: 1.951 MB / 1.791 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/3.59, allocations: 57.66 kB / 1.791 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/3.592, allocations: 1.207 MB / 1.793 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/3.592, allocations: 45.55 kB / 1.793 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/3.593, allocations: 0.6217 MB / 1.793 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/3.593, allocations: 210.8 kB / 1.793 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/3.593, allocations: 12 kB / 1.793 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.463e-05/3.593, allocations: 334.3 kB / 1.794 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/3.594, allocations: 274.8 kB / 1.794 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007656/3.594, allocations: 0.5039 MB / 1.794 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/3.596, allocations: 0.7021 MB / 1.795 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/3.596, allocations: 0 / 1.795 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004365/3.6, allocations: 1.35 MB / 1.796 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-05/3.6, allocations: 200.7 kB / 1.797 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/3.6, allocations: 3.844 kB / 1.797 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006512/3.601, allocations: 165.4 kB / 1.797 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/3.601, allocations: 146.1 kB / 1.797 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007463/3.602, allocations: 0.7353 MB / 1.798 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/3.604, allocations: 164.9 kB / 1.798 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/3.604, allocations: 38.58 kB / 1.798 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/3.604, allocations: 3.438 kB / 1.798 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003809/3.608, allocations: 1.202 MB / 1.799 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/3.608, allocations: 6.938 kB / 1.799 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/3.608, allocations: 164.4 kB / 1.799 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/3.609, allocations: 151.8 kB / 1.799 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007408/3.609, allocations: 0.734 MB / 1.8 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/3.611, allocations: 147.2 kB / 1.8 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/3.611, allocations: 31.98 kB / 1.8 GB, free: 57.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (71): * Single equations (assignments): 70 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008719/3.612, allocations: 424.8 kB / 1.801 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003813/3.612, allocations: 134.3 kB / 1.801 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004206/3.616, allocations: 1.344 MB / 1.802 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/3.616, allocations: 11.98 kB / 1.802 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/3.616, allocations: 3.938 kB / 1.802 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003513/3.62, allocations: 1.224 MB / 1.803 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006477/3.626, allocations: 2.668 MB / 1.806 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/3.626, allocations: 4 kB / 1.806 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/3.627, allocations: 132.2 kB / 1.806 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005323/3.627, allocations: 148.7 kB / 1.806 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/3.628, allocations: 23.98 kB / 1.806 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006343/3.628, allocations: 0.7319 MB / 1.807 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/3.628, allocations: 11.92 kB / 1.807 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004704/3.633, allocations: 1.835 MB / 1.809 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008338/3.634, allocations: 327.1 kB / 1.809 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/3.634, allocations: 16 kB / 1.809 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/3.635, allocations: 87.83 kB / 1.809 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/3.635, allocations: 55.78 kB / 1.809 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/3.635, allocations: 27.98 kB / 1.809 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00133/3.637, allocations: 0.8584 MB / 1.81 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/3.637, allocations: 0 / 1.81 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002411/3.639, allocations: 0.7446 MB / 1.811 GB, free: 46.05 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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 (55): * Single equations (assignments): 50 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001915/3.641, allocations: 0.7275 MB / 1.811 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002745/3.644, allocations: 1.112 MB / 1.813 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/3.644, allocations: 0 / 1.813 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008612/3.645, allocations: 411.3 kB / 1.813 GB, free: 43.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004429/3.649, allocations: 0.777 MB / 1.814 GB, free: 43.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/3.654, allocations: 2.769 MB / 1.816 GB, free: 40.37 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008036/3.654, allocations: 1.169 MB / 1.818 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001622/3.656, allocations: 303.5 kB / 1.818 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/3.656, allocations: 107.4 kB / 1.818 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of SimCode: time 6.61e-07/3.656, allocations: 0 / 1.818 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.04673/3.703, allocations: 33.75 MB / 1.851 GB, free: 5.887 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)