Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.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.TestStaticExchangerWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9245/0.9245, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 15.98 kB / 204.7 MB, free: 6.164 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.157, 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.TestStaticExchangerWaterSteamFlueGases): time 1.651/1.808, allocations: 292.6 MB / 0.5162 GB, free: 9.453 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1733/1.982, allocations: 167.3 MB / 0.6796 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/1.982, allocations: 0 / 0.6796 GB, free: 1.785 MB / 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/StaticExchangerWaterSteamFlueGases.mo:50:3-51: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/StaticExchangerWaterSteamFlueGases.mo:52:3-54: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/StaticExchangerWaterSteamFlueGases.mo:55:3-56: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/StaticExchangerWaterSteamFlueGases.mo:57:3-59: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.0003804/1.982, allocations: 93.58 kB / 0.6797 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002445/1.983, allocations: 131 kB / 0.6798 GB, free: 1.566 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.2655/2.248, allocations: 4.479 MB / 0.6842 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0005915/2.249, allocations: 0.515 MB / 0.6847 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/2.249, allocations: 213.9 kB / 0.6849 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/2.249, allocations: 199.1 kB / 0.6851 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/2.25, allocations: 205.8 kB / 0.6853 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/2.25, allocations: 30.97 kB / 0.6853 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02022/2.27, allocations: 12.88 MB / 0.6979 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/2.27, allocations: 90.89 kB / 0.698 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003554/2.27, allocations: 219.3 kB / 0.6982 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/2.281, allocations: 6.026 MB / 0.7041 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/2.281, allocations: 2.25 kB / 0.7041 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.422e-06/2.282, allocations: 0 / 0.7041 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.145e-06/2.282, allocations: 0 / 0.7041 GB, free: 4.027 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003223/2.285, allocations: 1.189 MB / 0.7052 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/2.285, allocations: 11.09 kB / 0.7052 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/2.285, allocations: 51.53 kB / 0.7053 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/2.285, allocations: 284.1 kB / 0.7056 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/2.285, allocations: 36.81 kB / 0.7056 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/2.285, allocations: 43.91 kB / 0.7056 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/2.286, allocations: 0.5173 MB / 0.7061 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/2.286, allocations: 3 kB / 0.7061 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/2.286, allocations: 20.16 kB / 0.7062 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/2.286, allocations: 17.17 kB / 0.7062 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004536/2.286, allocations: 353.1 kB / 0.7065 GB, free: 2.953 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.002507/2.289, allocations: 2.717 MB / 0.7092 GB, free: 16.98 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/2.289, allocations: 167.2 kB / 0.7093 GB, free: 16.95 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/2.289, allocations: 101.5 kB / 0.7094 GB, free: 16.94 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07387/2.363, allocations: 33.27 MB / 0.7419 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/2.363, allocations: 33.5 kB / 0.742 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=40): time 2.495e-06/2.363, allocations: 0 / 0.742 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=40): time 0.001947/2.365, allocations: 0.7219 MB / 0.7427 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/2.365, allocations: 51.41 kB / 0.7427 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/2.366, allocations: 410.7 kB / 0.7431 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/2.366, allocations: 25.7 kB / 0.7431 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/2.366, allocations: 209.9 kB / 0.7433 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.874e-05/2.366, allocations: 135.5 kB / 0.7434 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/2.366, allocations: 66.03 kB / 0.7435 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001204/2.366, allocations: 355 kB / 0.7439 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/2.366, allocations: 80.45 kB / 0.7439 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/2.367, allocations: 173 kB / 0.7441 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/2.367, allocations: 275.2 kB / 0.7444 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/2.367, allocations: 3.938 kB / 0.7444 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009574/2.368, allocations: 481.7 kB / 0.7448 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/2.368, allocations: 4.062 kB / 0.7448 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/2.368, allocations: 2.312 kB / 0.7448 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008492/2.369, allocations: 295 kB / 0.7451 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/2.369, allocations: 43.75 kB / 0.7451 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/2.37, allocations: 1.831 MB / 0.7469 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/2.37, allocations: 55.22 kB / 0.747 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/2.37, allocations: 19.36 kB / 0.747 GB, free: 6.641 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001555/2.371, allocations: 149.6 kB / 0.7472 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/2.371, allocations: 44.25 kB / 0.7472 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/2.372, allocations: 0.7349 MB / 0.7479 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008719/2.373, allocations: 0.5522 MB / 0.7484 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/2.373, allocations: 0 / 0.7484 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/2.373, allocations: 0 / 0.7484 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/2.375, allocations: 1.371 MB / 0.7498 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/2.375, allocations: 0 / 0.7498 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/2.375, allocations: 69.41 kB / 0.7499 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006398/2.375, allocations: 294.1 kB / 0.7501 GB, free: 4.191 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/2.375, allocations: 6.938 kB / 0.7501 GB, free: 4.191 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/2.377, allocations: 1.854 MB / 0.752 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/2.377, allocations: 0 / 0.752 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/2.378, allocations: 1.494 MB / 0.7534 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/2.378, allocations: 131.7 kB / 0.7535 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/2.378, allocations: 11 kB / 0.7535 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/2.378, allocations: 15.53 kB / 0.7536 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/2.379, allocations: 28.53 kB / 0.7536 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/2.379, allocations: 11.62 kB / 0.7536 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002567/2.379, allocations: 286.1 kB / 0.7539 GB, free: 0.7031 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/2.379, allocations: 0 / 0.7539 GB, free: 0.7031 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002641/2.381, allocations: 0.8725 MB / 0.7547 GB, free: 15.89 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 (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003688/2.385, allocations: 1.109 MB / 0.7558 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008833/2.386, allocations: 491.7 kB / 0.7563 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/2.386, allocations: 0 / 0.7563 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004469/2.387, allocations: 239.9 kB / 0.7565 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/2.388, allocations: 188 kB / 0.7567 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/2.389, allocations: 1.44 MB / 0.7581 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/2.39, allocations: 0.8725 MB / 0.7589 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001748/2.39, allocations: 51.25 kB / 0.759 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.254e-05/2.39, allocations: 46.61 kB / 0.759 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/2.39, allocations: 0 / 0.759 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.04618/2.436, allocations: 35.97 MB / 0.7942 GB, free: 8.242 MB / 0.6355 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe 2>&1)