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.5045/0.5045, allocations: 111.6 MB / 131.5 MB, free: 4.91 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 1.302e-06/1.302e-06, allocations: 0 / 176.6 MB, free: 8.918 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.467e-05, allocations: 8.094 kB / 176.6 MB, free: 8.914 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.077/1.077, allocations: 263.8 MB / 440.5 MB, free: 14.15 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3731/1.45, allocations: 182.3 MB / 0.6082 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005842/1.451, allocations: 15.88 kB / 0.6082 GB, free: 12.25 MB / 0.5261 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.0003922/1.451, allocations: 107.1 kB / 0.6083 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001406/1.453, allocations: 0.6528 MB / 0.6089 GB, free: 11.49 MB / 0.5261 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.02438/1.477, allocations: 12.36 MB / 0.621 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002471/1.479, allocations: 3.217 MB / 0.6241 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/1.481, allocations: 1.158 MB / 0.6253 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/1.482, allocations: 1.392 MB / 0.6266 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/1.484, allocations: 1.052 MB / 0.6276 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000525/1.484, allocations: 208 kB / 0.6278 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02664/1.511, allocations: 19.09 MB / 0.6465 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009529/1.512, allocations: 0.9509 MB / 0.6474 GB, free: 3.973 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009906/1.513, allocations: 0.8343 MB / 0.6482 GB, free: 3.137 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02346/1.536, allocations: 14.05 MB / 0.662 GB, free: 5.047 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/1.536, allocations: 4 kB / 0.662 GB, free: 5.043 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.403e-06/1.536, allocations: 0 / 0.662 GB, free: 5.043 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.338e-05/1.536, allocations: 0 / 0.662 GB, free: 5.043 MB / 0.573 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.006478/1.543, allocations: 3.448 MB / 0.6653 GB, free: 1.551 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.543, allocations: 15.98 kB / 0.6653 GB, free: 1.535 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009578/1.544, allocations: 499.5 kB / 0.6658 GB, free: 1.047 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008393/1.545, allocations: 0.6378 MB / 0.6664 GB, free: 388 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/1.545, allocations: 0.6972 MB / 0.6671 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/1.545, allocations: 187.9 kB / 0.6673 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/1.547, allocations: 2.08 MB / 0.6693 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/1.547, allocations: 15.88 kB / 0.6693 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/1.547, allocations: 80 kB / 0.6694 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/1.547, allocations: 52 kB / 0.6695 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/1.548, allocations: 0.8915 MB / 0.6703 GB, free: 11.98 MB / 0.5886 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.007641/1.556, allocations: 10.17 MB / 0.6803 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/1.558, allocations: 1.135 MB / 0.6814 GB, free: 312 kB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/1.559, allocations: 261.4 kB / 0.6816 GB, free: 52 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3053/1.864, allocations: 40.75 MB / 0.7214 GB, free: 86.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/1.864, allocations: 51.12 kB / 0.7215 GB, free: 86.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=146): time 3.767e-06/1.864, allocations: 0 / 0.7215 GB, free: 86.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=146): time 0.01136/1.876, allocations: 3.551 MB / 0.7249 GB, free: 86.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/1.876, allocations: 67.94 kB / 0.725 GB, free: 86.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/1.876, allocations: 0.8549 MB / 0.7258 GB, free: 86.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.733e-05/1.876, allocations: 49.14 kB / 0.7259 GB, free: 86.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/1.877, allocations: 0.8502 MB / 0.7267 GB, free: 85.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/1.877, allocations: 0.5382 MB / 0.7272 GB, free: 85.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005667/1.878, allocations: 443.3 kB / 0.7277 GB, free: 85.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.71e-05/1.878, allocations: 337.9 kB / 0.728 GB, free: 85.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/1.878, allocations: 263.7 kB / 0.7282 GB, free: 85.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008803/1.879, allocations: 1.129 MB / 0.7293 GB, free: 83.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/1.881, allocations: 1.667 MB / 0.731 GB, free: 82.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/1.881, allocations: 10.44 kB / 0.731 GB, free: 82.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002391/1.883, allocations: 1.585 MB / 0.7325 GB, free: 82.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/1.883, allocations: 19.53 kB / 0.7326 GB, free: 82.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-05/1.883, allocations: 33.25 kB / 0.7326 GB, free: 82.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/1.885, allocations: 0.9809 MB / 0.7335 GB, free: 82.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/1.887, allocations: 0.6227 MB / 0.7342 GB, free: 82.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/1.89, allocations: 2.96 MB / 0.737 GB, free: 80.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/1.892, allocations: 278.4 kB / 0.7373 GB, free: 80.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/1.892, allocations: 111.3 kB / 0.7374 GB, free: 80.82 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 6 (dynamicOnePhaseFlowPipe.C2.diff_on_1,dynamicOnePhaseFlowPipe.C1.diff_on_2,sourceP.fluid1,sinkP.fluid,dynamicOnePhaseFlowPipe.fluid,sourceP.C.ftype) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 221 * 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.892, allocations: 264.9 kB / 0.7377 GB, free: 80.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/1.893, allocations: 136.9 kB / 0.7378 GB, free: 80.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/1.894, allocations: 1.114 MB / 0.7389 GB, free: 80.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/1.894, allocations: 17.25 kB / 0.7389 GB, free: 80.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.894, allocations: 9.578 kB / 0.7389 GB, free: 80.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/1.894, allocations: 5.906 kB / 0.7389 GB, free: 80.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/1.898, allocations: 1.782 MB / 0.7407 GB, free: 80.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.898, allocations: 3.625 kB / 0.7407 GB, free: 80.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.899, allocations: 340.2 kB / 0.741 GB, free: 80.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002105/1.901, allocations: 0.9523 MB / 0.7419 GB, free: 80.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/1.901, allocations: 35.67 kB / 0.7419 GB, free: 80.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003218/1.904, allocations: 2.904 MB / 0.7448 GB, free: 78.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.904, allocations: 6.562 kB / 0.7448 GB, free: 78.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/1.906, allocations: 1.047 MB / 0.7458 GB, free: 78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006446/1.907, allocations: 257 kB / 0.7461 GB, free: 77.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/1.907, allocations: 30.64 kB / 0.7461 GB, free: 77.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000781/1.908, allocations: 47.42 kB / 0.7461 GB, free: 77.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/1.908, allocations: 108 kB / 0.7462 GB, free: 77.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.908, allocations: 34.62 kB / 0.7463 GB, free: 77.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004596/1.909, allocations: 366 kB / 0.7466 GB, free: 77.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/1.909, allocations: 1.203 kB / 0.7466 GB, free: 77.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.006027/1.915, allocations: 2.093 MB / 0.7487 GB, free: 77.84 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.007164/1.922, allocations: 2.704 MB / 0.7513 GB, free: 77.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002311/1.924, allocations: 1.376 MB / 0.7526 GB, free: 77.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.456e-05/1.924, allocations: 28.47 kB / 0.7527 GB, free: 77.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008896/1.925, allocations: 0.7581 MB / 0.7534 GB, free: 76.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008565/1.926, allocations: 359 kB / 0.7538 GB, free: 76.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/1.929, allocations: 2.632 MB / 0.7563 GB, free: 75.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/1.929, allocations: 384.9 kB / 0.7567 GB, free: 75.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005946/1.93, allocations: 262.4 kB / 0.7569 GB, free: 75.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006242/1.93, allocations: 363.2 kB / 0.7573 GB, free: 75.52 MB / 0.6198 GB Notification: Performance of SimCode: time 1.543e-06/1.93, allocations: 0 / 0.7573 GB, free: 75.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.06201/1.992, allocations: 85.86 MB / 0.8411 GB, free: 3.844 MB / 0.6198 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.025365914218128]