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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5758/0.5758, allocations: 120.4 MB / 140.2 MB, free: 12.97 MB / 138.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 218 MB, free: 8.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.602e-05/3.849e-05, allocations: 3.469 kB / 218 MB, free: 8.609 MB / 202.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger): time 1.02/1.02, allocations: 255.2 MB / 473.2 MB, free: 8.008 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.4405/1.46, allocations: 166.1 MB / 0.6243 GB, free: 7.953 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/1.461, allocations: 19.81 kB / 0.6243 GB, free: 7.934 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 master/Fluid/BoundaryConditions/SourcePQ.mo:75:3-76: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 master/Fluid/BoundaryConditions/Sink.mo:40:3-41: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.0003756/1.461, allocations: 103.1 kB / 0.6244 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/1.463, allocations: 0.6684 MB / 0.6251 GB, free: 7.16 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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 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.02568/1.488, allocations: 12.23 MB / 0.637 GB, free: 10.93 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002392/1.491, allocations: 3.217 MB / 0.6402 GB, free: 7.715 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/1.492, allocations: 1.066 MB / 0.6412 GB, free: 6.621 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/1.493, allocations: 1.373 MB / 0.6425 GB, free: 5.246 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009338/1.494, allocations: 1.083 MB / 0.6436 GB, free: 4.16 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001781/1.494, allocations: 208 kB / 0.6438 GB, free: 3.957 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02505/1.519, allocations: 19.18 MB / 0.6625 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0008025/1.52, allocations: 0.9548 MB / 0.6635 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008599/1.521, allocations: 0.8537 MB / 0.6643 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.02241/1.543, allocations: 14.79 MB / 0.6787 GB, free: 116 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/1.543, allocations: 4 kB / 0.6787 GB, free: 112 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.943e-06/1.543, allocations: 4.75 kB / 0.6787 GB, free: 108 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.94e-05/1.543, allocations: 0 / 0.6787 GB, free: 108 kB / 0.6042 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.006787/1.55, allocations: 3.579 MB / 0.6822 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/1.55, allocations: 8.031 kB / 0.6822 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008476/1.551, allocations: 378.6 kB / 0.6826 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/1.552, allocations: 0.8214 MB / 0.6834 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004414/1.553, allocations: 0.7059 MB / 0.6841 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/1.553, allocations: 184 kB / 0.6843 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/1.556, allocations: 3.164 MB / 0.6874 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.483e-05/1.556, allocations: 11.88 kB / 0.6874 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/1.556, allocations: 84 kB / 0.6875 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/1.556, allocations: 52 kB / 0.6875 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003311/1.559, allocations: 3.142 MB / 0.6906 GB, free: 3.523 MB / 0.6198 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.009322/1.569, allocations: 12.07 MB / 0.7024 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/1.572, allocations: 2.249 MB / 0.7046 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009719/1.573, allocations: 0.8333 MB / 0.7054 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2395/1.813, allocations: 45.11 MB / 0.7494 GB, free: 301.3 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/1.813, allocations: 47.8 kB / 0.7495 GB, free: 301.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=146): time 2.895e-06/1.813, allocations: 0 / 0.7495 GB, free: 301.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=146): time 0.01056/1.823, allocations: 5.768 MB / 0.7551 GB, free: 295.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/1.823, allocations: 68.72 kB / 0.7552 GB, free: 295.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006904/1.824, allocations: 0.968 MB / 0.7561 GB, free: 294.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/1.824, allocations: 49.69 kB / 0.7562 GB, free: 294.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/1.824, allocations: 0.8271 MB / 0.757 GB, free: 294.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/1.825, allocations: 0.5344 MB / 0.7575 GB, free: 293.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003233/1.825, allocations: 439.4 kB / 0.7579 GB, free: 293.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.119e-05/1.825, allocations: 330.7 kB / 0.7582 GB, free: 292.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009811/1.826, allocations: 0.9246 MB / 0.7591 GB, free: 291.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/1.827, allocations: 1.634 MB / 0.7607 GB, free: 290 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/1.829, allocations: 2.703 MB / 0.7634 GB, free: 286.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/1.829, allocations: 8 kB / 0.7634 GB, free: 286.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.003315/1.833, allocations: 3.32 MB / 0.7666 GB, free: 283.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/1.833, allocations: 16.22 kB / 0.7666 GB, free: 283.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/1.833, allocations: 28.77 kB / 0.7667 GB, free: 283.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/1.835, allocations: 1.563 MB / 0.7682 GB, free: 282 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/1.836, allocations: 0.5889 MB / 0.7688 GB, free: 281.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/1.84, allocations: 5.217 MB / 0.7739 GB, free: 276.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008173/1.841, allocations: 258.8 kB / 0.7741 GB, free: 275.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.841, allocations: 119.9 kB / 0.7742 GB, free: 275.8 MB / 0.6667 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.0005271/1.842, allocations: 0.521 MB / 0.7747 GB, free: 275.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.842, allocations: 127.2 kB / 0.7749 GB, free: 275.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/1.845, allocations: 2.719 MB / 0.7775 GB, free: 272.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.845, allocations: 12 kB / 0.7775 GB, free: 272.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.845, allocations: 4 kB / 0.7775 GB, free: 272.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.845, allocations: 8.812 kB / 0.7775 GB, free: 272.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004164/1.849, allocations: 3.933 MB / 0.7814 GB, free: 268.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.849, allocations: 4.484 kB / 0.7814 GB, free: 268.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008927/1.85, allocations: 347.6 kB / 0.7817 GB, free: 268.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/1.852, allocations: 1.435 MB / 0.7831 GB, free: 266.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/1.852, allocations: 48.86 kB / 0.7832 GB, free: 266.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/1.855, allocations: 5.177 MB / 0.7882 GB, free: 261.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.855, allocations: 3.75 kB / 0.7882 GB, free: 261.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/1.858, allocations: 2.552 MB / 0.7907 GB, free: 258.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/1.859, allocations: 343.6 kB / 0.791 GB, free: 258.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.701e-05/1.859, allocations: 27.98 kB / 0.7911 GB, free: 258.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004597/1.859, allocations: 64.7 kB / 0.7911 GB, free: 258.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/1.859, allocations: 125.6 kB / 0.7912 GB, free: 258.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/1.859, allocations: 51.98 kB / 0.7913 GB, free: 258.1 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004263/1.86, allocations: 0.5966 MB / 0.7919 GB, free: 257.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4e-08/1.86, allocations: 0 / 0.7919 GB, free: 257.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00455/1.864, allocations: 2.096 MB / 0.7939 GB, free: 255.7 MB / 0.6667 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.004123/1.868, allocations: 2.563 MB / 0.7964 GB, free: 253.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003171/1.872, allocations: 2.548 MB / 0.7989 GB, free: 250.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.872, allocations: 0 / 0.7989 GB, free: 250.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/1.873, allocations: 1.274 MB / 0.8002 GB, free: 249.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008304/1.874, allocations: 335.6 kB / 0.8005 GB, free: 249.3 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/1.877, allocations: 3.117 MB / 0.8035 GB, free: 246.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/1.877, allocations: 0.7985 MB / 0.8043 GB, free: 245.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/1.878, allocations: 129.7 kB / 0.8044 GB, free: 245.2 MB / 0.6667 GB Notification: Performance of SimCode: time 1.563e-06/1.878, allocations: 0 / 0.8044 GB, free: 245.2 MB / 0.6667 GB Notification: Performance of Templates: time 0.04169/1.919, allocations: 57.61 MB / 0.8607 GB, free: 187.8 MB / 0.6667 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.858953196555376] Failed to read output from testmodel.py, exit status != 0: 2.1503350269049406 2.055603366 0.5106914349999999 Calling exit ...