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.4733/0.4733, allocations: 111.6 MB / 132.2 MB, free: 4.418 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.423e-06/1.423e-06, allocations: 0 / 177.3 MB, free: 8.918 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.219e-05/1.362e-05, allocations: 2.312 kB / 177.3 MB, free: 8.914 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.045/1.045, allocations: 258.1 MB / 435.4 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3284/1.374, allocations: 179.6 MB / 0.6005 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003443/1.374, allocations: 15.88 kB / 0.6005 GB, free: 0.7227 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.0002597/1.374, allocations: 103.1 kB / 0.6006 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001061/1.376, allocations: 0.6489 MB / 0.6013 GB, free: 15.97 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.02365/1.399, allocations: 12.26 MB / 0.6132 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002097/1.401, allocations: 3.219 MB / 0.6164 GB, free: 464 kB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/1.402, allocations: 1.145 MB / 0.6175 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/1.403, allocations: 1.385 MB / 0.6189 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009885/1.404, allocations: 1.076 MB / 0.6199 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002259/1.405, allocations: 200 kB / 0.6201 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02542/1.43, allocations: 19.17 MB / 0.6388 GB, free: 9.434 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0009681/1.431, allocations: 0.9471 MB / 0.6397 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/1.432, allocations: 0.8421 MB / 0.6406 GB, free: 7.641 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02137/1.454, allocations: 14.05 MB / 0.6543 GB, free: 9.551 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/1.454, allocations: 0 / 0.6543 GB, free: 9.551 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.472e-06/1.454, allocations: 4 kB / 0.6543 GB, free: 9.547 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.355e-05/1.454, allocations: 0 / 0.6543 GB, free: 9.547 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.006161/1.46, allocations: 3.654 MB / 0.6579 GB, free: 5.836 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/1.46, allocations: 11.98 kB / 0.6579 GB, free: 5.824 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/1.461, allocations: 0.5416 MB / 0.6584 GB, free: 5.281 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008109/1.462, allocations: 0.7407 MB / 0.6591 GB, free: 4.508 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/1.462, allocations: 0.6972 MB / 0.6598 GB, free: 3.688 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/1.462, allocations: 192 kB / 0.66 GB, free: 3.5 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/1.464, allocations: 2.255 MB / 0.6622 GB, free: 0.8906 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/1.464, allocations: 11.88 kB / 0.6622 GB, free: 0.8789 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/1.464, allocations: 88.81 kB / 0.6623 GB, free: 0.793 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/1.464, allocations: 52 kB / 0.6623 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/1.465, allocations: 0.9869 MB / 0.6633 GB, free: 15.75 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.007982/1.473, allocations: 14.24 MB / 0.6772 GB, free: 1.047 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/1.476, allocations: 1.186 MB / 0.6784 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/1.476, allocations: 291.3 kB / 0.6787 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2916/1.768, allocations: 39.55 MB / 0.7173 GB, free: 90.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/1.768, allocations: 49.2 kB / 0.7173 GB, free: 90.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=146): time 2.985e-06/1.768, allocations: 0 / 0.7173 GB, free: 90.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=146): time 0.008812/1.777, allocations: 3.901 MB / 0.7211 GB, free: 89.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/1.777, allocations: 67.03 kB / 0.7212 GB, free: 89.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/1.778, allocations: 0.9976 MB / 0.7222 GB, free: 89.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.024e-05/1.778, allocations: 48.23 kB / 0.7222 GB, free: 89.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/1.778, allocations: 0.9547 MB / 0.7231 GB, free: 89.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/1.778, allocations: 0.5554 MB / 0.7237 GB, free: 88.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000393/1.779, allocations: 0.496 MB / 0.7242 GB, free: 88.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.896e-05/1.779, allocations: 0.5057 MB / 0.7247 GB, free: 88.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/1.779, allocations: 268.2 kB / 0.7249 GB, free: 88.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007535/1.78, allocations: 1.567 MB / 0.7265 GB, free: 86.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/1.781, allocations: 2.062 MB / 0.7285 GB, free: 85.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.781, allocations: 9.875 kB / 0.7285 GB, free: 85.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002274/1.783, allocations: 1.952 MB / 0.7304 GB, free: 84.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/1.783, allocations: 16.41 kB / 0.7304 GB, free: 84.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/1.783, allocations: 29.62 kB / 0.7304 GB, free: 84.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/1.785, allocations: 1.109 MB / 0.7315 GB, free: 84.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/1.787, allocations: 0.6404 MB / 0.7321 GB, free: 84.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002673/1.79, allocations: 3.927 MB / 0.736 GB, free: 82.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009647/1.791, allocations: 276 kB / 0.7362 GB, free: 82.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.791, allocations: 114.6 kB / 0.7363 GB, free: 82.09 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.0003937/1.791, allocations: 314.2 kB / 0.7366 GB, free: 81.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/1.791, allocations: 186.1 kB / 0.7368 GB, free: 81.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/1.793, allocations: 1.346 MB / 0.7381 GB, free: 81.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.793, allocations: 18.47 kB / 0.7381 GB, free: 81.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.793, allocations: 3.031 kB / 0.7382 GB, free: 81.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/1.793, allocations: 12.02 kB / 0.7382 GB, free: 81.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/1.795, allocations: 2.143 MB / 0.7403 GB, free: 81.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/1.795, allocations: 0 / 0.7403 GB, free: 81.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009821/1.796, allocations: 348.9 kB / 0.7406 GB, free: 81.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/1.798, allocations: 0.9552 MB / 0.7415 GB, free: 81.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.616e-05/1.798, allocations: 39.55 kB / 0.7416 GB, free: 81.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/1.8, allocations: 3.871 MB / 0.7453 GB, free: 78.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.8, allocations: 5.719 kB / 0.7453 GB, free: 78.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/1.802, allocations: 1.304 MB / 0.7466 GB, free: 78.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003989/1.802, allocations: 308 kB / 0.7469 GB, free: 78.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/1.802, allocations: 29.22 kB / 0.7469 GB, free: 78.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/1.803, allocations: 48.95 kB / 0.747 GB, free: 78.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/1.803, allocations: 114.7 kB / 0.7471 GB, free: 78.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.348e-05/1.803, allocations: 40.83 kB / 0.7471 GB, free: 78.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003009/1.803, allocations: 0.491 MB / 0.7476 GB, free: 77.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/1.803, allocations: 4 kB / 0.7476 GB, free: 77.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003878/1.807, allocations: 2.089 MB / 0.7497 GB, free: 77.89 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.004525/1.812, allocations: 2.647 MB / 0.7522 GB, free: 77.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001903/1.814, allocations: 1.563 MB / 0.7538 GB, free: 77.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.814, allocations: 0 / 0.7538 GB, free: 77.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009605/1.815, allocations: 0.8651 MB / 0.7546 GB, free: 76.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/1.815, allocations: 371.3 kB / 0.755 GB, free: 76.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/1.818, allocations: 2.594 MB / 0.7575 GB, free: 75.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/1.818, allocations: 401 kB / 0.7579 GB, free: 75.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006384/1.819, allocations: 267.7 kB / 0.7581 GB, free: 75.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006516/1.82, allocations: 425.1 kB / 0.7585 GB, free: 75.46 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/1.82, allocations: 2.25 kB / 0.7585 GB, free: 75.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.06935/1.889, allocations: 87.47 MB / 0.844 GB, free: 1.012 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: 7.271213837899268]