Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002616/0.002622, allocations: 362.1 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.446/1.446, allocations: 165.8 MB / 183.1 MB, free: 5.547 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.855/3.855, allocations: 410.7 MB / 0.6001 GB, free: 15.17 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001723/0.001723, allocations: 193.7 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004595, allocations: 12 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4261, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.301/1.727, allocations: 378.3 MB / 1.178 GB, free: 159 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/1.727, allocations: 98.44 kB / 1.178 GB, free: 159 MB / 0.573 GB [/var/lib/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.545/4.272, allocations: 0.5461 GB / 1.724 GB, free: 78.93 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.505e-06/4.272, allocations: 1.969 kB / 1.724 GB, free: 78.93 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002318/4.273, allocations: 38.7 kB / 1.724 GB, free: 78.92 MB / 0.573 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.007691/4.28, allocations: 2.012 MB / 1.726 GB, free: 77.48 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/4.28, allocations: 7.562 kB / 1.726 GB, free: 77.48 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/4.282, allocations: 237.6 kB / 1.727 GB, free: 77.37 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006003/4.288, allocations: 1.662 MB / 1.728 GB, free: 76.16 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/4.288, allocations: 77.61 kB / 1.728 GB, free: 76.12 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/4.289, allocations: 100.1 kB / 1.728 GB, free: 76.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003449/4.292, allocations: 1.102 MB / 1.729 GB, free: 75.42 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-05/4.292, allocations: 0 / 1.729 GB, free: 75.42 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/4.292, allocations: 39.47 kB / 1.729 GB, free: 75.39 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/4.292, allocations: 30.62 kB / 1.729 GB, free: 75.38 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003537/4.296, allocations: 0.9078 MB / 1.73 GB, free: 74.87 MB / 0.573 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.009828/4.306, allocations: 4.685 MB / 1.735 GB, free: 70.04 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/4.308, allocations: 0.6406 MB / 1.736 GB, free: 69.4 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/4.31, allocations: 372.7 kB / 1.736 GB, free: 69.04 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006961/4.31, allocations: 0.8281 MB / 1.737 GB, free: 68.03 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/4.31, allocations: 46.12 kB / 1.737 GB, free: 67.98 MB / 0.573 GB Notification: Performance of pre-optimization done (n=63): time 3.216e-06/4.31, allocations: 0 / 1.737 GB, free: 67.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=63): time 0.0128/4.323, allocations: 1.844 MB / 1.739 GB, free: 66.12 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/4.323, allocations: 63.91 kB / 1.739 GB, free: 66.05 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/4.326, allocations: 1.179 MB / 1.74 GB, free: 64.85 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002373/4.326, allocations: 41.7 kB / 1.74 GB, free: 64.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006215/4.327, allocations: 0.6211 MB / 1.74 GB, free: 64.18 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/4.327, allocations: 216.1 kB / 1.741 GB, free: 63.96 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/4.327, allocations: 12 kB / 1.741 GB, free: 63.95 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.062e-05/4.327, allocations: 330 kB / 1.741 GB, free: 63.62 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/4.328, allocations: 273.1 kB / 1.741 GB, free: 63.36 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/4.33, allocations: 0.5156 MB / 1.742 GB, free: 62.75 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/4.331, allocations: 336.2 kB / 1.742 GB, free: 62.43 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/4.331, allocations: 4 kB / 1.742 GB, free: 62.42 MB / 0.573 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.008446/4.34, allocations: 1.353 MB / 1.743 GB, free: 61.05 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/4.34, allocations: 193.3 kB / 1.744 GB, free: 60.82 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/4.34, allocations: 4 kB / 1.744 GB, free: 60.82 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000929/4.341, allocations: 144.7 kB / 1.744 GB, free: 60.67 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/4.342, allocations: 159.8 kB / 1.744 GB, free: 60.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/4.343, allocations: 0.7215 MB / 1.745 GB, free: 59.77 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/4.346, allocations: 155.1 kB / 1.745 GB, free: 59.62 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/4.346, allocations: 35.98 kB / 1.745 GB, free: 59.59 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/4.346, allocations: 4 kB / 1.745 GB, free: 59.58 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00793/4.354, allocations: 1.185 MB / 1.746 GB, free: 58.39 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/4.354, allocations: 4.312 kB / 1.746 GB, free: 58.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008242/4.355, allocations: 148.7 kB / 1.746 GB, free: 58.24 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/4.356, allocations: 151.8 kB / 1.746 GB, free: 58.09 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/4.357, allocations: 0.7259 MB / 1.747 GB, free: 57.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/4.359, allocations: 139.2 kB / 1.747 GB, free: 57.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/4.359, allocations: 35.94 kB / 1.747 GB, free: 57.17 MB / 0.573 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.001018/4.36, allocations: 429.1 kB / 1.747 GB, free: 56.74 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004212/4.361, allocations: 134.3 kB / 1.748 GB, free: 56.61 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008217/4.369, allocations: 1.404 MB / 1.749 GB, free: 55.18 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/4.369, allocations: 12 kB / 1.749 GB, free: 55.17 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.547e-06/4.369, allocations: 0 / 1.749 GB, free: 55.17 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007885/4.377, allocations: 1.237 MB / 1.75 GB, free: 53.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/4.388, allocations: 2.693 MB / 1.753 GB, free: 51.11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/4.389, allocations: 4 kB / 1.753 GB, free: 51.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/4.39, allocations: 128.3 kB / 1.753 GB, free: 50.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008031/4.39, allocations: 140.7 kB / 1.753 GB, free: 50.84 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.793e-05/4.39, allocations: 23.86 kB / 1.753 GB, free: 50.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007465/4.398, allocations: 2.478 MB / 1.756 GB, free: 48.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/4.398, allocations: 4 kB / 1.756 GB, free: 48.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009398/4.407, allocations: 1.85 MB / 1.757 GB, free: 46.28 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/4.408, allocations: 323 kB / 1.758 GB, free: 45.95 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/4.409, allocations: 23.98 kB / 1.758 GB, free: 45.92 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/4.411, allocations: 91.83 kB / 1.758 GB, free: 45.83 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/4.411, allocations: 56.27 kB / 1.758 GB, free: 45.78 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/4.411, allocations: 36.08 kB / 1.758 GB, free: 45.74 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001722/4.413, allocations: 0.8542 MB / 1.759 GB, free: 44.89 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.3e-07/4.413, allocations: 0 / 1.759 GB, free: 44.89 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00311/4.416, allocations: 0.7486 MB / 1.759 GB, free: 44.14 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (57): * Single equations (assignments): 52 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001703/4.417, allocations: 0.7329 MB / 1.76 GB, free: 43.51 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004041/4.422, allocations: 1.086 MB / 1.761 GB, free: 42.42 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/4.422, allocations: 4.312 kB / 1.761 GB, free: 42.42 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002426/4.424, allocations: 0.5954 MB / 1.762 GB, free: 41.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00679/4.431, allocations: 0.7992 MB / 1.763 GB, free: 41.06 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/4.437, allocations: 2.773 MB / 1.765 GB, free: 38.22 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007537/4.438, allocations: 1.2 MB / 1.766 GB, free: 37 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002121/4.44, allocations: 298.6 kB / 1.767 GB, free: 36.72 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004102/4.44, allocations: 111.4 kB / 1.767 GB, free: 36.61 MB / 0.573 GB Notification: Performance of SimCode: time 9.82e-07/4.44, allocations: 0 / 1.767 GB, free: 36.61 MB / 0.573 GB Notification: Performance of Templates: time 0.0769/4.517, allocations: 32.94 MB / 1.799 GB, free: 4.34 MB / 0.573 GB