Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002508/0.002513, allocations: 356 kB / 16.58 MB, free: 5.574 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.557/1.557, allocations: 165.8 MB / 183.1 MB, free: 5.402 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.764/3.764, allocations: 410.7 MB / 0.6001 GB, free: 15.07 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.001779/0.001779, allocations: 190.2 kB / 0.6668 GB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004725, allocations: 16 kB / 0.7429 GB, free: 8.938 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4317, allocations: 67.44 MB / 0.8087 GB, free: 28.76 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.359/1.791, allocations: 384.2 MB / 1.184 GB, free: 157.6 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/1.791, allocations: 97.69 kB / 1.184 GB, free: 157.6 MB / 0.573 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/Chillers/Validation/Carnot_TEva_2ndLaw.mo:81:5-96:72:writable] Error: Variable chi_b.chi: Cyclically dependent constants or parameters found in scope IBPSA.Fluid.Chillers.Carnot_TEva$chi_b$chi: {COP_nominal,etaCarnot_nominal} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd - DAE generated: time 3.715/5.506, allocations: 0.7641 GB / 1.948 GB, free: 69.26 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.793e-06/5.506, allocations: 5.719 kB / 1.948 GB, free: 69.26 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001982/5.506, allocations: 40.64 kB / 1.948 GB, free: 69.25 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.006398/5.513, allocations: 2.031 MB / 1.95 GB, free: 68.11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/5.513, allocations: 10.5 kB / 1.95 GB, free: 68.11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/5.517, allocations: 482.2 kB / 1.951 GB, free: 68.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005537/5.522, allocations: 1.748 MB / 1.952 GB, free: 67.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006469/5.523, allocations: 148.4 kB / 1.952 GB, free: 67.63 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/5.523, allocations: 109.1 kB / 1.953 GB, free: 67.63 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003852/5.527, allocations: 1.317 MB / 1.954 GB, free: 67.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/5.527, allocations: 3.781 kB / 1.954 GB, free: 67.38 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/5.527, allocations: 41.38 kB / 1.954 GB, free: 67.38 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/5.527, allocations: 25.28 kB / 1.954 GB, free: 67.38 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004456/5.532, allocations: 1.158 MB / 1.955 GB, free: 67.37 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.01192/5.544, allocations: 6.842 MB / 1.962 GB, free: 63.73 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005277/5.549, allocations: 0.9332 MB / 1.963 GB, free: 63.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/5.55, allocations: 311.4 kB / 1.963 GB, free: 63.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/5.551, allocations: 1.734 MB / 1.965 GB, free: 61.68 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/5.552, allocations: 39.78 kB / 1.965 GB, free: 61.64 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=53): time 3.166e-06/5.552, allocations: 0 / 1.965 GB, free: 61.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=53): time 0.01207/5.564, allocations: 1.807 MB / 1.966 GB, free: 61.13 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/5.564, allocations: 59.47 kB / 1.966 GB, free: 61.07 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003369/5.567, allocations: 1.518 MB / 1.968 GB, free: 60.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001826/5.567, allocations: 41.11 kB / 1.968 GB, free: 60.42 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006534/5.568, allocations: 0.6644 MB / 1.969 GB, free: 59.89 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/5.568, allocations: 190.5 kB / 1.969 GB, free: 59.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-05/5.568, allocations: 15.22 kB / 1.969 GB, free: 59.74 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/5.568, allocations: 332.6 kB / 1.969 GB, free: 59.42 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/5.57, allocations: 386.8 kB / 1.97 GB, free: 59.31 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/5.572, allocations: 0.6965 MB / 1.97 GB, free: 58.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/5.574, allocations: 450.5 kB / 1.971 GB, free: 58.64 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/5.574, allocations: 0 / 1.971 GB, free: 58.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004859/5.579, allocations: 1.246 MB / 1.972 GB, free: 58.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/5.579, allocations: 7.188 kB / 1.972 GB, free: 58.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/5.579, allocations: 15.8 kB / 1.972 GB, free: 58.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/5.58, allocations: 262.1 kB / 1.972 GB, free: 58.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/5.582, allocations: 197.4 kB / 1.972 GB, free: 58.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/5.583, allocations: 0.7772 MB / 1.973 GB, free: 57.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/5.586, allocations: 254.8 kB / 1.973 GB, free: 57.37 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002986/5.587, allocations: 49.62 kB / 1.973 GB, free: 57.36 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (77): * Single equations (assignments): 76 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.001189/5.588, allocations: 364.7 kB / 1.974 GB, free: 57.09 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004783/5.588, allocations: 146.7 kB / 1.974 GB, free: 57.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004013/5.592, allocations: 1.229 MB / 1.975 GB, free: 56.56 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/5.592, allocations: 18.95 kB / 1.975 GB, free: 56.55 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/5.592, allocations: 2.75 kB / 1.975 GB, free: 56.55 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/5.592, allocations: 3.891 kB / 1.975 GB, free: 56.55 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008376/5.601, allocations: 2.647 MB / 1.978 GB, free: 55.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/5.601, allocations: 0 / 1.978 GB, free: 55.33 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007272/5.602, allocations: 96.16 kB / 1.978 GB, free: 55.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/5.603, allocations: 258.4 kB / 1.978 GB, free: 55.27 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/5.603, allocations: 23.41 kB / 1.978 GB, free: 55.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/5.604, allocations: 0.7788 MB / 1.979 GB, free: 54.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/5.604, allocations: 0 / 1.979 GB, free: 54.62 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0059/5.61, allocations: 1.353 MB / 1.98 GB, free: 54.04 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007898/5.611, allocations: 365.9 kB / 1.98 GB, free: 53.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/5.611, allocations: 10.78 kB / 1.98 GB, free: 53.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/5.613, allocations: 108.1 kB / 1.981 GB, free: 53.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/5.613, allocations: 48.03 kB / 1.981 GB, free: 53.72 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.132e-05/5.613, allocations: 32.56 kB / 1.981 GB, free: 53.71 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002571/5.616, allocations: 1.067 MB / 1.982 GB, free: 53.28 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/5.616, allocations: 3.812 kB / 1.982 GB, free: 53.28 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002001/5.618, allocations: 492.5 kB / 1.982 GB, free: 53.15 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (55): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001644/5.62, allocations: 0.8026 MB / 1.983 GB, free: 52.84 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00344/5.623, allocations: 0.892 MB / 1.984 GB, free: 52.56 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/5.623, allocations: 0 / 1.984 GB, free: 52.56 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/5.625, allocations: 435.1 kB / 1.984 GB, free: 52.43 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005733/5.63, allocations: 0.7394 MB / 1.985 GB, free: 52.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006045/5.636, allocations: 2.744 MB / 1.988 GB, free: 50.67 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/5.637, allocations: 1.201 MB / 1.989 GB, free: 49.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001972/5.639, allocations: 262.3 kB / 1.989 GB, free: 49.88 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/5.64, allocations: 124 kB / 1.989 GB, free: 49.86 MB / 0.5886 GB Notification: Performance of SimCode: time 1.653e-06/5.64, allocations: 0 / 1.989 GB, free: 49.86 MB / 0.5886 GB Notification: Performance of Templates: time 0.07791/5.718, allocations: 33.78 MB / 2.022 GB, free: 17.04 MB / 0.5886 GB