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.8058/0.8058, allocations: 111.6 MB / 131 MB, free: 5.082 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/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.334e-06/2.334e-06, allocations: 0 / 175.7 MB, free: 9.449 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.624e-05, allocations: 2.312 kB / 175.7 MB, free: 9.445 MB / 170.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.711/1.711, allocations: 255.7 MB / 431.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4344/2.145, allocations: 182.6 MB / 0.5996 GB, free: 8.016 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003988/2.145, allocations: 15.88 kB / 0.5996 GB, free: 8 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:73:3-74:80: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:77:3-78:78: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:44:3-45:78: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:29:3-30:80: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.000376/2.146, allocations: 107 kB / 0.5997 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/2.148, allocations: 0.645 MB / 0.6004 GB, free: 7.246 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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:56:5-56:88: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.03355/2.181, allocations: 12.24 MB / 0.6123 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.004511/2.186, allocations: 3.221 MB / 0.6155 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/2.187, allocations: 1.141 MB / 0.6166 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/2.189, allocations: 1.373 MB / 0.6179 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/2.191, allocations: 1.08 MB / 0.619 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0003992/2.192, allocations: 208 kB / 0.6192 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03869/2.23, allocations: 19.17 MB / 0.6379 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001381/2.232, allocations: 0.9549 MB / 0.6388 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001435/2.233, allocations: 0.8499 MB / 0.6397 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.03102/2.264, allocations: 14.8 MB / 0.6541 GB, free: 84 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/2.264, allocations: 4 kB / 0.6541 GB, free: 80 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.183e-06/2.264, allocations: 4 kB / 0.6541 GB, free: 76 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.266e-05/2.264, allocations: 0 / 0.6541 GB, free: 76 kB / 0.5573 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.01056/2.275, allocations: 3.803 MB / 0.6578 GB, free: 12.21 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/2.275, allocations: 11.98 kB / 0.6578 GB, free: 12.2 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/2.277, allocations: 0.5337 MB / 0.6584 GB, free: 11.66 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/2.279, allocations: 0.8085 MB / 0.6592 GB, free: 10.82 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007611/2.28, allocations: 0.7016 MB / 0.6598 GB, free: 10 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003344/2.28, allocations: 184 kB / 0.66 GB, free: 9.82 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005171/2.285, allocations: 2.774 MB / 0.6627 GB, free: 6.691 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.102e-05/2.285, allocations: 11.88 kB / 0.6627 GB, free: 6.68 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/2.285, allocations: 88 kB / 0.6628 GB, free: 6.594 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/2.286, allocations: 52 kB / 0.6629 GB, free: 6.543 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004904/2.29, allocations: 2.135 MB / 0.665 GB, free: 4.402 MB / 0.573 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.0214/2.312, allocations: 15.99 MB / 0.6806 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007279/2.319, allocations: 1.524 MB / 0.6821 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/2.321, allocations: 487.4 kB / 0.6825 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4113/2.732, allocations: 45.34 MB / 0.7268 GB, free: 95.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/2.732, allocations: 55.05 kB / 0.7269 GB, free: 95.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=146): time 3.767e-06/2.732, allocations: 0 / 0.7269 GB, free: 95.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=146): time 0.01896/2.751, allocations: 4.622 MB / 0.7314 GB, free: 95.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/2.751, allocations: 65.75 kB / 0.7314 GB, free: 95.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/2.752, allocations: 1.051 MB / 0.7325 GB, free: 95.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.803e-05/2.752, allocations: 52.39 kB / 0.7325 GB, free: 95.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/2.752, allocations: 0.9053 MB / 0.7334 GB, free: 94.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000344/2.753, allocations: 0.5658 MB / 0.7339 GB, free: 94.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006114/2.753, allocations: 482.9 kB / 0.7344 GB, free: 94.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/2.754, allocations: 0.5148 MB / 0.7349 GB, free: 93.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/2.755, allocations: 483.4 kB / 0.7354 GB, free: 93.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/2.757, allocations: 1.509 MB / 0.7368 GB, free: 92.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003004/2.76, allocations: 2.159 MB / 0.739 GB, free: 91.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/2.76, allocations: 5.812 kB / 0.739 GB, free: 91.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005022/2.765, allocations: 2.32 MB / 0.7412 GB, free: 91.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/2.765, allocations: 15.28 kB / 0.7412 GB, free: 91.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/2.765, allocations: 21.47 kB / 0.7413 GB, free: 91.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0041/2.769, allocations: 1.3 MB / 0.7425 GB, free: 91.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003522/2.772, allocations: 0.5984 MB / 0.7431 GB, free: 91.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005891/2.778, allocations: 4.513 MB / 0.7475 GB, free: 88.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/2.78, allocations: 248 kB / 0.7478 GB, free: 88.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/2.78, allocations: 120.6 kB / 0.7479 GB, free: 88.37 MB / 0.6198 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.0006274/2.781, allocations: 376.9 kB / 0.7482 GB, free: 88.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/2.781, allocations: 177.7 kB / 0.7484 GB, free: 88.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004666/2.786, allocations: 1.786 MB / 0.7501 GB, free: 87.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/2.786, allocations: 17.5 kB / 0.7502 GB, free: 87.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/2.786, allocations: 3.438 kB / 0.7502 GB, free: 87.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/2.786, allocations: 15.48 kB / 0.7502 GB, free: 87.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006659/2.792, allocations: 3.033 MB / 0.7531 GB, free: 87.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/2.792, allocations: 3.594 kB / 0.7531 GB, free: 87.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/2.795, allocations: 350.6 kB / 0.7535 GB, free: 87.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003775/2.798, allocations: 1.165 MB / 0.7546 GB, free: 87.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/2.799, allocations: 40.95 kB / 0.7547 GB, free: 87.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005725/2.804, allocations: 4.467 MB / 0.759 GB, free: 84.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/2.804, allocations: 3.516 kB / 0.759 GB, free: 84.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004102/2.808, allocations: 1.774 MB / 0.7608 GB, free: 84.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009032/2.809, allocations: 327 kB / 0.7611 GB, free: 84.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/2.81, allocations: 32.95 kB / 0.7611 GB, free: 84.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/2.811, allocations: 65.27 kB / 0.7612 GB, free: 84.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/2.811, allocations: 125.4 kB / 0.7613 GB, free: 84.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/2.811, allocations: 52.98 kB / 0.7613 GB, free: 84.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006668/2.812, allocations: 0.558 MB / 0.7619 GB, free: 84.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/2.812, allocations: 0 / 0.7619 GB, free: 84.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00493/2.817, allocations: 2.091 MB / 0.7639 GB, free: 84.13 MB / 0.6198 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.007039/2.824, allocations: 2.557 MB / 0.7664 GB, free: 83.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005097/2.829, allocations: 1.93 MB / 0.7683 GB, free: 83.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/2.829, allocations: 0 / 0.7683 GB, free: 83.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002554/2.831, allocations: 1.064 MB / 0.7693 GB, free: 83.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/2.833, allocations: 362 kB / 0.7697 GB, free: 83.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/2.837, allocations: 2.643 MB / 0.7723 GB, free: 81.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/2.838, allocations: 0.7587 MB / 0.773 GB, free: 80.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001226/2.839, allocations: 429.1 kB / 0.7734 GB, free: 80.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/2.84, allocations: 111.1 kB / 0.7735 GB, free: 80.45 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/2.84, allocations: 0 / 0.7735 GB, free: 80.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.08137/2.921, allocations: 76.19 MB / 0.8479 GB, free: 9.902 MB / 0.6198 GB " [Timeout remaining time 657] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.589922935003415]