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.8674/0.8674, allocations: 153.8 MB / 173.4 MB, free: 4.867 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 0.0005361/0.0005361, allocations: 19.98 kB / 251 MB, free: 3.875 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1621, allocations: 33.35 MB / 284.4 MB, free: 2.062 MB / 222.1 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.856/2.018, allocations: 308.5 MB / 0.579 GB, free: 17.32 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.213/2.231, allocations: 166.1 MB / 0.7412 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005675/2.232, allocations: 15.88 kB / 0.7412 GB, free: 14.13 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/HeatExchangers/StaticWallFlueGasesExchanger.mo:123:3-124:54: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:127:3-128:52: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:75:3-76:65: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:40:3-41:67: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.0004077/2.232, allocations: 104.4 kB / 0.7413 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001918/2.234, allocations: 0.6417 MB / 0.7419 GB, free: 13.39 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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:63:5-63:84: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.03168/2.266, allocations: 12.11 MB / 0.7537 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0036/2.269, allocations: 3.165 MB / 0.7568 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/2.271, allocations: 1.067 MB / 0.7579 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/2.272, allocations: 0.9823 MB / 0.7588 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/2.274, allocations: 1.132 MB / 0.7599 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003359/2.274, allocations: 212 kB / 0.7601 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0351/2.309, allocations: 19.13 MB / 0.7788 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001169/2.31, allocations: 0.9196 MB / 0.7797 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001296/2.312, allocations: 0.9729 MB / 0.7807 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02409/2.336, allocations: 12.07 MB / 0.7925 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/2.336, allocations: 0 / 0.7925 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.054e-06/2.336, allocations: 0 / 0.7925 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.752e-05/2.336, allocations: 0 / 0.7925 GB, free: 9.52 MB / 0.6544 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.009666/2.345, allocations: 3.603 MB / 0.796 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/2.345, allocations: 8.031 kB / 0.796 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/2.347, allocations: 383.2 kB / 0.7963 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/2.349, allocations: 0.833 MB / 0.7972 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006806/2.35, allocations: 0.7067 MB / 0.7978 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003097/2.35, allocations: 184 kB / 0.798 GB, free: 3.613 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005208/2.355, allocations: 3.151 MB / 0.8011 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.128e-05/2.355, allocations: 21.8 kB / 0.8011 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/2.355, allocations: 84 kB / 0.8012 GB, free: 100 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/2.355, allocations: 52 kB / 0.8013 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005817/2.361, allocations: 3.147 MB / 0.8043 GB, free: 12.89 MB / 0.67 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.0173/2.379, allocations: 12.11 MB / 0.8161 GB, free: 444 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007675/2.386, allocations: 2.24 MB / 0.8183 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/2.388, allocations: 0.8401 MB / 0.8192 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3238/2.712, allocations: 45.12 MB / 0.8632 GB, free: 292.7 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/2.712, allocations: 50.06 kB / 0.8633 GB, free: 292.6 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 3.818e-06/2.712, allocations: 0.875 kB / 0.8633 GB, free: 292.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=146): time 0.01836/2.73, allocations: 5.759 MB / 0.8689 GB, free: 287.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/2.73, allocations: 68.72 kB / 0.869 GB, free: 287.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009633/2.731, allocations: 0.9674 MB / 0.8699 GB, free: 287.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.218e-05/2.731, allocations: 54.58 kB / 0.87 GB, free: 287.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/2.732, allocations: 0.8312 MB / 0.8708 GB, free: 286.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/2.732, allocations: 0.5447 MB / 0.8713 GB, free: 286 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004852/2.732, allocations: 435.4 kB / 0.8717 GB, free: 285.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.394e-05/2.732, allocations: 334 kB / 0.872 GB, free: 285.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/2.734, allocations: 0.9237 MB / 0.8729 GB, free: 284.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/2.736, allocations: 1.634 MB / 0.8745 GB, free: 282.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003302/2.739, allocations: 2.704 MB / 0.8772 GB, free: 279.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/2.739, allocations: 4 kB / 0.8772 GB, free: 279.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005372/2.744, allocations: 3.327 MB / 0.8804 GB, free: 276 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/2.744, allocations: 16 kB / 0.8804 GB, free: 276 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/2.744, allocations: 20 kB / 0.8805 GB, free: 276 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003873/2.748, allocations: 1.562 MB / 0.882 GB, free: 274.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003392/2.752, allocations: 0.5928 MB / 0.8826 GB, free: 273.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006361/2.758, allocations: 5.224 MB / 0.8877 GB, free: 268.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/2.76, allocations: 253 kB / 0.8879 GB, free: 268.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/2.76, allocations: 119.9 kB / 0.888 GB, free: 268.2 MB / 0.6856 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.0006965/2.761, allocations: 0.5164 MB / 0.8885 GB, free: 267.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/2.761, allocations: 138.2 kB / 0.8887 GB, free: 267.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004749/2.766, allocations: 2.715 MB / 0.8913 GB, free: 264.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/2.766, allocations: 16 kB / 0.8913 GB, free: 264.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/2.766, allocations: 4 kB / 0.8913 GB, free: 264.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/2.766, allocations: 11.97 kB / 0.8913 GB, free: 264.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006355/2.772, allocations: 3.929 MB / 0.8952 GB, free: 260.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/2.772, allocations: 8.703 kB / 0.8952 GB, free: 260.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/2.774, allocations: 351.8 kB / 0.8955 GB, free: 260.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003563/2.778, allocations: 1.424 MB / 0.8969 GB, free: 259.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/2.778, allocations: 39.98 kB / 0.8969 GB, free: 259 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006165/2.784, allocations: 5.18 MB / 0.902 GB, free: 253.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/2.784, allocations: 0 / 0.902 GB, free: 253.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004277/2.788, allocations: 2.552 MB / 0.9045 GB, free: 251.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008361/2.789, allocations: 344.8 kB / 0.9048 GB, free: 250.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/2.789, allocations: 24 kB / 0.9049 GB, free: 250.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009725/2.79, allocations: 63.94 kB / 0.9049 GB, free: 250.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/2.79, allocations: 129 kB / 0.905 GB, free: 250.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.432e-05/2.79, allocations: 51.98 kB / 0.9051 GB, free: 250.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005727/2.791, allocations: 0.5966 MB / 0.9057 GB, free: 250 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/2.791, allocations: 1.312 kB / 0.9057 GB, free: 250 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004473/2.795, allocations: 2.101 MB / 0.9077 GB, free: 247.9 MB / 0.6856 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.005158/2.801, allocations: 2.338 MB / 0.91 GB, free: 245.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004579/2.805, allocations: 2.552 MB / 0.9125 GB, free: 243.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/2.805, allocations: 1.875 kB / 0.9125 GB, free: 243.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002346/2.808, allocations: 1.3 MB / 0.9138 GB, free: 242 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/2.809, allocations: 318 kB / 0.9141 GB, free: 241.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/2.813, allocations: 3.137 MB / 0.9171 GB, free: 238.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/2.813, allocations: 0.8012 MB / 0.9179 GB, free: 237.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004761/2.814, allocations: 128.9 kB / 0.918 GB, free: 237.6 MB / 0.6856 GB Notification: Performance of SimCode: time 7.31e-07/2.814, allocations: 0 / 0.918 GB, free: 237.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.05411/2.868, allocations: 57.32 MB / 0.974 GB, free: 181.2 MB / 0.6856 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.539906253106892] Failed to read output from testmodel.py, exit status != 0: 2.989316279068589 2.99811349 0.660063848 Calling exit ...