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.8105/0.8105, allocations: 150.9 MB / 166.5 MB, free: 14.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 16.64 kB / 237.1 MB, free: 1.781 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05603/0.0564, allocations: 31.35 MB / 268.4 MB, free: 7.047 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.615/1.672, allocations: 295.8 MB / 0.551 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5059/2.178, allocations: 188.9 MB / 0.7355 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003735/2.178, allocations: 13.72 kB / 0.7355 GB, free: 1.719 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.0002983/2.179, allocations: 98.48 kB / 0.7356 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/2.18, allocations: 0.6373 MB / 0.7362 GB, free: 1.695 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.02936/2.209, allocations: 12.2 MB / 0.7481 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002577/2.212, allocations: 3.156 MB / 0.7512 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/2.213, allocations: 1.275 MB / 0.7525 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009436/2.214, allocations: 0.9579 MB / 0.7534 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/2.215, allocations: 1.179 MB / 0.7545 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002282/2.216, allocations: 210 kB / 0.7547 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03383/2.249, allocations: 20.72 MB / 0.775 GB, free: 15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001339/2.251, allocations: 0.9074 MB / 0.7759 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001516/2.252, allocations: 1.116 MB / 0.777 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02743/2.28, allocations: 11.99 MB / 0.7887 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/2.28, allocations: 2.812 kB / 0.7887 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/2.28, allocations: 0 / 0.7887 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.512e-05/2.28, allocations: 0 / 0.7887 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.01022/2.29, allocations: 3.532 MB / 0.7921 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/2.29, allocations: 14.08 kB / 0.7921 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/2.291, allocations: 209.2 kB / 0.7923 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/2.292, allocations: 0.8747 MB / 0.7932 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004575/2.292, allocations: 455.2 kB / 0.7936 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/2.293, allocations: 188 kB / 0.7938 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004799/2.297, allocations: 3.129 MB / 0.7968 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/2.298, allocations: 10.28 kB / 0.7969 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/2.298, allocations: 84.88 kB / 0.7969 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/2.298, allocations: 52 kB / 0.797 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005475/2.303, allocations: 3.15 MB / 0.8001 GB, free: 15.9 MB / 0.6231 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.01609/2.319, allocations: 14.82 MB / 0.8145 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007332/2.327, allocations: 2.369 MB / 0.8168 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/2.328, allocations: 0.908 MB / 0.8177 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1754/2.504, allocations: 86.21 MB / 0.9019 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.772e-05/2.504, allocations: 47.09 kB / 0.902 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.216e-06/2.504, allocations: 4 kB / 0.902 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.02248/2.526, allocations: 5.967 MB / 0.9078 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/2.527, allocations: 64.72 kB / 0.9079 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/2.529, allocations: 1.401 MB / 0.9092 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000205/2.529, allocations: 49.7 kB / 0.9093 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006436/2.53, allocations: 0.781 MB / 0.91 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006886/2.53, allocations: 0.5178 MB / 0.9105 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007247/2.531, allocations: 423.2 kB / 0.9109 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/2.531, allocations: 305.1 kB / 0.9112 GB, free: 3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/2.533, allocations: 0.9253 MB / 0.9121 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002546/2.536, allocations: 1.633 MB / 0.9137 GB, free: 128 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004544/2.54, allocations: 2.703 MB / 0.9164 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.079e-05/2.54, allocations: 4 kB / 0.9164 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007227/2.548, allocations: 3.384 MB / 0.9197 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/2.548, allocations: 23.92 kB / 0.9197 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.268e-05/2.548, allocations: 24 kB / 0.9197 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004693/2.552, allocations: 1.561 MB / 0.9213 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/2.556, allocations: 0.5935 MB / 0.9218 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008391/2.565, allocations: 5.38 MB / 0.9271 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/2.567, allocations: 293.3 kB / 0.9274 GB, free: 1.957 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004121/2.567, allocations: 127.9 kB / 0.9275 GB, free: 1.832 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.001075/2.569, allocations: 0.5054 MB / 0.928 GB, free: 1.344 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004093/2.569, allocations: 166.1 kB / 0.9281 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006019/2.575, allocations: 2.775 MB / 0.9308 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/2.575, allocations: 12 kB / 0.9309 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/2.575, allocations: 4 kB / 0.9309 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/2.575, allocations: 15.95 kB / 0.9309 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008057/2.583, allocations: 4.359 MB / 0.9351 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/2.583, allocations: 0 / 0.9351 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/2.585, allocations: 350 kB / 0.9355 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004203/2.59, allocations: 1.428 MB / 0.9369 GB, free: 8.219 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/2.59, allocations: 39.98 kB / 0.9369 GB, free: 8.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007977/2.598, allocations: 5.325 MB / 0.9421 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/2.598, allocations: 4 kB / 0.9421 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/2.603, allocations: 2.608 MB / 0.9447 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009516/2.604, allocations: 454.5 kB / 0.9451 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000389/2.605, allocations: 32 kB / 0.9451 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/2.606, allocations: 59.94 kB / 0.9452 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/2.607, allocations: 113.2 kB / 0.9453 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/2.607, allocations: 47.98 kB / 0.9453 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00139/2.608, allocations: 0.9494 MB / 0.9463 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/2.608, allocations: 0 / 0.9463 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005835/2.614, allocations: 2.018 MB / 0.9482 GB, free: 12.38 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.008445/2.622, allocations: 2.342 MB / 0.9505 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006275/2.629, allocations: 2.658 MB / 0.9531 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/2.629, allocations: 0 / 0.9531 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003117/2.632, allocations: 1.352 MB / 0.9544 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/2.634, allocations: 353.5 kB / 0.9548 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/2.639, allocations: 3.014 MB / 0.9577 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/2.64, allocations: 1.376 MB / 0.9591 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001535/2.642, allocations: 0.5278 MB / 0.9596 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/2.642, allocations: 119.4 kB / 0.9597 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of SimCode: time 6.21e-07/2.642, allocations: 0 / 0.9597 GB, free: 0.9297 MB / 0.7794 GB Notification: Performance of Templates: time 0.2755/2.918, allocations: 79.12 MB / 1.037 GB, free: 429.5 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)