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.987/0.987, allocations: 153.8 MB / 173.4 MB, free: 4.949 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.0005606/0.0005606, allocations: 15.97 kB / 251.1 MB, free: 3.965 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2132, allocations: 33.36 MB / 284.5 MB, free: 2.164 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.946/2.159, allocations: 308.6 MB / 0.5791 GB, free: 16 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2309/2.39, allocations: 192.5 MB / 0.7671 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007874/2.391, allocations: 15.88 kB / 0.7671 GB, free: 3.301 MB / 0.6231 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.000585/2.392, allocations: 103.1 kB / 0.7672 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002414/2.394, allocations: 0.6533 MB / 0.7678 GB, free: 2.543 MB / 0.6231 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.03985/2.434, allocations: 12.3 MB / 0.7798 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004116/2.438, allocations: 3.167 MB / 0.7829 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/2.44, allocations: 1.068 MB / 0.784 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/2.442, allocations: 0.9824 MB / 0.7849 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00241/2.444, allocations: 1.196 MB / 0.7861 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008436/2.445, allocations: 212 kB / 0.7863 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04994/2.495, allocations: 20.96 MB / 0.8068 GB, free: 10.61 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001542/2.497, allocations: 0.9236 MB / 0.8077 GB, free: 9.684 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00256/2.499, allocations: 1.124 MB / 0.8088 GB, free: 8.555 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.03063/2.53, allocations: 12.05 MB / 0.8205 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/2.53, allocations: 3.938 kB / 0.8205 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.583e-06/2.53, allocations: 0 / 0.8205 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001122/2.53, allocations: 0 / 0.8205 GB, free: 12.47 MB / 0.6856 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.01232/2.542, allocations: 3.607 MB / 0.824 GB, free: 8.809 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/2.542, allocations: 9.156 kB / 0.8241 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/2.545, allocations: 382.6 kB / 0.8244 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/2.547, allocations: 0.8214 MB / 0.8252 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007307/2.548, allocations: 0.7097 MB / 0.8259 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006252/2.548, allocations: 184 kB / 0.8261 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006945/2.555, allocations: 3.127 MB / 0.8291 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.571e-05/2.555, allocations: 11.88 kB / 0.8292 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004208/2.556, allocations: 88 kB / 0.8292 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.288e-05/2.556, allocations: 56 kB / 0.8293 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2207/2.776, allocations: 3.149 MB / 0.8324 GB, free: 296.1 MB / 0.6856 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.01707/2.793, allocations: 14.73 MB / 0.8468 GB, free: 286.9 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007165/2.801, allocations: 2.263 MB / 0.849 GB, free: 286.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/2.802, allocations: 0.8327 MB / 0.8498 GB, free: 286.8 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1308/2.933, allocations: 44.98 MB / 0.8937 GB, free: 260.1 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/2.933, allocations: 47.88 kB / 0.8937 GB, free: 260 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 4.258e-06/2.933, allocations: 0 / 0.8937 GB, free: 260 MB / 0.6856 GB Notification: Performance of matching and sorting (n=146): time 0.01926/2.952, allocations: 5.807 MB / 0.8994 GB, free: 254.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/2.952, allocations: 76.66 kB / 0.8995 GB, free: 254.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/2.954, allocations: 1.455 MB / 0.9009 GB, free: 252.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000269/2.955, allocations: 45.7 kB / 0.901 GB, free: 252.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/2.955, allocations: 0.8073 MB / 0.9017 GB, free: 251.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005922/2.956, allocations: 0.541 MB / 0.9023 GB, free: 251.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007622/2.956, allocations: 434 kB / 0.9027 GB, free: 251 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 4.315e-05/2.956, allocations: 305.1 kB / 0.903 GB, free: 250.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/2.958, allocations: 0.9253 MB / 0.9039 GB, free: 249.8 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/2.96, allocations: 1.63 MB / 0.9055 GB, free: 247.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/2.963, allocations: 2.698 MB / 0.9081 GB, free: 244.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-05/2.963, allocations: 11.66 kB / 0.9081 GB, free: 244.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00579/2.969, allocations: 3.363 MB / 0.9114 GB, free: 241.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/2.969, allocations: 21.7 kB / 0.9114 GB, free: 241.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/2.969, allocations: 20 kB / 0.9114 GB, free: 241.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00378/2.973, allocations: 1.561 MB / 0.913 GB, free: 240.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003486/2.976, allocations: 0.5947 MB / 0.9135 GB, free: 239.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006743/2.983, allocations: 5.272 MB / 0.9187 GB, free: 234.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/2.985, allocations: 306.8 kB / 0.919 GB, free: 233.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004576/2.986, allocations: 119.9 kB / 0.9191 GB, free: 233.8 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.001193/2.987, allocations: 0.5252 MB / 0.9196 GB, free: 233.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005088/2.988, allocations: 171 kB / 0.9198 GB, free: 233.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005108/2.993, allocations: 2.756 MB / 0.9225 GB, free: 230.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/2.993, allocations: 16 kB / 0.9225 GB, free: 230.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/2.993, allocations: 4 kB / 0.9225 GB, free: 230.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/2.993, allocations: 7.969 kB / 0.9225 GB, free: 230.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006765/2.999, allocations: 4.312 MB / 0.9267 GB, free: 226 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/2.999, allocations: 0 / 0.9267 GB, free: 226 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/3.001, allocations: 351.3 kB / 0.927 GB, free: 225.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003574/3.005, allocations: 1.43 MB / 0.9284 GB, free: 224.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/3.005, allocations: 39.98 kB / 0.9285 GB, free: 224.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006232/3.011, allocations: 5.248 MB / 0.9336 GB, free: 218.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/3.011, allocations: 7.562 kB / 0.9336 GB, free: 218.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004647/3.016, allocations: 2.598 MB / 0.9361 GB, free: 216.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/3.017, allocations: 392.9 kB / 0.9365 GB, free: 215.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/3.017, allocations: 31.95 kB / 0.9365 GB, free: 215.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/3.019, allocations: 59.94 kB / 0.9366 GB, free: 215.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/3.019, allocations: 128.6 kB / 0.9367 GB, free: 215.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/3.019, allocations: 51.98 kB / 0.9368 GB, free: 215.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001309/3.02, allocations: 0.9784 MB / 0.9377 GB, free: 214.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/3.02, allocations: 0 / 0.9377 GB, free: 214.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005315/3.026, allocations: 2.045 MB / 0.9397 GB, free: 212.7 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.006492/3.032, allocations: 2.348 MB / 0.942 GB, free: 210.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005074/3.037, allocations: 2.541 MB / 0.9445 GB, free: 208.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/3.037, allocations: 0 / 0.9445 GB, free: 208.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/3.04, allocations: 1.279 MB / 0.9458 GB, free: 206.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/3.041, allocations: 353.7 kB / 0.9461 GB, free: 206.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/3.045, allocations: 3.212 MB / 0.9492 GB, free: 203.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/3.046, allocations: 1.389 MB / 0.9506 GB, free: 201.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000529/3.047, allocations: 143.4 kB / 0.9507 GB, free: 201.8 MB / 0.6856 GB Notification: Performance of SimCode: time 1.032e-06/3.047, allocations: 0 / 0.9507 GB, free: 201.8 MB / 0.6856 GB Notification: Performance of Templates: time 0.06279/3.109, allocations: 58.37 MB / 1.008 GB, free: 144.3 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: 15.113828051136807] Failed to read output from testmodel.py, exit status != 0: 3.258677560137585 3.266782638 0.734637087 Calling exit ...