Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002635/0.002639, allocations: 358.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.42/1.42, allocations: 165.8 MB / 183.1 MB, free: 5.414 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.639/3.639, allocations: 410.7 MB / 0.6001 GB, free: 15.23 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.001832/0.001832, allocations: 197.3 kB / 0.6668 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004862, allocations: 15.94 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.404, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.327/1.731, allocations: 382.8 MB / 1.183 GB, free: 158.1 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/1.731, allocations: 95.11 kB / 1.183 GB, free: 158.1 MB / 0.573 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/Fluid/HeatPumps/Validation/Carnot_TCon_reverseFlow.mo:33:3-47: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.41/5.141, allocations: 0.6344 GB / 1.817 GB, free: 80.4 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.084e-06/5.141, allocations: 2.281 kB / 1.817 GB, free: 80.4 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001806/5.141, allocations: 31.12 kB / 1.817 GB, free: 80.4 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006121/5.147, allocations: 1.715 MB / 1.819 GB, free: 79.77 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/5.148, allocations: 9.922 kB / 1.819 GB, free: 79.77 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/5.152, allocations: 499.9 kB / 1.819 GB, free: 79.7 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/5.157, allocations: 1.32 MB / 1.82 GB, free: 79.4 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000668/5.158, allocations: 133.2 kB / 1.821 GB, free: 79.39 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/5.158, allocations: 83.42 kB / 1.821 GB, free: 79.39 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003432/5.162, allocations: 1.029 MB / 1.822 GB, free: 79.26 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/5.162, allocations: 1.406 kB / 1.822 GB, free: 79.26 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/5.162, allocations: 33.94 kB / 1.822 GB, free: 79.26 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/5.162, allocations: 19.56 kB / 1.822 GB, free: 79.26 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004327/5.166, allocations: 0.9923 MB / 1.823 GB, free: 79.25 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.009251/5.176, allocations: 4.511 MB / 1.827 GB, free: 77.09 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007347/5.183, allocations: 1.117 MB / 1.828 GB, free: 77.06 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/5.185, allocations: 433.8 kB / 1.829 GB, free: 77.05 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/5.186, allocations: 1.011 MB / 1.83 GB, free: 75.92 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/5.186, allocations: 40.06 kB / 1.83 GB, free: 75.88 MB / 0.573 GB Notification: Performance of pre-optimization done (n=54): time 3.306e-06/5.186, allocations: 0 / 1.83 GB, free: 75.88 MB / 0.573 GB Notification: Performance of matching and sorting (n=54): time 0.01928/5.206, allocations: 2.628 MB / 1.832 GB, free: 75.69 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/5.206, allocations: 60.16 kB / 1.832 GB, free: 75.62 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/5.207, allocations: 0.9233 MB / 1.833 GB, free: 75.47 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002072/5.208, allocations: 37.08 kB / 1.833 GB, free: 75.44 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004661/5.208, allocations: 0.5071 MB / 1.834 GB, free: 75.29 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003027/5.208, allocations: 189.6 kB / 1.834 GB, free: 75.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/5.209, allocations: 13.5 kB / 1.834 GB, free: 75.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.171e-05/5.209, allocations: 323.7 kB / 1.834 GB, free: 74.89 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/5.21, allocations: 353.7 kB / 1.835 GB, free: 74.89 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/5.212, allocations: 0.5707 MB / 1.835 GB, free: 74.67 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/5.214, allocations: 379.7 kB / 1.835 GB, free: 74.66 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/5.214, allocations: 2.438 kB / 1.835 GB, free: 74.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00794/5.222, allocations: 1.316 MB / 1.837 GB, free: 74.55 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/5.222, allocations: 172.3 kB / 1.837 GB, free: 74.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/5.222, allocations: 7.172 kB / 1.837 GB, free: 74.38 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002886/5.225, allocations: 467.7 kB / 1.837 GB, free: 74.37 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/5.226, allocations: 114 kB / 1.837 GB, free: 74.37 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/5.23, allocations: 1.095 MB / 1.839 GB, free: 73.84 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/5.232, allocations: 173.8 kB / 1.839 GB, free: 73.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/5.232, allocations: 28.11 kB / 1.839 GB, free: 73.82 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/5.232, allocations: 3.719 kB / 1.839 GB, free: 73.82 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00738/5.24, allocations: 1.194 MB / 1.84 GB, free: 73.81 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/5.24, allocations: 3.375 kB / 1.84 GB, free: 73.81 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/5.242, allocations: 465.6 kB / 1.84 GB, free: 73.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/5.243, allocations: 121.8 kB / 1.84 GB, free: 73.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/5.246, allocations: 1.085 MB / 1.841 GB, free: 73.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/5.249, allocations: 166.5 kB / 1.842 GB, free: 73.26 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/5.249, allocations: 29.72 kB / 1.842 GB, free: 73.26 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (46): * Single equations (assignments): 45 * 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 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0008103/5.25, allocations: 352.6 kB / 1.842 GB, free: 73.07 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/5.25, allocations: 112.4 kB / 1.842 GB, free: 73.01 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008158/5.258, allocations: 1.472 MB / 1.844 GB, free: 72.94 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/5.258, allocations: 10.48 kB / 1.844 GB, free: 72.94 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/5.258, allocations: 0 / 1.844 GB, free: 72.94 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/5.258, allocations: 6.734 kB / 1.844 GB, free: 72.94 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/5.269, allocations: 2.516 MB / 1.846 GB, free: 72.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/5.269, allocations: 3.312 kB / 1.846 GB, free: 72.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008897/5.27, allocations: 100.5 kB / 1.846 GB, free: 72.54 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002452/5.272, allocations: 472.3 kB / 1.847 GB, free: 72.52 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/5.272, allocations: 18.84 kB / 1.847 GB, free: 72.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003122/5.276, allocations: 1.123 MB / 1.848 GB, free: 71.99 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/5.276, allocations: 4.781 kB / 1.848 GB, free: 71.99 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00529/5.281, allocations: 1.284 MB / 1.849 GB, free: 71.73 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00084/5.282, allocations: 285.4 kB / 1.849 GB, free: 71.57 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/5.282, allocations: 13.59 kB / 1.849 GB, free: 71.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/5.284, allocations: 128.6 kB / 1.849 GB, free: 71.57 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/5.284, allocations: 40.69 kB / 1.849 GB, free: 71.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/5.284, allocations: 26.16 kB / 1.849 GB, free: 71.57 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001317/5.285, allocations: 0.6488 MB / 1.85 GB, free: 71.46 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.81e-07/5.285, allocations: 0 / 1.85 GB, free: 71.46 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002618/5.288, allocations: 0.6084 MB / 1.851 GB, free: 71.38 MB / 0.573 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 (39): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001503/5.29, allocations: 0.6603 MB / 1.851 GB, free: 71.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006761/5.296, allocations: 1.377 MB / 1.853 GB, free: 71.18 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/5.296, allocations: 0 / 1.853 GB, free: 71.18 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002248/5.299, allocations: 495.8 kB / 1.853 GB, free: 71.17 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004788/5.303, allocations: 0.5239 MB / 1.854 GB, free: 71.16 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006326/5.31, allocations: 2.33 MB / 1.856 GB, free: 70.12 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/5.311, allocations: 1.087 MB / 1.857 GB, free: 69.41 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001673/5.312, allocations: 225.3 kB / 1.857 GB, free: 69.39 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/5.313, allocations: 78.55 kB / 1.857 GB, free: 69.39 MB / 0.573 GB Notification: Performance of SimCode: time 1.693e-06/5.313, allocations: 0 / 1.857 GB, free: 69.39 MB / 0.573 GB Notification: Performance of Templates: time 0.07299/5.386, allocations: 27.49 MB / 1.884 GB, free: 67.8 MB / 0.573 GB