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.507/0.507, allocations: 111.6 MB / 131.2 MB, free: 4.559 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.462e-06/1.462e-06, allocations: 0 / 176.2 MB, free: 9.148 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.402e-05, allocations: 2.312 kB / 176.2 MB, free: 9.145 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.059/1.059, allocations: 258.1 MB / 434.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3597/1.419, allocations: 183 MB / 0.6028 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003717/1.419, allocations: 15.88 kB / 0.6028 GB, free: 13.77 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.0002975/1.419, allocations: 103.1 kB / 0.6029 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001248/1.42, allocations: 0.6528 MB / 0.6035 GB, free: 13.01 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.02198/1.442, allocations: 12.26 MB / 0.6155 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002237/1.445, allocations: 3.223 MB / 0.6186 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/1.446, allocations: 1.141 MB / 0.6198 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/1.447, allocations: 1.385 MB / 0.6211 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/1.448, allocations: 1.08 MB / 0.6222 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0003207/1.449, allocations: 204 kB / 0.6224 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02501/1.474, allocations: 19.16 MB / 0.6411 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007161/1.474, allocations: 0.9588 MB / 0.642 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/1.475, allocations: 0.8343 MB / 0.6428 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02173/1.497, allocations: 14.04 MB / 0.6565 GB, free: 6.605 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.497, allocations: 0 / 0.6565 GB, free: 6.605 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.893e-06/1.497, allocations: 4 kB / 0.6565 GB, free: 6.602 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.503e-05/1.497, allocations: 0 / 0.6565 GB, free: 6.602 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.006852/1.504, allocations: 3.705 MB / 0.6602 GB, free: 2.84 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.504, allocations: 19.98 kB / 0.6602 GB, free: 2.82 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/1.505, allocations: 0.5376 MB / 0.6607 GB, free: 2.281 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009644/1.506, allocations: 0.7993 MB / 0.6615 GB, free: 1.449 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003765/1.507, allocations: 0.6972 MB / 0.6622 GB, free: 0.6289 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/1.507, allocations: 188 kB / 0.6623 GB, free: 456 kB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/1.509, allocations: 2.407 MB / 0.6647 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/1.509, allocations: 11.94 kB / 0.6647 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/1.51, allocations: 87.94 kB / 0.6648 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/1.51, allocations: 52 kB / 0.6648 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/1.511, allocations: 1.216 MB / 0.666 GB, free: 12.31 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.008951/1.52, allocations: 14.59 MB / 0.6803 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/1.523, allocations: 1.276 MB / 0.6815 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005073/1.524, allocations: 347.4 kB / 0.6819 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3141/1.838, allocations: 45.33 MB / 0.7261 GB, free: 86.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/1.838, allocations: 50.61 kB / 0.7262 GB, free: 86.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=146): time 3.216e-06/1.838, allocations: 0 / 0.7262 GB, free: 86.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=146): time 0.00938/1.847, allocations: 4.139 MB / 0.7302 GB, free: 86.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/1.847, allocations: 67.78 kB / 0.7303 GB, free: 86.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007421/1.848, allocations: 1.004 MB / 0.7313 GB, free: 85.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/1.848, allocations: 48.67 kB / 0.7313 GB, free: 85.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/1.848, allocations: 0.9481 MB / 0.7322 GB, free: 85.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/1.849, allocations: 0.559 MB / 0.7328 GB, free: 85.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003998/1.849, allocations: 492.4 kB / 0.7332 GB, free: 85.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/1.849, allocations: 0.5028 MB / 0.7337 GB, free: 84.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005717/1.85, allocations: 346.9 kB / 0.7341 GB, free: 84.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008989/1.851, allocations: 1.627 MB / 0.7357 GB, free: 82.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/1.852, allocations: 2.191 MB / 0.7378 GB, free: 81.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/1.852, allocations: 8.969 kB / 0.7378 GB, free: 81.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002763/1.855, allocations: 2.14 MB / 0.7399 GB, free: 81.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/1.855, allocations: 22.09 kB / 0.7399 GB, free: 81.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/1.855, allocations: 28.75 kB / 0.7399 GB, free: 81.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/1.857, allocations: 1.128 MB / 0.741 GB, free: 81.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/1.859, allocations: 0.6509 MB / 0.7417 GB, free: 81.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/1.862, allocations: 4.079 MB / 0.7457 GB, free: 78.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009271/1.863, allocations: 284.8 kB / 0.7459 GB, free: 78.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/1.863, allocations: 138.4 kB / 0.7461 GB, free: 78.34 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 (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 (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.0003705/1.864, allocations: 319.5 kB / 0.7464 GB, free: 78.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/1.864, allocations: 179.9 kB / 0.7465 GB, free: 78.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/1.866, allocations: 1.472 MB / 0.748 GB, free: 77.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.866, allocations: 15.31 kB / 0.748 GB, free: 77.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.866, allocations: 2.406 kB / 0.748 GB, free: 77.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/1.866, allocations: 10.52 kB / 0.748 GB, free: 77.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/1.869, allocations: 2.506 MB / 0.7504 GB, free: 77.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.869, allocations: 4.906 kB / 0.7505 GB, free: 77.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.87, allocations: 351 kB / 0.7508 GB, free: 77.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/1.872, allocations: 0.9907 MB / 0.7518 GB, free: 77.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.623e-05/1.872, allocations: 36.89 kB / 0.7518 GB, free: 77.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002696/1.875, allocations: 4.033 MB / 0.7557 GB, free: 74.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/1.875, allocations: 0 / 0.7557 GB, free: 74.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/1.877, allocations: 1.417 MB / 0.7571 GB, free: 74.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/1.877, allocations: 332 kB / 0.7574 GB, free: 74.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/1.877, allocations: 25.88 kB / 0.7575 GB, free: 74.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/1.878, allocations: 58.12 kB / 0.7575 GB, free: 74.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/1.878, allocations: 122.3 kB / 0.7576 GB, free: 74.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.5e-05/1.878, allocations: 51.34 kB / 0.7577 GB, free: 74.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003636/1.878, allocations: 0.5232 MB / 0.7582 GB, free: 74.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/1.878, allocations: 0 / 0.7582 GB, free: 74.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003748/1.882, allocations: 2.096 MB / 0.7602 GB, free: 74.09 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.004322/1.886, allocations: 2.554 MB / 0.7627 GB, free: 73.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002248/1.889, allocations: 1.685 MB / 0.7644 GB, free: 73.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.889, allocations: 5.625 kB / 0.7644 GB, free: 73.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.89, allocations: 0.9099 MB / 0.7653 GB, free: 73.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/1.89, allocations: 366.6 kB / 0.7656 GB, free: 73.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/1.893, allocations: 2.621 MB / 0.7682 GB, free: 71.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/1.894, allocations: 398.6 kB / 0.7686 GB, free: 71.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008174/1.894, allocations: 493.2 kB / 0.769 GB, free: 71.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/1.895, allocations: 112.7 kB / 0.7691 GB, free: 71.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.974e-06/1.895, allocations: 0 / 0.7691 GB, free: 71.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.06783/1.963, allocations: 89.59 MB / 0.8566 GB, free: 3.832 MB / 0.6355 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.390573424752802]