Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002568/0.002572, allocations: 354.5 kB / 16.58 MB, free: 5.566 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.469/1.469, allocations: 165.8 MB / 183.1 MB, free: 5.48 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.698/3.698, allocations: 410.8 MB / 0.6001 GB, free: 15.11 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.001795/0.001794, allocations: 194.9 kB / 0.6668 GB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004566, allocations: 12 kB / 0.7429 GB, free: 9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.3996, allocations: 67.44 MB / 0.8087 GB, free: 28.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.348/1.748, allocations: 382.8 MB / 1.183 GB, free: 157.9 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/1.748, allocations: 95.12 kB / 1.183 GB, free: 157.9 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 5.011/6.759, allocations: 1.037 GB / 2.22 GB, free: 34.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.795e-06/6.759, allocations: 0 / 2.22 GB, free: 34.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001994/6.76, allocations: 31.98 kB / 2.22 GB, free: 34.4 MB / 0.5886 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.006865/6.766, allocations: 1.707 MB / 2.221 GB, free: 32.63 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/6.766, allocations: 8.031 kB / 2.221 GB, free: 32.62 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004966/6.771, allocations: 442 kB / 2.222 GB, free: 32.19 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005073/6.777, allocations: 1.312 MB / 2.223 GB, free: 30.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006386/6.777, allocations: 133.9 kB / 2.223 GB, free: 30.69 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/6.777, allocations: 84 kB / 2.223 GB, free: 30.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/6.781, allocations: 1.002 MB / 2.224 GB, free: 29.56 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/6.781, allocations: 4 kB / 2.224 GB, free: 29.55 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/6.781, allocations: 32 kB / 2.224 GB, free: 29.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/6.781, allocations: 20 kB / 2.224 GB, free: 29.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003807/6.785, allocations: 0.9093 MB / 2.225 GB, free: 28.6 MB / 0.5886 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.009205/6.794, allocations: 4.572 MB / 2.23 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006327/6.8, allocations: 0.9309 MB / 2.231 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/6.802, allocations: 332.7 kB / 2.231 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006931/6.802, allocations: 0.9106 MB / 2.232 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/6.802, allocations: 43 kB / 2.232 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=49): time 3.116e-06/6.803, allocations: 0 / 2.232 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=49): time 0.01484/6.817, allocations: 2.044 MB / 2.234 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/6.817, allocations: 55.84 kB / 2.234 GB, free: 19.19 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/6.82, allocations: 1.047 MB / 2.235 GB, free: 18.12 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001693/6.82, allocations: 37.7 kB / 2.235 GB, free: 18.08 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000463/6.82, allocations: 0.5201 MB / 2.235 GB, free: 17.55 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/6.821, allocations: 177.5 kB / 2.236 GB, free: 17.38 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/6.821, allocations: 8 kB / 2.236 GB, free: 17.37 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.616e-05/6.821, allocations: 329.9 kB / 2.236 GB, free: 17.04 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/6.822, allocations: 316.9 kB / 2.236 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/6.824, allocations: 0.5619 MB / 2.237 GB, free: 16.06 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/6.826, allocations: 349.8 kB / 2.237 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/6.826, allocations: 8 kB / 2.237 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.007165/6.833, allocations: 1.238 MB / 2.238 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/6.833, allocations: 205.6 kB / 2.238 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/6.833, allocations: 4 kB / 2.238 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002285/6.835, allocations: 373.5 kB / 2.239 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/6.836, allocations: 127.8 kB / 2.239 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/6.839, allocations: 0.9776 MB / 2.24 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/6.841, allocations: 199.2 kB / 2.24 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/6.842, allocations: 31.98 kB / 2.24 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/6.842, allocations: 0 / 2.24 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006773/6.848, allocations: 1.117 MB / 2.241 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/6.848, allocations: 4 kB / 2.241 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/6.85, allocations: 360.7 kB / 2.242 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009973/6.851, allocations: 123.8 kB / 2.242 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/6.854, allocations: 0.9767 MB / 2.243 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/6.856, allocations: 163.4 kB / 2.243 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/6.856, allocations: 35.97 kB / 2.243 GB, free: 9.691 MB / 0.5886 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.0008209/6.857, allocations: 360.9 kB / 2.243 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/6.857, allocations: 114.6 kB / 2.243 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004098/6.861, allocations: 1.054 MB / 2.244 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/6.861, allocations: 11.94 kB / 2.244 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/6.861, allocations: 0 / 2.244 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/6.861, allocations: 3.984 kB / 2.244 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008201/6.87, allocations: 2.304 MB / 2.247 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/6.87, allocations: 4 kB / 2.247 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005643/6.87, allocations: 84.16 kB / 2.247 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001893/6.872, allocations: 358.7 kB / 2.247 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/6.872, allocations: 16 kB / 2.247 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/6.874, allocations: 1.005 MB / 2.248 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/6.874, allocations: 0 / 2.248 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006156/6.881, allocations: 1.299 MB / 2.249 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005847/6.881, allocations: 283.4 kB / 2.25 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/6.881, allocations: 8 kB / 2.25 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/6.883, allocations: 107.9 kB / 2.25 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/6.883, allocations: 48.22 kB / 2.25 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.171e-05/6.883, allocations: 27.98 kB / 2.25 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001586/6.885, allocations: 0.7313 MB / 2.25 GB, free: 1.688 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.31e-07/6.885, allocations: 0 / 2.25 GB, free: 1.688 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002167/6.887, allocations: 0.6005 MB / 2.251 GB, free: 1.086 MB / 0.5886 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 (37): * Single equations (assignments): 32 * 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.001377/6.888, allocations: 0.6571 MB / 2.252 GB, free: 480 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.4388/7.327, allocations: 1.201 MB / 2.253 GB, free: 78.04 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/7.327, allocations: 0 / 2.253 GB, free: 78.04 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/7.329, allocations: 386.5 kB / 2.253 GB, free: 78.04 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004908/7.334, allocations: 0.5267 MB / 2.254 GB, free: 78.04 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009496/7.344, allocations: 2.483 MB / 2.256 GB, free: 76.99 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/7.344, allocations: 1.09 MB / 2.257 GB, free: 76.29 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001898/7.346, allocations: 227.6 kB / 2.257 GB, free: 76.28 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/7.347, allocations: 79.02 kB / 2.257 GB, free: 76.27 MB / 0.5886 GB Notification: Performance of SimCode: time 1.583e-06/7.347, allocations: 0 / 2.257 GB, free: 76.27 MB / 0.5886 GB Notification: Performance of Templates: time 0.0654/7.412, allocations: 27.07 MB / 2.284 GB, free: 75.76 MB / 0.5886 GB