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.5083/0.5083, allocations: 111.6 MB / 131.4 MB, free: 4.414 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.214e-06/2.214e-06, allocations: 0 / 176.5 MB, free: 8.922 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.24e-05, allocations: 2.312 kB / 176.5 MB, free: 8.918 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.094/1.094, allocations: 258.1 MB / 434.6 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3589/1.452, allocations: 179.6 MB / 0.5998 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005721/1.453, allocations: 15.88 kB / 0.5998 GB, free: 0.7344 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.0003767/1.453, allocations: 107.1 kB / 0.5999 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001945/1.455, allocations: 0.6412 MB / 0.6005 GB, free: 15.98 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.02489/1.48, allocations: 12.26 MB / 0.6125 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002496/1.483, allocations: 3.223 MB / 0.6157 GB, free: 480 kB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/1.484, allocations: 1.145 MB / 0.6168 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/1.486, allocations: 1.385 MB / 0.6181 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/1.487, allocations: 1.072 MB / 0.6192 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0004411/1.488, allocations: 200 kB / 0.6194 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02673/1.514, allocations: 19.17 MB / 0.6381 GB, free: 9.453 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009152/1.515, allocations: 0.951 MB / 0.639 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/1.516, allocations: 0.8382 MB / 0.6398 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02363/1.54, allocations: 14.05 MB / 0.6536 GB, free: 9.57 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/1.54, allocations: 4 kB / 0.6536 GB, free: 9.566 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.533e-06/1.54, allocations: 0 / 0.6536 GB, free: 9.566 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.257e-05/1.54, allocations: 0 / 0.6536 GB, free: 9.566 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.007276/1.547, allocations: 3.658 MB / 0.6571 GB, free: 5.852 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/1.547, allocations: 15.92 kB / 0.6571 GB, free: 5.836 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/1.548, allocations: 0.5376 MB / 0.6577 GB, free: 5.297 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009386/1.549, allocations: 0.7329 MB / 0.6584 GB, free: 4.531 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003658/1.55, allocations: 0.7011 MB / 0.6591 GB, free: 3.707 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/1.55, allocations: 184 kB / 0.6592 GB, free: 3.527 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/1.552, allocations: 2.263 MB / 0.6615 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/1.552, allocations: 11.88 kB / 0.6615 GB, free: 0.8984 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/1.552, allocations: 88 kB / 0.6615 GB, free: 0.8125 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/1.552, allocations: 52 kB / 0.6616 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/1.554, allocations: 0.9893 MB / 0.6626 GB, free: 15.76 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.008992/1.563, allocations: 14.25 MB / 0.6765 GB, free: 1.059 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/1.565, allocations: 1.178 MB / 0.6776 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/1.566, allocations: 299.3 kB / 0.6779 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3036/1.869, allocations: 39.94 MB / 0.7169 GB, free: 89.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/1.869, allocations: 58.86 kB / 0.717 GB, free: 89.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=146): time 3.336e-06/1.869, allocations: 3.375 kB / 0.717 GB, free: 89.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=146): time 0.008872/1.878, allocations: 3.915 MB / 0.7208 GB, free: 89.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/1.878, allocations: 74.09 kB / 0.7209 GB, free: 89.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007477/1.879, allocations: 0.9959 MB / 0.7218 GB, free: 89.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/1.879, allocations: 46.08 kB / 0.7219 GB, free: 89.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/1.879, allocations: 0.9532 MB / 0.7228 GB, free: 88.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/1.88, allocations: 0.5589 MB / 0.7234 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004061/1.88, allocations: 499.5 kB / 0.7238 GB, free: 88.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.663e-05/1.88, allocations: 0.5042 MB / 0.7243 GB, free: 88.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/1.881, allocations: 272.2 kB / 0.7246 GB, free: 88.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00078/1.881, allocations: 1.561 MB / 0.7261 GB, free: 86.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/1.883, allocations: 2.067 MB / 0.7281 GB, free: 84.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/1.883, allocations: 9.688 kB / 0.7281 GB, free: 84.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002415/1.885, allocations: 1.973 MB / 0.7301 GB, free: 84.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/1.885, allocations: 18.88 kB / 0.7301 GB, free: 84.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/1.885, allocations: 30.19 kB / 0.7301 GB, free: 84.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/1.887, allocations: 1.094 MB / 0.7312 GB, free: 84.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/1.889, allocations: 0.6447 MB / 0.7318 GB, free: 84.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/1.891, allocations: 3.928 MB / 0.7357 GB, free: 81.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/1.892, allocations: 278.2 kB / 0.7359 GB, free: 81.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/1.892, allocations: 115.3 kB / 0.736 GB, free: 81.86 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.0004654/1.893, allocations: 318.3 kB / 0.7363 GB, free: 81.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/1.893, allocations: 185.5 kB / 0.7365 GB, free: 81.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/1.895, allocations: 1.356 MB / 0.7378 GB, free: 81.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.895, allocations: 18.09 kB / 0.7378 GB, free: 81.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.895, allocations: 7.531 kB / 0.7379 GB, free: 81.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/1.895, allocations: 8.531 kB / 0.7379 GB, free: 81.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002841/1.898, allocations: 2.155 MB / 0.74 GB, free: 81.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.898, allocations: 3.406 kB / 0.74 GB, free: 81.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009008/1.899, allocations: 349.3 kB / 0.7403 GB, free: 81.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/1.9, allocations: 0.9583 MB / 0.7412 GB, free: 80.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.249e-05/1.9, allocations: 42.16 kB / 0.7413 GB, free: 80.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/1.903, allocations: 3.858 MB / 0.745 GB, free: 78.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.903, allocations: 7.625 kB / 0.7451 GB, free: 78.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/1.904, allocations: 1.311 MB / 0.7463 GB, free: 77.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/1.905, allocations: 310.3 kB / 0.7466 GB, free: 77.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/1.905, allocations: 26.83 kB / 0.7467 GB, free: 77.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/1.905, allocations: 55.61 kB / 0.7467 GB, free: 77.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/1.905, allocations: 116.5 kB / 0.7468 GB, free: 77.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/1.905, allocations: 39.75 kB / 0.7469 GB, free: 77.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003669/1.906, allocations: 0.4897 MB / 0.7473 GB, free: 77.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.906, allocations: 0 / 0.7473 GB, free: 77.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004493/1.91, allocations: 2.092 MB / 0.7494 GB, free: 77.67 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.005675/1.916, allocations: 2.645 MB / 0.752 GB, free: 77.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002662/1.919, allocations: 1.561 MB / 0.7535 GB, free: 76.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.919, allocations: 0 / 0.7535 GB, free: 76.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/1.92, allocations: 0.867 MB / 0.7543 GB, free: 76.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009863/1.921, allocations: 370.3 kB / 0.7547 GB, free: 76.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/1.924, allocations: 2.603 MB / 0.7572 GB, free: 75.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/1.924, allocations: 399.1 kB / 0.7576 GB, free: 75.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007575/1.925, allocations: 260.6 kB / 0.7579 GB, free: 75.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007059/1.926, allocations: 427.1 kB / 0.7583 GB, free: 75.22 MB / 0.6198 GB Notification: Performance of SimCode: time 1.993e-06/1.926, allocations: 1.094 kB / 0.7583 GB, free: 75.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.07229/1.998, allocations: 86.69 MB / 0.8429 GB, free: 1.293 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: 6.520557377953082]