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.8462/0.8462, allocations: 150.9 MB / 166.7 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003267, allocations: 15.97 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1837, allocations: 31.33 MB / 236.1 MB, free: 5.461 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.772/1.955, allocations: 294.6 MB / 0.5183 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2291/2.184, allocations: 186.9 MB / 0.7008 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007031/2.185, allocations: 11.94 kB / 0.7008 GB, free: 1.387 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.0005188/2.186, allocations: 84.3 kB / 0.7009 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002213/2.188, allocations: 0.5836 MB / 0.7015 GB, free: 0.7188 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.4253/2.613, allocations: 10.59 MB / 0.7118 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003167/2.616, allocations: 3.167 MB / 0.7149 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002125/2.619, allocations: 1.276 MB / 0.7162 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/2.621, allocations: 0.9653 MB / 0.7171 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/2.623, allocations: 1.264 MB / 0.7184 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009087/2.624, allocations: 209.5 kB / 0.7186 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03778/2.662, allocations: 20.63 MB / 0.7387 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001408/2.663, allocations: 0.9078 MB / 0.7396 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00172/2.665, allocations: 1.124 MB / 0.7407 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.017/2.682, allocations: 8.402 MB / 0.7489 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/2.682, allocations: 0.7812 kB / 0.7489 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.424e-06/2.682, allocations: 0 / 0.7489 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.532e-05/2.682, allocations: 0.6562 kB / 0.7489 GB, free: 15.05 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.01161/2.694, allocations: 3.534 MB / 0.7523 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/2.694, allocations: 10.38 kB / 0.7524 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004423/2.694, allocations: 212 kB / 0.7526 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/2.695, allocations: 0.8589 MB / 0.7534 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004361/2.696, allocations: 455.5 kB / 0.7538 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/2.696, allocations: 191.4 kB / 0.754 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004669/2.701, allocations: 3.119 MB / 0.7571 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/2.701, allocations: 18.47 kB / 0.7571 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/2.701, allocations: 84.88 kB / 0.7572 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/2.701, allocations: 53.81 kB / 0.7572 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00508/2.706, allocations: 3.151 MB / 0.7603 GB, free: 10.58 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.01751/2.724, allocations: 14.84 MB / 0.7748 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007653/2.731, allocations: 2.362 MB / 0.7771 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/2.733, allocations: 0.9151 MB / 0.778 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1587/2.892, allocations: 85.75 MB / 0.8617 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/2.892, allocations: 45.08 kB / 0.8618 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.466e-06/2.892, allocations: 0 / 0.8618 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.02017/2.912, allocations: 5.973 MB / 0.8676 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/2.912, allocations: 67.72 kB / 0.8677 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/2.914, allocations: 1.397 MB / 0.869 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/2.914, allocations: 49.7 kB / 0.8691 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005351/2.915, allocations: 0.7758 MB / 0.8698 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005042/2.915, allocations: 0.5199 MB / 0.8703 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006279/2.916, allocations: 427.2 kB / 0.8707 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000107/2.916, allocations: 308 kB / 0.871 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/2.918, allocations: 0.9214 MB / 0.8719 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/2.92, allocations: 1.63 MB / 0.8735 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004084/2.924, allocations: 2.7 MB / 0.8762 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.49e-05/2.924, allocations: 8 kB / 0.8762 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006537/2.931, allocations: 3.389 MB / 0.8795 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/2.931, allocations: 16 kB / 0.8795 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.672e-05/2.931, allocations: 26.88 kB / 0.8795 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004273/2.935, allocations: 1.563 MB / 0.8811 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003751/2.939, allocations: 0.5945 MB / 0.8816 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007967/2.947, allocations: 5.375 MB / 0.8869 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/2.949, allocations: 308.8 kB / 0.8872 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002553/2.95, allocations: 122.8 kB / 0.8873 GB, free: 1.543 MB / 0.7169 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.0009288/2.951, allocations: 0.5193 MB / 0.8878 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/2.951, allocations: 159.3 kB / 0.888 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005693/2.957, allocations: 2.773 MB / 0.8907 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/2.957, allocations: 16 kB / 0.8907 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/2.957, allocations: 4 kB / 0.8907 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/2.957, allocations: 7.969 kB / 0.8907 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007791/2.965, allocations: 4.354 MB / 0.8949 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/2.965, allocations: 8.094 kB / 0.8949 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/2.967, allocations: 349.5 kB / 0.8953 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004086/2.971, allocations: 1.434 MB / 0.8967 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002157/2.971, allocations: 39.98 kB / 0.8967 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007828/2.979, allocations: 5.35 MB / 0.9019 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/2.979, allocations: 0 / 0.9019 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005377/2.984, allocations: 2.611 MB / 0.9045 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000993/2.985, allocations: 450.6 kB / 0.9049 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/2.986, allocations: 28 kB / 0.9049 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/2.987, allocations: 79.77 kB / 0.905 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003196/2.987, allocations: 124 kB / 0.9051 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/2.987, allocations: 47.98 kB / 0.9052 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001282/2.988, allocations: 0.9389 MB / 0.9061 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/2.988, allocations: 0 / 0.9061 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00646/2.995, allocations: 2.026 MB / 0.9081 GB, free: 12.04 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.008756/3.004, allocations: 2.411 MB / 0.9104 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007858/3.011, allocations: 3.254 MB / 0.9136 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/3.012, allocations: 0 / 0.9136 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002886/3.014, allocations: 1.339 MB / 0.9149 GB, free: 5.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/3.016, allocations: 364.1 kB / 0.9153 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00571/3.022, allocations: 3.737 MB / 0.9189 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/3.023, allocations: 1.372 MB / 0.9203 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006936/3.024, allocations: 139.4 kB / 0.9204 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of SimCode: time 1.984e-06/3.024, allocations: 0 / 0.9204 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of Templates: time 0.08607/3.11, allocations: 58.01 MB / 0.977 GB, free: 5.812 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe 2>&1)