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 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8355/0.8355, allocations: 150.9 MB / 166.5 MB, free: 14.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002615/0.0002615, allocations: 16.81 kB / 237.1 MB, free: 1.773 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05111/0.05138, allocations: 31.34 MB / 268.4 MB, free: 7.047 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger): time 1.662/1.713, allocations: 295.8 MB / 0.551 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4859/2.199, allocations: 188.9 MB / 0.7355 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005792/2.2, allocations: 10.22 kB / 0.7355 GB, free: 1.703 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75: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 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40: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.0003814/2.2, allocations: 102.6 kB / 0.7356 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001479/2.202, allocations: 0.6427 MB / 0.7362 GB, free: 1.676 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.03079/2.232, allocations: 11.97 MB / 0.7479 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002737/2.235, allocations: 3.156 MB / 0.751 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/2.236, allocations: 1.278 MB / 0.7523 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009488/2.237, allocations: 0.9497 MB / 0.7532 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/2.239, allocations: 1.173 MB / 0.7543 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002865/2.239, allocations: 209.6 kB / 0.7545 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03485/2.274, allocations: 20.74 MB / 0.7748 GB, free: 15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001048/2.275, allocations: 0.9077 MB / 0.7757 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001366/2.276, allocations: 1.111 MB / 0.7768 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02695/2.303, allocations: 12.02 MB / 0.7885 GB, free: 10 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/2.303, allocations: 0 / 0.7885 GB, free: 10 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/2.303, allocations: 0.6562 kB / 0.7885 GB, free: 10 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001058/2.303, allocations: 2.688 kB / 0.7885 GB, free: 10 MB / 0.6075 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.01055/2.314, allocations: 3.637 MB / 0.792 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/2.314, allocations: 15.8 kB / 0.7921 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004711/2.315, allocations: 220 kB / 0.7923 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/2.316, allocations: 0.8853 MB / 0.7931 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004527/2.316, allocations: 452.9 kB / 0.7936 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/2.317, allocations: 185.1 kB / 0.7937 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004791/2.322, allocations: 3.126 MB / 0.7968 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.3e-05/2.322, allocations: 17.47 kB / 0.7968 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002163/2.322, allocations: 80 kB / 0.7969 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.082e-05/2.322, allocations: 52.88 kB / 0.7969 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005396/2.327, allocations: 3.15 MB / 0.8 GB, free: 15.95 MB / 0.6231 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.01666/2.344, allocations: 14.84 MB / 0.8145 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007512/2.351, allocations: 2.377 MB / 0.8168 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/2.353, allocations: 0.9088 MB / 0.8177 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1723/2.526, allocations: 86.2 MB / 0.9019 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/2.526, allocations: 54.12 kB / 0.9019 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 4.829e-06/2.526, allocations: 0 / 0.9019 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.02177/2.547, allocations: 5.979 MB / 0.9078 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/2.548, allocations: 68.72 kB / 0.9079 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/2.55, allocations: 1.404 MB / 0.9092 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/2.55, allocations: 45.7 kB / 0.9093 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006059/2.55, allocations: 0.8013 MB / 0.9101 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005587/2.551, allocations: 0.5412 MB / 0.9106 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007305/2.552, allocations: 427.4 kB / 0.911 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001039/2.552, allocations: 301.1 kB / 0.9113 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/2.554, allocations: 0.933 MB / 0.9122 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/2.556, allocations: 1.633 MB / 0.9138 GB, free: 84 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00447/2.561, allocations: 2.705 MB / 0.9164 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-05/2.561, allocations: 8 kB / 0.9164 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007106/2.568, allocations: 3.383 MB / 0.9197 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/2.568, allocations: 25.95 kB / 0.9198 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.713e-05/2.568, allocations: 20.94 kB / 0.9198 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004727/2.573, allocations: 1.56 MB / 0.9213 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/2.576, allocations: 0.5935 MB / 0.9219 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008542/2.585, allocations: 5.392 MB / 0.9271 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/2.588, allocations: 305.7 kB / 0.9274 GB, free: 1.891 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000404/2.588, allocations: 115.9 kB / 0.9275 GB, free: 1.777 MB / 0.7481 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.001151/2.589, allocations: 0.5171 MB / 0.9281 GB, free: 1.277 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/2.59, allocations: 167 kB / 0.9282 GB, free: 1.113 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006428/2.596, allocations: 2.764 MB / 0.9309 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/2.596, allocations: 16 kB / 0.9309 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/2.596, allocations: 4 kB / 0.9309 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/2.596, allocations: 11.16 kB / 0.9309 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008694/2.605, allocations: 4.361 MB / 0.9352 GB, free: 9.918 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/2.605, allocations: 7.094 kB / 0.9352 GB, free: 9.914 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/2.607, allocations: 351.1 kB / 0.9355 GB, free: 9.578 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004384/2.612, allocations: 1.431 MB / 0.9369 GB, free: 8.145 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/2.612, allocations: 39.98 kB / 0.937 GB, free: 8.105 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00831/2.62, allocations: 5.333 MB / 0.9422 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/2.62, allocations: 3.844 kB / 0.9422 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005762/2.626, allocations: 2.624 MB / 0.9448 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/2.627, allocations: 459.4 kB / 0.9452 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003848/2.627, allocations: 24 kB / 0.9452 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/2.629, allocations: 59.94 kB / 0.9453 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/2.629, allocations: 117.2 kB / 0.9454 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/2.629, allocations: 51.98 kB / 0.9454 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001474/2.63, allocations: 0.9416 MB / 0.9464 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.383e-06/2.63, allocations: 3.938 kB / 0.9464 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.009382/2.64, allocations: 2.05 MB / 0.9484 GB, free: 12.25 MB / 0.7794 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.009303/2.649, allocations: 2.351 MB / 0.9507 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006865/2.656, allocations: 2.657 MB / 0.9533 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/2.656, allocations: 0 / 0.9533 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003206/2.659, allocations: 1.345 MB / 0.9546 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/2.661, allocations: 359.3 kB / 0.9549 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/2.667, allocations: 3.051 MB / 0.9579 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/2.668, allocations: 1.379 MB / 0.9592 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001658/2.67, allocations: 0.5317 MB / 0.9598 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/2.67, allocations: 127.4 kB / 0.9599 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of SimCode: time 9.02e-07/2.67, allocations: 0 / 0.9599 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of Templates: time 0.3173/2.988, allocations: 79.11 MB / 1.037 GB, free: 429.5 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticWallFlueGasesExchanger.makefile (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)