Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9716/0.9716, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.981e-05/2.014e-05, allocations: 0 / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2502, allocations: 31.97 MB / 236.8 MB, free: 5.438 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser): time 1.94/2.19, allocations: 298.7 MB / 0.523 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7038/2.894, allocations: 191.5 MB / 0.7099 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/2.896, allocations: 33.66 kB / 0.71 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008499/2.896, allocations: 238.4 kB / 0.7102 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002471/2.899, allocations: 0.5585 MB / 0.7107 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0425/2.941, allocations: 9.941 MB / 0.7205 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005355/2.947, allocations: 2.087 MB / 0.7225 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/2.949, allocations: 0.9666 MB / 0.7234 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/2.951, allocations: 0.7009 MB / 0.7241 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/2.952, allocations: 0.7614 MB / 0.7249 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/2.952, allocations: 78.97 kB / 0.7249 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05357/3.006, allocations: 21.52 MB / 0.746 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009292/3.007, allocations: 285.1 kB / 0.7462 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002153/3.009, allocations: 0.8946 MB / 0.7471 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.04323/3.052, allocations: 12.11 MB / 0.7589 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/3.052, allocations: 3.688 kB / 0.7589 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.769e-06/3.052, allocations: 0 / 0.7589 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.238e-05/3.053, allocations: 4 kB / 0.7589 GB, free: 12.78 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.01194/3.064, allocations: 2.911 MB / 0.7618 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/3.065, allocations: 8.438 kB / 0.7618 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/3.065, allocations: 224.2 kB / 0.762 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/3.066, allocations: 0.7983 MB / 0.7628 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/3.066, allocations: 145.3 kB / 0.7629 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/3.066, allocations: 183.9 kB / 0.7631 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/3.069, allocations: 1.938 MB / 0.765 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.476e-05/3.07, allocations: 2.906 kB / 0.765 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/3.07, allocations: 79.38 kB / 0.7651 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.655e-05/3.07, allocations: 57.39 kB / 0.7651 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/3.072, allocations: 1.299 MB / 0.7664 GB, free: 9.484 MB / 0.5919 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.2429/3.315, allocations: 103.4 MB / 0.8674 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/3.316, allocations: 0.6588 MB / 0.868 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/3.317, allocations: 326.3 kB / 0.8683 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7342/4.051, allocations: 241.8 MB / 1.104 GB, free: 348.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/4.051, allocations: 44.84 kB / 1.104 GB, free: 348.4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=97): time 3.347e-06/4.051, allocations: 0 / 1.104 GB, free: 348.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=97): time 0.009652/4.061, allocations: 2.72 MB / 1.107 GB, free: 346 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/4.061, allocations: 166.5 kB / 1.107 GB, free: 345.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/4.062, allocations: 0.9545 MB / 1.108 GB, free: 345.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/4.062, allocations: 33.3 kB / 1.108 GB, free: 345.1 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:8:3-8:64:writable] Warning: The parameter Puit_condenseur.P0 has fixed = false and a binding equation Puit_condenseur.P0 = 100000.0, which is probably redundant. Setting fixed = false usually means there is an additional initial equation to determine the parameter value. The binding was ignored by old Modelica tools, but this is not according to the Modelica specification. Please remove the parameter binding, or bind the parameter to another parameter with fixed = false and no binding. Notification: Performance of collectInitialEqns (initialization): time 0.0005888/4.063, allocations: 0.856 MB / 1.109 GB, free: 344.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/4.063, allocations: 334.4 kB / 1.109 GB, free: 344.2 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/4.063, allocations: 174.4 kB / 1.11 GB, free: 344.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/4.064, allocations: 355.4 kB / 1.11 GB, free: 343.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/4.064, allocations: 342.9 kB / 1.11 GB, free: 343.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000906/4.065, allocations: 0.8784 MB / 1.111 GB, free: 342.6 MB / 0.8106 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.008154/4.073, allocations: 3.015 MB / 1.114 GB, free: 340 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.177e-05/4.073, allocations: 4 kB / 1.114 GB, free: 340 MB / 0.8106 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.004631/4.078, allocations: 1.955 MB / 1.116 GB, free: 338.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/4.078, allocations: 12 kB / 1.116 GB, free: 338.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.093e-05/4.078, allocations: 20 kB / 1.116 GB, free: 338.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00299/4.081, allocations: 1.037 MB / 1.117 GB, free: 337.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/4.082, allocations: 215.3 kB / 1.117 GB, free: 337.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/4.085, allocations: 4.394 MB / 1.122 GB, free: 333 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/4.086, allocations: 187.5 kB / 1.122 GB, free: 332.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/4.086, allocations: 76.11 kB / 1.122 GB, free: 332.8 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: Source_condenseur.P = $START.Source_condenseur.P. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 35 (Source_condenseur.C.ftype,condenseur.Cex.ftype,sourceP2.C.ftype,sourceP1.C.ftype,sourceP.C.ftype,condenseur.fluids[1],Puit_condenseur.fluid,singularPressureLoss.fluid,singularPressureLoss1.fluid,singularPressureLoss3.fluid,Puit_condenseur1.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,condenseur.fluid_p,singularPressureLoss2.fluid,Source_condenseur.fluid1,sourceP2.fluid1,sourceP1.fluid1,sourceP.fluid1,condenseur.Cee.diff_on_2,Source_condenseur.C.diff_on_2,condenseur.Cse.diff_on_1,singularPressureLoss4.C2.diff_on_1,condenseur.Cex.diff_on_1,singularPressureLoss5.C2.diff_on_1,condenseur.Cep.diff_on_2,sourceP2.C.diff_on_2,condenseur.Cev.diff_on_2,sourceP1.C.diff_on_2,condenseur.Cvt.diff_on_2,sourceP.C.diff_on_2,condenseur.Cex.diff_on_2,singularPressureLoss3.C2.diff_on_1,singularPressureLoss1.C2.diff_on_1,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(1,3), (1,3), (1,3), (1,3), (1,1), (1,3), (3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0007513/4.087, allocations: 346.8 kB / 1.122 GB, free: 332.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/4.087, allocations: 114.6 kB / 1.122 GB, free: 332.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/4.089, allocations: 1.51 MB / 1.124 GB, free: 331.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001539/4.091, allocations: 1.107 MB / 1.125 GB, free: 330.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/4.091, allocations: 4 kB / 1.125 GB, free: 330.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/4.091, allocations: 15.75 kB / 1.125 GB, free: 330.7 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005248/4.096, allocations: 3.33 MB / 1.128 GB, free: 328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/4.096, allocations: 8.188 kB / 1.128 GB, free: 328 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/4.097, allocations: 71.91 kB / 1.128 GB, free: 327.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003396/4.1, allocations: 1.183 MB / 1.129 GB, free: 326.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/4.1, allocations: 24 kB / 1.129 GB, free: 326.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/4.102, allocations: 2.969 MB / 1.132 GB, free: 323.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/4.102, allocations: 8.25 kB / 1.132 GB, free: 323.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/4.104, allocations: 1.438 MB / 1.134 GB, free: 322.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004987/4.105, allocations: 279.1 kB / 1.134 GB, free: 321.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/4.105, allocations: 20 kB / 1.134 GB, free: 321.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/4.106, allocations: 31.83 kB / 1.134 GB, free: 321.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/4.106, allocations: 64.8 kB / 1.134 GB, free: 321.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/4.106, allocations: 32.73 kB / 1.134 GB, free: 321.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008496/4.107, allocations: 0.5845 MB / 1.135 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/4.107, allocations: 0 / 1.135 GB, free: 321.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006217/4.113, allocations: 1.915 MB / 1.136 GB, free: 319.4 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (Source_condenseur.C.diff_on_2,singularPressureLoss4.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,3), (1,1), (6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009286/4.122, allocations: 2.474 MB / 1.139 GB, free: 317.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002732/4.125, allocations: 1.286 MB / 1.14 GB, free: 316.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/4.125, allocations: 0 / 1.14 GB, free: 316.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/4.126, allocations: 0.5504 MB / 1.141 GB, free: 315.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/4.129, allocations: 432.5 kB / 1.141 GB, free: 315.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/4.135, allocations: 3.385 MB / 1.144 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009693/4.136, allocations: 1.281 MB / 1.146 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008809/4.137, allocations: 184.9 kB / 1.146 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/4.137, allocations: 79.42 kB / 1.146 GB, free: 310.1 MB / 0.8106 GB Notification: Performance of SimCode: time 9.12e-07/4.137, allocations: 0 / 1.146 GB, free: 310.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.08161/4.218, allocations: 63.28 MB / 1.208 GB, free: 247.8 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe 2>&1) Environment - environmentSimulation: