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.8939/0.8939, allocations: 150.9 MB / 166.4 MB, free: 14.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003078, allocations: 15.97 kB / 204.5 MB, free: 9.75 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1574, allocations: 31.33 MB / 235.9 MB, free: 5.391 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.603/1.76, allocations: 295.7 MB / 0.5192 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5277/2.288, allocations: 188.9 MB / 0.7036 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006859/2.289, allocations: 13.34 kB / 0.7036 GB, free: 2.094 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.0006026/2.29, allocations: 101.8 kB / 0.7037 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002566/2.292, allocations: 0.637 MB / 0.7043 GB, free: 2.094 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.03353/2.326, allocations: 11.97 MB / 0.716 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003147/2.329, allocations: 3.153 MB / 0.7191 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/2.33, allocations: 1.28 MB / 0.7204 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/2.331, allocations: 0.9476 MB / 0.7213 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/2.333, allocations: 1.177 MB / 0.7224 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002825/2.333, allocations: 210.5 kB / 0.7226 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03401/2.367, allocations: 20.46 MB / 0.7426 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001129/2.368, allocations: 0.9054 MB / 0.7435 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001564/2.37, allocations: 1.112 MB / 0.7446 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02889/2.399, allocations: 12.07 MB / 0.7564 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/2.399, allocations: 1.406 kB / 0.7564 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/2.399, allocations: 0.8125 kB / 0.7564 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.751e-05/2.399, allocations: 0 / 0.7564 GB, free: 12.29 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.01029/2.409, allocations: 3.531 MB / 0.7598 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/2.409, allocations: 8.688 kB / 0.7598 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004592/2.41, allocations: 210.5 kB / 0.76 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/2.411, allocations: 0.8549 MB / 0.7609 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000654/2.412, allocations: 459.2 kB / 0.7613 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003431/2.412, allocations: 190.1 kB / 0.7615 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004911/2.417, allocations: 3.128 MB / 0.7646 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/2.417, allocations: 13.94 kB / 0.7646 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/2.417, allocations: 85.25 kB / 0.7646 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/2.417, allocations: 51.84 kB / 0.7647 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005287/2.423, allocations: 3.155 MB / 0.7678 GB, free: 6.711 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.0174/2.44, allocations: 14.85 MB / 0.7823 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007581/2.448, allocations: 2.368 MB / 0.7846 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/2.449, allocations: 0.9143 MB / 0.7855 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1704/2.62, allocations: 85.74 MB / 0.8692 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.234e-05/2.62, allocations: 51.88 kB / 0.8693 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 4.368e-06/2.62, allocations: 0 / 0.8693 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.02214/2.642, allocations: 5.965 MB / 0.8751 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/2.642, allocations: 68.72 kB / 0.8752 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/2.644, allocations: 1.407 MB / 0.8765 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002081/2.645, allocations: 45.7 kB / 0.8766 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000633/2.645, allocations: 0.7856 MB / 0.8773 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005842/2.646, allocations: 0.5125 MB / 0.8778 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007186/2.647, allocations: 423.2 kB / 0.8782 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.877e-05/2.647, allocations: 301.1 kB / 0.8785 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/2.649, allocations: 0.9253 MB / 0.8794 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/2.651, allocations: 1.633 MB / 0.881 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004368/2.655, allocations: 2.7 MB / 0.8837 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.089e-05/2.655, allocations: 8 kB / 0.8837 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006957/2.662, allocations: 3.385 MB / 0.887 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/2.662, allocations: 20.25 kB / 0.887 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/2.662, allocations: 20 kB / 0.887 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004587/2.667, allocations: 1.57 MB / 0.8886 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/2.671, allocations: 0.5941 MB / 0.8891 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008218/2.679, allocations: 5.387 MB / 0.8944 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/2.681, allocations: 288.9 kB / 0.8947 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000449/2.682, allocations: 123.9 kB / 0.8948 GB, free: 9.852 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.001092/2.683, allocations: 0.5138 MB / 0.8953 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004385/2.683, allocations: 158.1 kB / 0.8954 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006019/2.689, allocations: 2.771 MB / 0.8981 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/2.69, allocations: 16 kB / 0.8982 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/2.69, allocations: 4 kB / 0.8982 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/2.69, allocations: 7.969 kB / 0.8982 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00833/2.698, allocations: 4.364 MB / 0.9024 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/2.698, allocations: 0 / 0.9024 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/2.7, allocations: 353.2 kB / 0.9028 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004434/2.705, allocations: 1.431 MB / 0.9042 GB, free: 236 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002791/2.705, allocations: 47.92 kB / 0.9042 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008144/2.713, allocations: 5.337 MB / 0.9094 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/2.713, allocations: 4 kB / 0.9094 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005804/2.719, allocations: 2.612 MB / 0.912 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/2.72, allocations: 443.9 kB / 0.9124 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004029/2.721, allocations: 27.94 kB / 0.9124 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/2.722, allocations: 59.94 kB / 0.9125 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/2.722, allocations: 124.3 kB / 0.9126 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/2.722, allocations: 51.98 kB / 0.9127 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001469/2.724, allocations: 0.9412 MB / 0.9136 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3e-07/2.724, allocations: 0 / 0.9136 GB, free: 6.398 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006276/2.73, allocations: 2.026 MB / 0.9156 GB, free: 4.371 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.00825/2.738, allocations: 2.345 MB / 0.9178 GB, free: 2.312 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007596/2.746, allocations: 3.252 MB / 0.921 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/2.746, allocations: 0 / 0.921 GB, free: 15.13 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003166/2.749, allocations: 1.345 MB / 0.9223 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/2.751, allocations: 358.1 kB / 0.9227 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005327/2.757, allocations: 3.04 MB / 0.9256 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/2.758, allocations: 1.381 MB / 0.927 GB, free: 8.973 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001772/2.759, allocations: 0.5317 MB / 0.9275 GB, free: 8.434 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/2.76, allocations: 127.3 kB / 0.9276 GB, free: 8.309 MB / 0.7637 GB Notification: Performance of SimCode: time 5.51e-07/2.76, allocations: 4 kB / 0.9276 GB, free: 8.305 MB / 0.7637 GB Notification: Performance of Templates: time 0.3102/3.07, allocations: 78.51 MB / 1.004 GB, free: 446.4 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)