Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.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.7392/0.7392, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.28e-05/1.298e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1326, allocations: 31.98 MB / 236.8 MB, free: 5.465 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.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser): time 1.446/1.579, allocations: 297.5 MB / 0.5217 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04548/1.625, allocations: 39.77 MB / 0.5606 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/1.626, allocations: 8 kB / 0.5606 GB, free: 1.922 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/1.627, allocations: 226.6 kB / 0.5608 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001727/1.629, allocations: 416.7 kB / 0.5612 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02094/1.65, allocations: 7.842 MB / 0.5689 GB, free: 9.445 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00197/1.652, allocations: 1.579 MB / 0.5704 GB, free: 7.859 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000705/1.652, allocations: 0.5139 MB / 0.5709 GB, free: 7.344 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007221/1.653, allocations: 0.5131 MB / 0.5714 GB, free: 6.828 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004904/1.654, allocations: 0.4894 MB / 0.5719 GB, free: 6.336 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/1.654, allocations: 40 kB / 0.5719 GB, free: 6.297 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02784/1.682, allocations: 18.74 MB / 0.5902 GB, free: 3.527 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000223/1.682, allocations: 167.1 kB / 0.5904 GB, free: 3.363 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006994/1.682, allocations: 0.6193 MB / 0.591 GB, free: 2.734 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01901/1.702, allocations: 9.729 MB / 0.6005 GB, free: 8.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.702, allocations: 0 / 0.6005 GB, free: 8.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.254e-06/1.702, allocations: 0 / 0.6005 GB, free: 8.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/1.702, allocations: 0 / 0.6005 GB, free: 8.98 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.004925/1.706, allocations: 2.185 MB / 0.6026 GB, free: 6.738 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.707, allocations: 8.031 kB / 0.6026 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/1.707, allocations: 154.1 kB / 0.6028 GB, free: 6.578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004947/1.707, allocations: 0.4918 MB / 0.6033 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/1.707, allocations: 78.05 kB / 0.6033 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/1.707, allocations: 96 kB / 0.6034 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/1.709, allocations: 1.36 MB / 0.6048 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/1.709, allocations: 3.938 kB / 0.6048 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/1.709, allocations: 44 kB / 0.6048 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/1.709, allocations: 63.89 kB / 0.6049 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/1.71, allocations: 0.8632 MB / 0.6057 GB, free: 3.422 MB / 494.1 MB 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.005074/1.715, allocations: 7.366 MB / 0.6129 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009833/1.716, allocations: 0.6439 MB / 0.6135 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005318/1.717, allocations: 453.8 kB / 0.614 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3193/2.036, allocations: 89.56 MB / 0.7014 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/2.036, allocations: 44.5 kB / 0.7015 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=182): time 3.095e-06/2.036, allocations: 4.266 kB / 0.7015 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=182): time 0.009361/2.046, allocations: 3.322 MB / 0.7047 GB, free: 221.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/2.046, allocations: 65.19 kB / 0.7048 GB, free: 221.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/2.046, allocations: 0.5953 MB / 0.7054 GB, free: 221.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/2.046, allocations: 33.58 kB / 0.7054 GB, free: 221.1 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:3:3-3: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.0002077/2.046, allocations: 399.8 kB / 0.7058 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/2.047, allocations: 0.5836 MB / 0.7063 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/2.047, allocations: 148.8 kB / 0.7065 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.272e-05/2.047, allocations: 339.8 kB / 0.7068 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/2.047, allocations: 347.2 kB / 0.7071 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005246/2.048, allocations: 0.5844 MB / 0.7077 GB, free: 220 MB / 0.5762 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.006857/2.055, allocations: 3.123 MB / 0.7108 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/2.055, allocations: 0 / 0.7108 GB, free: 219.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.00225/2.057, allocations: 1.641 MB / 0.7124 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/2.057, allocations: 9.844 kB / 0.7124 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/2.057, allocations: 5.594 kB / 0.7124 GB, free: 219.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002991/2.06, allocations: 1.488 MB / 0.7138 GB, free: 219.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/2.06, allocations: 73.25 kB / 0.7139 GB, free: 219.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/2.064, allocations: 6.585 MB / 0.7203 GB, free: 213.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/2.064, allocations: 145.8 kB / 0.7205 GB, free: 213.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/2.064, allocations: 43.22 kB / 0.7205 GB, free: 213.7 MB / 0.5762 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: 25 * Number of states: 0 () * Number of discrete variables: 24 (singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,Source_condenseur.C.b,condenseur.Cev.a,condenseur.Cep.a,condenseur.Cvt.a,condenseur.Cex.b,condenseur.Cse.b,condenseur.Cee.a,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,Puit_condenseur1.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sourceP2.C.b,sourceP1.C.b,sourceP.C.b,Puit_condenseur.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(1,3), (10,2), (1,3), (1,3), (1,3), (1,3), (5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002921/2.065, allocations: 255.4 kB / 0.7207 GB, free: 213.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.359e-05/2.065, allocations: 96.73 kB / 0.7208 GB, free: 213.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/2.068, allocations: 2.854 MB / 0.7236 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002168/2.07, allocations: 2.114 MB / 0.7257 GB, free: 212.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/2.07, allocations: 1.5 kB / 0.7257 GB, free: 212.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/2.07, allocations: 10.45 kB / 0.7257 GB, free: 212.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004723/2.075, allocations: 4.751 MB / 0.7303 GB, free: 211.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/2.075, allocations: 0.5 kB / 0.7303 GB, free: 211.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/2.075, allocations: 199.1 kB / 0.7305 GB, free: 211.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003917/2.079, allocations: 2.262 MB / 0.7327 GB, free: 211.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/2.079, allocations: 34.92 kB / 0.7328 GB, free: 211.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002208/2.081, allocations: 3.862 MB / 0.7365 GB, free: 208.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/2.081, allocations: 3.938 kB / 0.7366 GB, free: 208.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/2.083, allocations: 2.284 MB / 0.7388 GB, free: 207.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/2.084, allocations: 338.7 kB / 0.7391 GB, free: 206.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/2.084, allocations: 36.03 kB / 0.7391 GB, free: 206.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/2.084, allocations: 50.06 kB / 0.7392 GB, free: 206.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/2.084, allocations: 97.66 kB / 0.7393 GB, free: 206.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/2.084, allocations: 41.78 kB / 0.7393 GB, free: 206.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003098/2.085, allocations: 396.9 kB / 0.7397 GB, free: 206.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/2.085, allocations: 0 / 0.7397 GB, free: 206.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002803/2.088, allocations: 1.539 MB / 0.7412 GB, free: 206.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (132): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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), (10,2), (11,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003823/2.091, allocations: 1.866 MB / 0.743 GB, free: 204.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002769/2.094, allocations: 2.42 MB / 0.7454 GB, free: 202.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/2.094, allocations: 4.062 kB / 0.7454 GB, free: 202.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/2.096, allocations: 1.263 MB / 0.7466 GB, free: 201.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/2.099, allocations: 0.6232 MB / 0.7472 GB, free: 200.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/2.102, allocations: 3.669 MB / 0.7508 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/2.102, allocations: 1.338 MB / 0.7521 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003719/2.102, allocations: 124.1 kB / 0.7522 GB, free: 195.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.52e-05/2.103, allocations: 75.44 kB / 0.7523 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/2.103, allocations: 0 / 0.7523 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.06266/2.165, allocations: 64.43 MB / 0.8152 GB, free: 132.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.HeatExchanger.TestStaticCondenser.pipe 2>&1) Environment - environmentSimulation: