Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002539/0.002539, allocations: 357.8 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.419/1.419, allocations: 165.8 MB / 183.1 MB, free: 5.488 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.74/3.74, 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.001794/0.001794, allocations: 199.1 kB / 0.6668 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006357/0.0006359, allocations: 12 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4059, allocations: 67.43 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/1.706, allocations: 382.7 MB / 1.182 GB, free: 158.4 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/1.707, allocations: 100.9 kB / 1.183 GB, free: 158.4 MB / 0.573 GB [/var/lib/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.374/5.081, allocations: 0.634 GB / 1.817 GB, free: 78.44 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.685e-06/5.081, allocations: 0 / 1.817 GB, free: 78.44 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001735/5.081, allocations: 39.36 kB / 1.817 GB, free: 78.44 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005762/5.087, allocations: 1.701 MB / 1.818 GB, free: 77.83 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/5.087, allocations: 11.78 kB / 1.818 GB, free: 77.83 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004127/5.091, allocations: 440.6 kB / 1.819 GB, free: 77.76 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005186/5.096, allocations: 1.32 MB / 1.82 GB, free: 77.46 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006815/5.097, allocations: 130.9 kB / 1.82 GB, free: 77.46 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002937/5.097, allocations: 81.94 kB / 1.82 GB, free: 77.46 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/5.101, allocations: 1.004 MB / 1.821 GB, free: 77.29 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/5.101, allocations: 1.156 kB / 1.821 GB, free: 77.29 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/5.101, allocations: 34.06 kB / 1.821 GB, free: 77.29 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/5.101, allocations: 18.97 kB / 1.821 GB, free: 77.29 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00459/5.106, allocations: 0.902 MB / 1.822 GB, free: 77.28 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.01081/5.117, allocations: 4.544 MB / 1.827 GB, free: 75.01 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00654/5.123, allocations: 0.9129 MB / 1.827 GB, free: 74.98 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/5.125, allocations: 324.6 kB / 1.828 GB, free: 74.97 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007072/5.126, allocations: 0.9078 MB / 1.829 GB, free: 73.94 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/5.126, allocations: 39.41 kB / 1.829 GB, free: 73.9 MB / 0.573 GB Notification: Performance of pre-optimization done (n=48): time 4.328e-06/5.126, allocations: 5.766 kB / 1.829 GB, free: 73.9 MB / 0.573 GB Notification: Performance of matching and sorting (n=48): time 0.01603/5.142, allocations: 2.17 MB / 1.831 GB, free: 73.7 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/5.142, allocations: 61.31 kB / 1.831 GB, free: 73.64 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/5.144, allocations: 1.041 MB / 1.832 GB, free: 73.49 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002013/5.144, allocations: 40.61 kB / 1.832 GB, free: 73.46 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/5.145, allocations: 0.5161 MB / 1.832 GB, free: 73.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/5.145, allocations: 165.4 kB / 1.833 GB, free: 73.22 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/5.145, allocations: 13.88 kB / 1.833 GB, free: 73.22 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.991e-05/5.145, allocations: 326.2 kB / 1.833 GB, free: 72.91 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/5.147, allocations: 311 kB / 1.833 GB, free: 72.91 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/5.149, allocations: 0.5645 MB / 1.834 GB, free: 72.63 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/5.15, allocations: 357.5 kB / 1.834 GB, free: 72.62 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/5.15, allocations: 0 / 1.834 GB, free: 72.62 MB / 0.573 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00741/5.158, allocations: 1.238 MB / 1.835 GB, free: 72.51 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/5.158, allocations: 215.4 kB / 1.835 GB, free: 72.28 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/5.158, allocations: 3.719 kB / 1.835 GB, free: 72.28 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/5.16, allocations: 365.8 kB / 1.836 GB, free: 72.27 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/5.162, allocations: 127.7 kB / 1.836 GB, free: 72.27 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002569/5.164, allocations: 0.9777 MB / 1.837 GB, free: 71.74 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002699/5.167, allocations: 189.6 kB / 1.837 GB, free: 71.72 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/5.167, allocations: 31.95 kB / 1.837 GB, free: 71.72 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/5.167, allocations: 6.906 kB / 1.837 GB, free: 71.72 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007191/5.174, allocations: 1.106 MB / 1.838 GB, free: 71.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/5.174, allocations: 3.656 kB / 1.838 GB, free: 71.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/5.176, allocations: 354.7 kB / 1.839 GB, free: 71.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/5.178, allocations: 132.1 kB / 1.839 GB, free: 71.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/5.18, allocations: 0.9629 MB / 1.84 GB, free: 71.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/5.182, allocations: 174.1 kB / 1.84 GB, free: 71.15 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/5.182, allocations: 28.5 kB / 1.84 GB, free: 71.15 MB / 0.573 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 (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.0008252/5.183, allocations: 355.1 kB / 1.84 GB, free: 70.96 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/5.184, allocations: 109.7 kB / 1.84 GB, free: 70.91 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006714/5.19, allocations: 1.233 MB / 1.841 GB, free: 70.82 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/5.19, allocations: 6.719 kB / 1.841 GB, free: 70.82 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/5.19, allocations: 0 / 1.841 GB, free: 70.82 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/5.19, allocations: 4.5 kB / 1.841 GB, free: 70.82 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008893/5.199, allocations: 2.274 MB / 1.844 GB, free: 70.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/5.199, allocations: 7.234 kB / 1.844 GB, free: 70.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/5.2, allocations: 76.53 kB / 1.844 GB, free: 70.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/5.202, allocations: 360.8 kB / 1.844 GB, free: 70.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/5.202, allocations: 11.66 kB / 1.844 GB, free: 70.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/5.205, allocations: 1.006 MB / 1.845 GB, free: 69.87 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/5.205, allocations: 3.594 kB / 1.845 GB, free: 69.87 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006597/5.211, allocations: 1.305 MB / 1.846 GB, free: 69.59 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008897/5.212, allocations: 279.5 kB / 1.847 GB, free: 69.43 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/5.212, allocations: 13.81 kB / 1.847 GB, free: 69.43 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/5.214, allocations: 114.4 kB / 1.847 GB, free: 69.43 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/5.214, allocations: 33.25 kB / 1.847 GB, free: 69.42 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.73e-05/5.214, allocations: 34.84 kB / 1.847 GB, free: 69.42 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001703/5.216, allocations: 0.7293 MB / 1.848 GB, free: 69.31 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.8e-07/5.216, allocations: 0 / 1.848 GB, free: 69.31 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002604/5.219, allocations: 0.6094 MB / 1.848 GB, free: 69.25 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 {3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001493/5.22, allocations: 0.6559 MB / 1.849 GB, free: 69.08 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005726/5.226, allocations: 1.192 MB / 1.85 GB, free: 69.06 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/5.226, allocations: 0 / 1.85 GB, free: 69.06 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00175/5.228, allocations: 401.2 kB / 1.85 GB, free: 69.06 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004699/5.233, allocations: 0.5287 MB / 1.851 GB, free: 69.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008666/5.241, allocations: 2.478 MB / 1.853 GB, free: 68 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/5.242, allocations: 1.084 MB / 1.854 GB, free: 67.29 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001738/5.244, allocations: 229.5 kB / 1.855 GB, free: 67.28 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/5.244, allocations: 84.33 kB / 1.855 GB, free: 67.27 MB / 0.573 GB Notification: Performance of SimCode: time 1.282e-06/5.244, allocations: 0 / 1.855 GB, free: 67.27 MB / 0.573 GB Notification: Performance of Templates: time 0.06391/5.308, allocations: 26.95 MB / 1.881 GB, free: 65.86 MB / 0.573 GB