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.5068/0.5068, allocations: 111.6 MB / 131.7 MB, free: 5.07 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.804e-06/1.804e-06, allocations: 0 / 176.5 MB, free: 9.422 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.247e-05, allocations: 5.703 kB / 176.5 MB, free: 9.418 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.061/1.061, allocations: 258 MB / 434.5 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3567/1.418, allocations: 182.6 MB / 0.6027 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004588/1.419, allocations: 15.88 kB / 0.6027 GB, free: 7.453 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.0003598/1.419, allocations: 103.1 kB / 0.6028 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/1.42, allocations: 0.649 MB / 0.6034 GB, free: 6.699 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.02438/1.445, allocations: 12.25 MB / 0.6154 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002298/1.447, allocations: 3.214 MB / 0.6185 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/1.448, allocations: 1.149 MB / 0.6196 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/1.45, allocations: 1.369 MB / 0.621 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/1.451, allocations: 1.084 MB / 0.622 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0004063/1.451, allocations: 208 kB / 0.6222 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02403/1.475, allocations: 19.17 MB / 0.6409 GB, free: 180 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000803/1.476, allocations: 0.9626 MB / 0.6419 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008759/1.477, allocations: 0.8499 MB / 0.6427 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0223/1.499, allocations: 14.08 MB / 0.6565 GB, free: 252 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.499, allocations: 4 kB / 0.6565 GB, free: 248 kB / 0.5573 GB Notification: Performance of FrontEnd: time 2.445e-06/1.499, allocations: 0 / 0.6565 GB, free: 248 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.175e-05/1.499, allocations: 0 / 0.6565 GB, free: 248 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.00687/1.506, allocations: 3.714 MB / 0.6601 GB, free: 12.47 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.506, allocations: 11.98 kB / 0.6601 GB, free: 12.46 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/1.507, allocations: 0.5338 MB / 0.6606 GB, free: 11.93 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009613/1.508, allocations: 0.8007 MB / 0.6614 GB, free: 11.09 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003716/1.509, allocations: 0.7011 MB / 0.6621 GB, free: 10.27 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/1.509, allocations: 187.9 kB / 0.6623 GB, free: 10.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/1.511, allocations: 2.408 MB / 0.6646 GB, free: 7.32 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/1.511, allocations: 19.88 kB / 0.6646 GB, free: 7.301 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/1.511, allocations: 80 kB / 0.6647 GB, free: 7.223 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/1.512, allocations: 52.62 kB / 0.6648 GB, free: 7.172 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/1.513, allocations: 1.216 MB / 0.666 GB, free: 5.949 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.009066/1.522, allocations: 14.61 MB / 0.6802 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003/1.525, allocations: 1.261 MB / 0.6815 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/1.526, allocations: 351.5 kB / 0.6818 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2249/1.751, allocations: 45.34 MB / 0.7261 GB, free: 293 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.86e-05/1.751, allocations: 47.3 kB / 0.7261 GB, free: 293 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=146): time 4.438e-06/1.751, allocations: 0 / 0.7261 GB, free: 293 MB / 0.6198 GB Notification: Performance of matching and sorting (n=146): time 0.0101/1.761, allocations: 4.135 MB / 0.7302 GB, free: 289.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/1.761, allocations: 69.27 kB / 0.7302 GB, free: 289.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008007/1.762, allocations: 0.8971 MB / 0.7311 GB, free: 288.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.445e-05/1.762, allocations: 49.7 kB / 0.7311 GB, free: 288.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003896/1.762, allocations: 0.882 MB / 0.732 GB, free: 287.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/1.763, allocations: 0.5527 MB / 0.7325 GB, free: 287.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004148/1.763, allocations: 445.1 kB / 0.733 GB, free: 286.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.78e-05/1.763, allocations: 0.5004 MB / 0.7335 GB, free: 286.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005865/1.764, allocations: 323.9 kB / 0.7338 GB, free: 285.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008124/1.765, allocations: 1.344 MB / 0.7351 GB, free: 284.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/1.766, allocations: 1.84 MB / 0.7369 GB, free: 281.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/1.766, allocations: 8 kB / 0.7369 GB, free: 281.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.002488/1.769, allocations: 1.929 MB / 0.7388 GB, free: 279.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/1.769, allocations: 16 kB / 0.7388 GB, free: 279.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/1.769, allocations: 27.98 kB / 0.7388 GB, free: 279.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/1.77, allocations: 1.116 MB / 0.7399 GB, free: 278.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/1.772, allocations: 0.5928 MB / 0.7405 GB, free: 278.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/1.775, allocations: 4.072 MB / 0.7445 GB, free: 273.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008759/1.776, allocations: 252.7 kB / 0.7447 GB, free: 273.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/1.776, allocations: 127.9 kB / 0.7448 GB, free: 273.6 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.0003851/1.776, allocations: 285.2 kB / 0.7451 GB, free: 273.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/1.776, allocations: 171.2 kB / 0.7452 GB, free: 273.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/1.778, allocations: 1.465 MB / 0.7467 GB, free: 271.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/1.778, allocations: 12 kB / 0.7467 GB, free: 271.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.778, allocations: 4 kB / 0.7467 GB, free: 271.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/1.778, allocations: 7.969 kB / 0.7467 GB, free: 271.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/1.781, allocations: 2.512 MB / 0.7492 GB, free: 269.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.781, allocations: 4 kB / 0.7492 GB, free: 269.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009593/1.782, allocations: 359.7 kB / 0.7495 GB, free: 268.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/1.784, allocations: 0.9839 MB / 0.7505 GB, free: 267.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-05/1.784, allocations: 39.98 kB / 0.7505 GB, free: 267.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/1.786, allocations: 4.029 MB / 0.7544 GB, free: 263.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.787, allocations: 4 kB / 0.7544 GB, free: 263.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/1.788, allocations: 1.408 MB / 0.7558 GB, free: 262.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/1.789, allocations: 329.2 kB / 0.7561 GB, free: 261.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/1.789, allocations: 24 kB / 0.7562 GB, free: 261.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/1.789, allocations: 67 kB / 0.7562 GB, free: 261.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/1.789, allocations: 121 kB / 0.7563 GB, free: 261.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/1.789, allocations: 47.98 kB / 0.7564 GB, free: 261.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003314/1.79, allocations: 0.4911 MB / 0.7569 GB, free: 261.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.79, allocations: 0 / 0.7569 GB, free: 261.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003588/1.793, allocations: 2.095 MB / 0.7589 GB, free: 259.2 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.004725/1.798, allocations: 2.555 MB / 0.7614 GB, free: 256.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00242/1.801, allocations: 1.587 MB / 0.7629 GB, free: 255.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.801, allocations: 0 / 0.7629 GB, free: 255.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/1.802, allocations: 0.9207 MB / 0.7638 GB, free: 254.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008542/1.803, allocations: 362 kB / 0.7642 GB, free: 254.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/1.806, allocations: 2.607 MB / 0.7667 GB, free: 251.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/1.806, allocations: 398.5 kB / 0.7671 GB, free: 251 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008081/1.807, allocations: 429.9 kB / 0.7675 GB, free: 250.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/1.807, allocations: 108.4 kB / 0.7676 GB, free: 250.5 MB / 0.6198 GB Notification: Performance of SimCode: time 2.044e-06/1.807, allocations: 4 kB / 0.7676 GB, free: 250.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.06203/1.869, allocations: 76.2 MB / 0.842 GB, free: 174.7 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.409706481965259]