Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.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.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7712/0.7712, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 21.19 kB / 237.8 MB, free: 1.742 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04796/0.04829, allocations: 31.35 MB / 269.1 MB, free: 7.051 MB / 222.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.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger): time 1.501/1.55, allocations: 295.7 MB / 0.5516 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4381/1.988, allocations: 188.9 MB / 0.7361 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/1.988, allocations: 10.5 kB / 0.7361 GB, free: 1.703 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:123:3-124:54:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:127:3-128:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002767/1.988, allocations: 104.8 kB / 0.7362 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001194/1.99, allocations: 0.6355 MB / 0.7368 GB, free: 1.676 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02526/2.015, allocations: 11.98 MB / 0.7485 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002366/2.017, allocations: 3.155 MB / 0.7516 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/2.018, allocations: 1.269 MB / 0.7528 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008519/2.019, allocations: 0.9607 MB / 0.7538 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/2.02, allocations: 1.171 MB / 0.7549 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000249/2.021, allocations: 211.2 kB / 0.7551 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03062/2.051, allocations: 20.73 MB / 0.7754 GB, free: 15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/2.052, allocations: 0.9077 MB / 0.7762 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001275/2.054, allocations: 1.116 MB / 0.7773 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02399/2.078, allocations: 11.99 MB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/2.078, allocations: 0.7812 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.033e-06/2.078, allocations: 0 / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.17e-05/2.078, allocations: 3.094 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.00869/2.086, allocations: 3.528 MB / 0.7925 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/2.086, allocations: 15.3 kB / 0.7925 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/2.087, allocations: 210.2 kB / 0.7927 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/2.088, allocations: 0.8808 MB / 0.7936 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000403/2.089, allocations: 457.8 kB / 0.794 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/2.089, allocations: 188 kB / 0.7942 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004394/2.093, allocations: 3.123 MB / 0.7972 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/2.093, allocations: 11.25 kB / 0.7972 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/2.093, allocations: 84 kB / 0.7973 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/2.093, allocations: 53.17 kB / 0.7974 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004732/2.098, allocations: 3.154 MB / 0.8004 GB, free: 104 kB / 0.6075 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.01452/2.113, allocations: 14.8 MB / 0.8149 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006766/2.12, allocations: 2.381 MB / 0.8172 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/2.121, allocations: 0.9192 MB / 0.8181 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1564/2.277, allocations: 86.19 MB / 0.9023 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/2.278, allocations: 48.55 kB / 0.9023 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.517e-06/2.278, allocations: 0 / 0.9023 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.01949/2.297, allocations: 5.97 MB / 0.9082 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/2.297, allocations: 68.72 kB / 0.9082 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/2.299, allocations: 1.393 MB / 0.9096 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/2.299, allocations: 53.7 kB / 0.9097 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/2.3, allocations: 0.7779 MB / 0.9104 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004529/2.3, allocations: 0.5203 MB / 0.9109 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006349/2.301, allocations: 430.3 kB / 0.9113 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.509e-05/2.301, allocations: 301.1 kB / 0.9116 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/2.303, allocations: 0.9253 MB / 0.9125 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/2.305, allocations: 1.63 MB / 0.9141 GB, free: 336 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003849/2.308, allocations: 2.707 MB / 0.9168 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/2.309, allocations: 8 kB / 0.9168 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006105/2.315, allocations: 3.379 MB / 0.9201 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/2.315, allocations: 17.5 kB / 0.9201 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.828e-05/2.315, allocations: 24 kB / 0.9201 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004177/2.319, allocations: 1.559 MB / 0.9216 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003499/2.322, allocations: 0.5974 MB / 0.9222 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007772/2.33, allocations: 5.386 MB / 0.9275 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/2.333, allocations: 296.9 kB / 0.9278 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000362/2.333, allocations: 123.9 kB / 0.9279 GB, free: 2.035 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,sourceP.fluid1,dynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicOnePhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,11,28.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001003/2.334, allocations: 0.5067 MB / 0.9284 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004283/2.334, allocations: 158.1 kB / 0.9285 GB, free: 1.391 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005746/2.34, allocations: 2.771 MB / 0.9312 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/2.34, allocations: 12 kB / 0.9312 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/2.34, allocations: 4 kB / 0.9312 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/2.34, allocations: 11.97 kB / 0.9312 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007702/2.348, allocations: 4.364 MB / 0.9355 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/2.348, allocations: 4 kB / 0.9355 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/2.35, allocations: 346 kB / 0.9358 GB, free: 9.859 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004043/2.354, allocations: 1.436 MB / 0.9372 GB, free: 8.422 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/2.354, allocations: 39.97 kB / 0.9373 GB, free: 8.383 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007481/2.362, allocations: 5.324 MB / 0.9425 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.362, allocations: 8 kB / 0.9425 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005059/2.367, allocations: 2.608 MB / 0.945 GB, free: 276 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008203/2.368, allocations: 450.6 kB / 0.9455 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002908/2.368, allocations: 31.98 kB / 0.9455 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/2.369, allocations: 55.95 kB / 0.9456 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/2.369, allocations: 120.3 kB / 0.9457 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/2.369, allocations: 51.98 kB / 0.9457 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001199/2.371, allocations: 0.9416 MB / 0.9466 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/2.371, allocations: 0 / 0.9466 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005218/2.376, allocations: 2.022 MB / 0.9486 GB, free: 12.59 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (74): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,11,28.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,43)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007033/2.383, allocations: 2.334 MB / 0.9509 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005566/2.389, allocations: 2.661 MB / 0.9535 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/2.389, allocations: 0 / 0.9535 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002754/2.391, allocations: 1.351 MB / 0.9548 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/2.393, allocations: 355.7 kB / 0.9551 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004787/2.398, allocations: 3.096 MB / 0.9582 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009276/2.399, allocations: 1.368 MB / 0.9595 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/2.399, allocations: 143.4 kB / 0.9596 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of SimCode: time 5.82e-07/2.399, allocations: 0 / 0.9596 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of Templates: time 0.2338/2.633, allocations: 58.15 MB / 1.016 GB, free: 434 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe 2>&1)