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.8237/0.8237, allocations: 150.9 MB / 167.1 MB, free: 14.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003823, allocations: 19.98 kB / 206 MB, free: 8.996 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1483, allocations: 31.33 MB / 237.3 MB, free: 5.699 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.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger): time 1.698/1.846, allocations: 295.5 MB / 0.5203 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5243/2.37, allocations: 188.9 MB / 0.7048 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003869/2.371, allocations: 14.47 kB / 0.7048 GB, free: 2.098 MB / 0.5762 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.0003159/2.371, allocations: 97.81 kB / 0.7049 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/2.373, allocations: 0.635 MB / 0.7055 GB, free: 2.098 MB / 0.5762 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.02592/2.398, allocations: 11.98 MB / 0.7172 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002716/2.401, allocations: 3.154 MB / 0.7203 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/2.403, allocations: 1.279 MB / 0.7215 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000951/2.404, allocations: 0.9544 MB / 0.7225 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/2.405, allocations: 1.175 MB / 0.7236 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002383/2.405, allocations: 211.7 kB / 0.7238 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03333/2.438, allocations: 20.71 MB / 0.7441 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001158/2.44, allocations: 0.9061 MB / 0.7449 GB, free: 452 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/2.441, allocations: 1.118 MB / 0.746 GB, free: 336 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02654/2.467, allocations: 12.11 MB / 0.7579 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/2.468, allocations: 0 / 0.7579 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/2.468, allocations: 0.7812 kB / 0.7579 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.193e-05/2.468, allocations: 0 / 0.7579 GB, free: 12.28 MB / 0.5919 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.009345/2.477, allocations: 3.538 MB / 0.7613 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/2.477, allocations: 9.156 kB / 0.7613 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004369/2.477, allocations: 214.3 kB / 0.7615 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/2.479, allocations: 0.8705 MB / 0.7624 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004554/2.48, allocations: 461.7 kB / 0.7628 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/2.48, allocations: 189 kB / 0.763 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004487/2.484, allocations: 3.121 MB / 0.766 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/2.485, allocations: 15.8 kB / 0.7661 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/2.485, allocations: 86.22 kB / 0.7661 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/2.485, allocations: 53.38 kB / 0.7662 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004912/2.49, allocations: 3.154 MB / 0.7693 GB, free: 6.605 MB / 0.5919 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.01654/2.506, allocations: 14.82 MB / 0.7837 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007202/2.513, allocations: 2.365 MB / 0.786 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/2.515, allocations: 0.9119 MB / 0.7869 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1593/2.675, allocations: 86.19 MB / 0.8711 GB, free: 3.859 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/2.675, allocations: 51.86 kB / 0.8712 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 5.4e-06/2.675, allocations: 7.984 kB / 0.8712 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.0197/2.694, allocations: 5.961 MB / 0.877 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/2.694, allocations: 72.72 kB / 0.8771 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/2.696, allocations: 1.398 MB / 0.8784 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/2.696, allocations: 51.67 kB / 0.8785 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/2.697, allocations: 0.7843 MB / 0.8792 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000404/2.697, allocations: 0.5085 MB / 0.8797 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006088/2.698, allocations: 431.2 kB / 0.8801 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.06e-05/2.698, allocations: 305.1 kB / 0.8804 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/2.7, allocations: 0.9322 MB / 0.8813 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/2.702, allocations: 1.631 MB / 0.8829 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0041/2.706, allocations: 2.701 MB / 0.8856 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/2.706, allocations: 8 kB / 0.8856 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006349/2.712, allocations: 3.378 MB / 0.8889 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/2.713, allocations: 19.94 kB / 0.8889 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/2.713, allocations: 20 kB / 0.8889 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004349/2.717, allocations: 1.555 MB / 0.8904 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003671/2.721, allocations: 0.5935 MB / 0.891 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007673/2.728, allocations: 5.376 MB / 0.8963 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/2.73, allocations: 297.5 kB / 0.8966 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/2.731, allocations: 123.9 kB / 0.8967 GB, free: 9.066 MB / 0.7325 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.0008289/2.731, allocations: 0.5097 MB / 0.8972 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/2.732, allocations: 162.1 kB / 0.8973 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005661/2.737, allocations: 2.771 MB / 0.9 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/2.737, allocations: 16 kB / 0.9 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/2.737, allocations: 4 kB / 0.9 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/2.737, allocations: 12.95 kB / 0.9001 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008023/2.745, allocations: 4.362 MB / 0.9043 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/2.745, allocations: 0 / 0.9043 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/2.748, allocations: 350 kB / 0.9047 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004137/2.752, allocations: 1.434 MB / 0.9061 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/2.752, allocations: 47.97 kB / 0.9061 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007822/2.76, allocations: 5.316 MB / 0.9113 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/2.76, allocations: 0 / 0.9113 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005294/2.765, allocations: 2.619 MB / 0.9138 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/2.766, allocations: 446.6 kB / 0.9143 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/2.767, allocations: 31.98 kB / 0.9143 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/2.768, allocations: 55.95 kB / 0.9144 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/2.768, allocations: 120.2 kB / 0.9145 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/2.768, allocations: 51.98 kB / 0.9145 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001193/2.769, allocations: 0.9455 MB / 0.9154 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.793e-06/2.769, allocations: 0 / 0.9154 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005948/2.775, allocations: 2.028 MB / 0.9174 GB, free: 3.602 MB / 0.7481 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.007779/2.783, allocations: 2.34 MB / 0.9197 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005944/2.789, allocations: 2.652 MB / 0.9223 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/2.789, allocations: 1.641 kB / 0.9223 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002756/2.792, allocations: 1.351 MB / 0.9236 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/2.794, allocations: 353.9 kB / 0.924 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/2.798, allocations: 3.008 MB / 0.9269 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/2.799, allocations: 1.376 MB / 0.9282 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001471/2.801, allocations: 0.5317 MB / 0.9288 GB, free: 8.285 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/2.801, allocations: 123.4 kB / 0.9289 GB, free: 8.164 MB / 0.7637 GB Notification: Performance of SimCode: time 1.273e-06/2.801, allocations: 4.656 kB / 0.9289 GB, free: 8.16 MB / 0.7637 GB Notification: Performance of Templates: time 0.2694/3.071, allocations: 78.5 MB / 1.006 GB, free: 444.3 MB / 0.8106 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 -s cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe 2>&1)