Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.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.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7901/0.7901, allocations: 150.9 MB / 166 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002548/0.0002548, allocations: 11.98 kB / 204 MB, free: 10.08 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1311, allocations: 31.33 MB / 235.4 MB, free: 5.441 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases): time 1.539/1.67, allocations: 293.3 MB / 0.5163 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1704/1.84, allocations: 168.6 MB / 0.6809 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/1.841, allocations: 4 kB / 0.6809 GB, free: 4.277 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/SimpleEvaporatorWaterSteamFlueGases.mo:36:3-37:83:writable] Warning: Connector Cws2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/SimpleEvaporatorWaterSteamFlueGases.mo:38:3-40:16:writable] Warning: Connector Cws1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/SimpleEvaporatorWaterSteamFlueGases.mo:41:3-42:83:writable] Warning: Connector Cfg1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/MultiFluids/HeatExchangers/SimpleEvaporatorWaterSteamFlueGases.mo:43:3-45:16:writable] Warning: Connector Cfg2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/SourcePQ.mo:18:3-19:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/Sink.mo:15:3-17:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004567/1.841, allocations: 128.5 kB / 0.6811 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002448/1.841, allocations: 135 kB / 0.6812 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01228/1.854, allocations: 4.661 MB / 0.6857 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005871/1.854, allocations: 0.5102 MB / 0.6862 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/1.855, allocations: 212.9 kB / 0.6864 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/1.855, allocations: 191.2 kB / 0.6866 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/1.855, allocations: 203 kB / 0.6868 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/1.855, allocations: 28 kB / 0.6869 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0203/1.875, allocations: 13.58 MB / 0.7001 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/1.876, allocations: 75.69 kB / 0.7002 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002995/1.876, allocations: 234.8 kB / 0.7004 GB, free: 336 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.2761/2.152, allocations: 6.244 MB / 0.7065 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/2.152, allocations: 2.234 kB / 0.7065 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/2.152, allocations: 3 kB / 0.7065 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.218e-06/2.152, allocations: 0 / 0.7065 GB, free: 15.83 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.004442/2.156, allocations: 1.228 MB / 0.7077 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/2.157, allocations: 8.938 kB / 0.7077 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.933e-05/2.157, allocations: 52.34 kB / 0.7078 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/2.157, allocations: 212.7 kB / 0.708 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/2.157, allocations: 34.94 kB / 0.708 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/2.157, allocations: 44.66 kB / 0.708 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/2.158, allocations: 0.5246 MB / 0.7086 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/2.158, allocations: 1.031 kB / 0.7086 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/2.158, allocations: 15.94 kB / 0.7086 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/2.158, allocations: 21.2 kB / 0.7086 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/2.158, allocations: 330.1 kB / 0.7089 GB, free: 14.75 MB / 0.5762 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.001923/2.16, allocations: 2.642 MB / 0.7115 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/2.16, allocations: 153.3 kB / 0.7116 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/2.161, allocations: 106.6 kB / 0.7117 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07528/2.236, allocations: 36.47 MB / 0.7473 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/2.236, allocations: 41.25 kB / 0.7474 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.635e-06/2.236, allocations: 0 / 0.7474 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.001427/2.237, allocations: 0.5542 MB / 0.7479 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/2.237, allocations: 58.19 kB / 0.748 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/2.238, allocations: 382.7 kB / 0.7483 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/2.238, allocations: 29.33 kB / 0.7484 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/2.238, allocations: 205.2 kB / 0.7486 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.943e-05/2.238, allocations: 166.2 kB / 0.7487 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-05/2.238, allocations: 74.11 kB / 0.7488 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001272/2.238, allocations: 348.7 kB / 0.7491 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/2.239, allocations: 89.06 kB / 0.7492 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/2.239, allocations: 181.8 kB / 0.7494 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/2.239, allocations: 305.8 kB / 0.7497 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/2.239, allocations: 0 / 0.7497 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005946/2.24, allocations: 432.5 kB / 0.7501 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/2.24, allocations: 10.09 kB / 0.7501 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/2.24, allocations: 3.219 kB / 0.7501 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005111/2.24, allocations: 383.2 kB / 0.7505 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/2.24, allocations: 31.39 kB / 0.7505 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008717/2.241, allocations: 1.317 MB / 0.7518 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/2.242, allocations: 54.88 kB / 0.7518 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/2.242, allocations: 14.8 kB / 0.7519 GB, free: 7.953 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (Puits_Fumees.C.a,Source_Fumees.C.b,source_Eau.C.b,EchangeurEfficacite.Cfg2.b,EchangeurEfficacite.Cfg1.a,EchangeurEfficacite.Cws1.a,EchangeurEfficacite.Cws2.b,puits_Eau.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001686/2.242, allocations: 162.3 kB / 0.752 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/2.242, allocations: 39.22 kB / 0.752 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007985/2.243, allocations: 0.6784 MB / 0.7527 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005775/2.243, allocations: 0.5079 MB / 0.7532 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/2.243, allocations: 0 / 0.7532 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/2.243, allocations: 3.938 kB / 0.7532 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/2.245, allocations: 1.342 MB / 0.7545 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/2.245, allocations: 0 / 0.7545 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/2.245, allocations: 66.42 kB / 0.7546 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004584/2.245, allocations: 388.1 kB / 0.755 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/2.246, allocations: 14.56 kB / 0.755 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009338/2.246, allocations: 1.322 MB / 0.7563 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/2.246, allocations: 0 / 0.7563 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008799/2.247, allocations: 0.6362 MB / 0.7569 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/2.248, allocations: 140.5 kB / 0.757 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.67e-05/2.248, allocations: 10.94 kB / 0.757 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/2.248, allocations: 11 kB / 0.757 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/2.248, allocations: 26.2 kB / 0.7571 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/2.248, allocations: 11.69 kB / 0.7571 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002745/2.248, allocations: 281.1 kB / 0.7573 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/2.248, allocations: 1.203 kB / 0.7573 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003402/2.252, allocations: 0.8501 MB / 0.7582 GB, free: 5.578 MB / 0.5919 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 (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005574/2.257, allocations: 1.104 MB / 0.7592 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009844/2.258, allocations: 0.5155 MB / 0.7598 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/2.258, allocations: 0 / 0.7598 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004334/2.259, allocations: 291.7 kB / 0.76 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/2.26, allocations: 182.6 kB / 0.7602 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/2.261, allocations: 1.108 MB / 0.7613 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/2.261, allocations: 0.8632 MB / 0.7621 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001946/2.262, allocations: 53.59 kB / 0.7622 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/2.262, allocations: 36.84 kB / 0.7622 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/2.262, allocations: 4 kB / 0.7622 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of Templates: time 0.04833/2.31, allocations: 35.54 MB / 0.7969 GB, free: 5.023 MB / 0.6231 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleEvaporatorWaterSteamFlueGases.pipe 2>&1)