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.7919/0.7919, allocations: 150.8 MB / 166.6 MB, free: 11.17 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002789, allocations: 15.98 kB / 204.7 MB, free: 6.168 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1514, allocations: 31.32 MB / 236 MB, free: 3.871 MB / 186.7 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.589/1.74, allocations: 292.7 MB / 0.5163 GB, free: 9.348 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1687/1.909, allocations: 168.6 MB / 0.6809 GB, free: 396 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/1.909, allocations: 0 / 0.6809 GB, free: 396 kB / 0.5573 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.0004205/1.91, allocations: 127.3 kB / 0.681 GB, free: 268 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002505/1.91, allocations: 123 kB / 0.6812 GB, free: 144 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.2775/2.187, allocations: 4.666 MB / 0.6857 GB, free: 3.344 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006687/2.188, allocations: 0.5101 MB / 0.6862 GB, free: 3.344 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/2.188, allocations: 211.4 kB / 0.6864 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/2.189, allocations: 200.6 kB / 0.6866 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/2.189, allocations: 194.4 kB / 0.6868 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/2.189, allocations: 32.02 kB / 0.6868 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02098/2.21, allocations: 13.58 MB / 0.7001 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/2.21, allocations: 74.94 kB / 0.7002 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003538/2.21, allocations: 231.2 kB / 0.7004 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01148/2.222, allocations: 6.247 MB / 0.7065 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/2.222, allocations: 1.922 kB / 0.7065 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.052e-06/2.222, allocations: 3.094 kB / 0.7065 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.534e-06/2.222, allocations: 0 / 0.7065 GB, free: 3.145 MB / 0.5573 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.003311/2.225, allocations: 1.227 MB / 0.7077 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/2.225, allocations: 10.78 kB / 0.7077 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/2.225, allocations: 55.25 kB / 0.7077 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/2.226, allocations: 219.5 kB / 0.7079 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/2.226, allocations: 34.34 kB / 0.708 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/2.226, allocations: 43.78 kB / 0.708 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/2.226, allocations: 0.5264 MB / 0.7085 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/2.226, allocations: 0 / 0.7085 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/2.226, allocations: 15.69 kB / 0.7086 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/2.226, allocations: 20.39 kB / 0.7086 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/2.227, allocations: 338.4 kB / 0.7089 GB, free: 1.883 MB / 0.5573 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.002163/2.229, allocations: 2.626 MB / 0.7115 GB, free: 15.74 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/2.229, allocations: 152.2 kB / 0.7116 GB, free: 15.71 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/2.229, allocations: 112.7 kB / 0.7117 GB, free: 15.7 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08459/2.314, allocations: 36.48 MB / 0.7473 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/2.314, allocations: 37.92 kB / 0.7474 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=50): time 2.014e-06/2.314, allocations: 4 kB / 0.7474 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of matching and sorting (n=50): time 0.001181/2.315, allocations: 0.5566 MB / 0.7479 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/2.315, allocations: 55.34 kB / 0.748 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/2.316, allocations: 381 kB / 0.7483 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/2.316, allocations: 29.33 kB / 0.7484 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/2.316, allocations: 205 kB / 0.7486 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.957e-05/2.316, allocations: 165.4 kB / 0.7487 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.292e-05/2.316, allocations: 69.56 kB / 0.7488 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001175/2.316, allocations: 352.4 kB / 0.7491 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/2.316, allocations: 90.3 kB / 0.7492 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/2.316, allocations: 176.3 kB / 0.7494 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/2.317, allocations: 309.4 kB / 0.7497 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/2.317, allocations: 0 / 0.7497 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0005729/2.317, allocations: 431.5 kB / 0.7501 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/2.317, allocations: 13.34 kB / 0.7501 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/2.317, allocations: 5.203 kB / 0.7501 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005092/2.318, allocations: 381.6 kB / 0.7505 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/2.318, allocations: 30.98 kB / 0.7505 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008591/2.319, allocations: 1.311 MB / 0.7518 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/2.319, allocations: 58.91 kB / 0.7518 GB, free: 1.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/2.319, allocations: 11.31 kB / 0.7518 GB, free: 1.512 MB / 0.5886 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.0001552/2.319, allocations: 153.9 kB / 0.752 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/2.319, allocations: 47.42 kB / 0.752 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008095/2.32, allocations: 0.6703 MB / 0.7527 GB, free: 0.9062 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005913/2.321, allocations: 0.5089 MB / 0.7532 GB, free: 0.5664 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/2.321, allocations: 0.75 kB / 0.7532 GB, free: 0.5664 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/2.321, allocations: 5.188 kB / 0.7532 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/2.322, allocations: 1.328 MB / 0.7545 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/2.322, allocations: 6.797 kB / 0.7545 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/2.323, allocations: 62.36 kB / 0.7545 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/2.323, allocations: 401.8 kB / 0.7549 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/2.323, allocations: 14.78 kB / 0.7549 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008039/2.324, allocations: 1.319 MB / 0.7562 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/2.324, allocations: 4.062 kB / 0.7562 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/2.325, allocations: 1.466 MB / 0.7577 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/2.325, allocations: 136 kB / 0.7578 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/2.325, allocations: 7 kB / 0.7578 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/2.325, allocations: 19.22 kB / 0.7578 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/2.326, allocations: 23.59 kB / 0.7578 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/2.326, allocations: 11.38 kB / 0.7579 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002469/2.326, allocations: 270.7 kB / 0.7581 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/2.326, allocations: 0 / 0.7581 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003054/2.329, allocations: 0.8613 MB / 0.759 GB, free: 11.47 MB / 0.6042 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.003964/2.333, allocations: 1.116 MB / 0.76 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008622/2.334, allocations: 0.5191 MB / 0.7606 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/2.334, allocations: 4.062 kB / 0.7606 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004089/2.334, allocations: 280.9 kB / 0.7608 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/2.335, allocations: 194 kB / 0.761 GB, free: 9.754 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/2.337, allocations: 1.489 MB / 0.7625 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/2.337, allocations: 0.8869 MB / 0.7633 GB, free: 7.531 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001672/2.337, allocations: 47.25 kB / 0.7634 GB, free: 7.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/2.337, allocations: 43.44 kB / 0.7634 GB, free: 7.438 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/2.337, allocations: 0 / 0.7634 GB, free: 7.438 MB / 0.6042 GB Notification: Performance of Templates: time 0.04487/2.382, allocations: 35.85 MB / 0.7984 GB, free: 3.816 MB / 0.6355 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)