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.8396/0.8396, allocations: 150.9 MB / 166.5 MB, free: 14.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003199, allocations: 16.44 kB / 237.1 MB, free: 1.77 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06439/0.06472, allocations: 31.34 MB / 268.4 MB, free: 7.035 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.617/1.682, allocations: 295.7 MB / 0.551 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5189/2.201, allocations: 188.9 MB / 0.7354 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005166/2.201, allocations: 11.25 kB / 0.7354 GB, free: 1.699 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.0003678/2.202, allocations: 103.2 kB / 0.7355 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/2.203, allocations: 0.6367 MB / 0.7361 GB, free: 1.672 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.03116/2.235, allocations: 11.98 MB / 0.7478 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002869/2.237, allocations: 3.153 MB / 0.7509 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/2.239, allocations: 1.274 MB / 0.7522 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/2.24, allocations: 0.9522 MB / 0.7531 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/2.242, allocations: 1.178 MB / 0.7542 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002913/2.242, allocations: 208.8 kB / 0.7544 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03372/2.276, allocations: 20.74 MB / 0.7747 GB, free: 15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001155/2.277, allocations: 0.9101 MB / 0.7756 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001435/2.278, allocations: 1.118 MB / 0.7767 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02577/2.304, allocations: 11.99 MB / 0.7884 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/2.304, allocations: 3.188 kB / 0.7884 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.517e-06/2.304, allocations: 0.875 kB / 0.7884 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.492e-05/2.304, allocations: 0 / 0.7884 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.01031/2.315, allocations: 3.529 MB / 0.7918 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/2.315, allocations: 15.11 kB / 0.7918 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004833/2.315, allocations: 208.5 kB / 0.792 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/2.317, allocations: 0.8796 MB / 0.7929 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004216/2.317, allocations: 459.3 kB / 0.7933 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002913/2.317, allocations: 190 kB / 0.7935 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004712/2.322, allocations: 3.124 MB / 0.7966 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/2.322, allocations: 11.31 kB / 0.7966 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/2.322, allocations: 84 kB / 0.7967 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/2.322, allocations: 52 kB / 0.7967 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005216/2.328, allocations: 3.151 MB / 0.7998 GB, free: 96 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.01794/2.346, allocations: 14.8 MB / 0.8142 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00768/2.353, allocations: 2.37 MB / 0.8166 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/2.355, allocations: 0.9162 MB / 0.8175 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1628/2.518, allocations: 86.2 MB / 0.9016 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/2.518, allocations: 53.23 kB / 0.9017 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.516e-06/2.518, allocations: 0 / 0.9017 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.02008/2.538, allocations: 5.969 MB / 0.9075 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/2.538, allocations: 64.72 kB / 0.9076 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/2.54, allocations: 1.397 MB / 0.9089 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/2.54, allocations: 49.7 kB / 0.909 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005342/2.541, allocations: 0.781 MB / 0.9098 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004493/2.541, allocations: 0.519 MB / 0.9103 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006199/2.542, allocations: 427.2 kB / 0.9107 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001001/2.542, allocations: 301.1 kB / 0.911 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/2.544, allocations: 0.9253 MB / 0.9119 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/2.546, allocations: 1.641 MB / 0.9135 GB, free: 320 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004187/2.55, allocations: 2.699 MB / 0.9161 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/2.55, allocations: 4 kB / 0.9161 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006802/2.557, allocations: 3.386 MB / 0.9194 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/2.557, allocations: 15.94 kB / 0.9194 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/2.557, allocations: 25.64 kB / 0.9194 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004467/2.561, allocations: 1.56 MB / 0.921 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003923/2.565, allocations: 0.5935 MB / 0.9215 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008005/2.573, allocations: 5.387 MB / 0.9268 GB, free: 2.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/2.576, allocations: 288.9 kB / 0.9271 GB, free: 2.145 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002574/2.576, allocations: 123.9 kB / 0.9272 GB, free: 2.023 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.000988/2.577, allocations: 0.5109 MB / 0.9277 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/2.578, allocations: 154.1 kB / 0.9278 GB, free: 1.379 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00586/2.583, allocations: 2.779 MB / 0.9306 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/2.583, allocations: 12 kB / 0.9306 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/2.583, allocations: 4 kB / 0.9306 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/2.583, allocations: 7.969 kB / 0.9306 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008134/2.592, allocations: 4.364 MB / 0.9348 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.954e-06/2.592, allocations: 0 / 0.9348 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/2.594, allocations: 358.1 kB / 0.9352 GB, free: 9.84 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004183/2.598, allocations: 1.431 MB / 0.9366 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002321/2.598, allocations: 43.97 kB / 0.9366 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007738/2.606, allocations: 5.32 MB / 0.9418 GB, free: 2.898 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/2.606, allocations: 4 kB / 0.9418 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005412/2.612, allocations: 2.612 MB / 0.9444 GB, free: 260 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/2.613, allocations: 446.6 kB / 0.9448 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/2.613, allocations: 31.98 kB / 0.9448 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/2.614, allocations: 55.95 kB / 0.9449 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/2.614, allocations: 125.1 kB / 0.945 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/2.614, allocations: 47.98 kB / 0.9451 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001253/2.616, allocations: 0.9407 MB / 0.946 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.783e-06/2.616, allocations: 0 / 0.946 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005948/2.622, allocations: 2.03 MB / 0.948 GB, free: 12.57 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.007152/2.629, allocations: 2.334 MB / 0.9502 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005709/2.634, allocations: 2.665 MB / 0.9528 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/2.635, allocations: 0 / 0.9528 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002685/2.637, allocations: 1.338 MB / 0.9541 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/2.639, allocations: 351.2 kB / 0.9545 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/2.644, allocations: 3.019 MB / 0.9574 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009193/2.645, allocations: 1.372 MB / 0.9588 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001402/2.646, allocations: 0.5347 MB / 0.9593 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/2.646, allocations: 123.4 kB / 0.9594 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of SimCode: time 5.92e-07/2.646, allocations: 4 kB / 0.9594 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of Templates: time 0.2804/2.927, allocations: 79.12 MB / 1.037 GB, free: 429.6 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)