Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.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.8576/0.8576, allocations: 153.8 MB / 173.4 MB, free: 4.941 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.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.000542/0.000542, allocations: 11.97 kB / 251.1 MB, free: 3.941 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1725, allocations: 33.36 MB / 284.5 MB, free: 2.008 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.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases): time 1.823/1.996, allocations: 308.1 MB / 0.5787 GB, free: 16.01 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1953/2.191, allocations: 170.6 MB / 0.7453 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003625/2.191, allocations: 4 kB / 0.7453 GB, free: 9.762 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:50:3-51:83:writable] Warning: Connector Cws2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:52:3-54:16:writable] Warning: Connector Cws1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:55:3-56:83:writable] Warning: Connector Cfg1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/MultiFluids/HeatExchangers/StaticExchangerWaterSteamFlueGases.mo:57:3-59:16:writable] Warning: Connector Cfg2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/SourcePQ.mo:18:3-19:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/FlueGases/BoundaryConditions/Sink.mo:15:3-17:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005176/2.192, allocations: 162.1 kB / 0.7454 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004836/2.192, allocations: 162.7 kB / 0.7456 GB, free: 9.445 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. Notification: Performance of NFTyping.typeClassSections: time 0.01594/2.208, allocations: 6.127 MB / 0.7516 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008176/2.209, allocations: 0.5416 MB / 0.7521 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/2.209, allocations: 194 kB / 0.7523 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/2.21, allocations: 227.2 kB / 0.7525 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/2.21, allocations: 219 kB / 0.7527 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/2.21, allocations: 40 kB / 0.7527 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0231/2.233, allocations: 12.85 MB / 0.7653 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/2.233, allocations: 87.7 kB / 0.7654 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003426/2.234, allocations: 242.8 kB / 0.7656 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01326/2.247, allocations: 5.968 MB / 0.7714 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/2.247, allocations: 4 kB / 0.7714 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.242e-06/2.247, allocations: 0 / 0.7714 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.026e-05/2.247, allocations: 0 / 0.7714 GB, free: 14.93 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003531/2.25, allocations: 1.155 MB / 0.7726 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/2.251, allocations: 8.031 kB / 0.7726 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/2.251, allocations: 52.66 kB / 0.7726 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/2.251, allocations: 225.2 kB / 0.7728 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/2.251, allocations: 33 kB / 0.7729 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/2.251, allocations: 44 kB / 0.7729 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008096/2.252, allocations: 0.5272 MB / 0.7734 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/2.252, allocations: 0 / 0.7734 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/2.252, allocations: 16 kB / 0.7735 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/2.252, allocations: 16 kB / 0.7735 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/2.252, allocations: 351.7 kB / 0.7738 GB, free: 12.43 MB / 0.6387 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.002864/2.255, allocations: 2.467 MB / 0.7762 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/2.256, allocations: 136.5 kB / 0.7763 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/2.256, allocations: 73.83 kB / 0.7764 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07575/2.332, allocations: 21 MB / 0.7969 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/2.332, allocations: 43.31 kB / 0.797 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=40): time 2.355e-06/2.332, allocations: 4 kB / 0.797 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.001999/2.334, allocations: 0.5542 MB / 0.7975 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/2.334, allocations: 55.39 kB / 0.7976 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/2.334, allocations: 397.6 kB / 0.7979 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/2.334, allocations: 26.64 kB / 0.798 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/2.334, allocations: 220.5 kB / 0.7982 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/2.334, allocations: 138.8 kB / 0.7983 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/2.335, allocations: 69.64 kB / 0.7984 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001825/2.335, allocations: 354.7 kB / 0.7987 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/2.335, allocations: 84.41 kB / 0.7988 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/2.335, allocations: 165.9 kB / 0.799 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/2.336, allocations: 277.2 kB / 0.7992 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/2.336, allocations: 0 / 0.7992 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001092/2.337, allocations: 468.7 kB / 0.7997 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/2.337, allocations: 9.469 kB / 0.7997 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/2.337, allocations: 7.938 kB / 0.7997 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009204/2.338, allocations: 294.2 kB / 0.8 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/2.338, allocations: 35.92 kB / 0.8 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/2.339, allocations: 1.829 MB / 0.8018 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/2.34, allocations: 51.52 kB / 0.8018 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/2.34, allocations: 16.75 kB / 0.8018 GB, free: 15.28 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (Puits_Fumees.C.a,Source_Fumees.C.b,source_Eau.C.b,EchangeurEfficacite.Cfg2.b,EchangeurEfficacite.Cfg1.a,EchangeurEfficacite.Cws1.a,EchangeurEfficacite.Cws2.b,puits_Eau.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001921/2.34, allocations: 153.8 kB / 0.802 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-05/2.34, allocations: 47.66 kB / 0.802 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/2.341, allocations: 0.7152 MB / 0.8027 GB, free: 14.35 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001061/2.342, allocations: 0.5457 MB / 0.8033 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/2.342, allocations: 0 / 0.8033 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/2.342, allocations: 3.984 kB / 0.8033 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/2.344, allocations: 1.316 MB / 0.8046 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/2.344, allocations: 1.25 kB / 0.8046 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/2.345, allocations: 69.03 kB / 0.8046 GB, free: 12.35 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004891/2.345, allocations: 216.8 kB / 0.8048 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/2.345, allocations: 4 kB / 0.8048 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/2.347, allocations: 1.862 MB / 0.8067 GB, free: 10.19 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/2.347, allocations: 8.641 kB / 0.8067 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/2.348, allocations: 0.6785 MB / 0.8073 GB, free: 9.484 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/2.348, allocations: 55.53 kB / 0.8074 GB, free: 9.43 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/2.348, allocations: 9.062 kB / 0.8074 GB, free: 9.422 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/2.348, allocations: 16 kB / 0.8074 GB, free: 9.406 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/2.348, allocations: 23.95 kB / 0.8074 GB, free: 9.383 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/2.348, allocations: 8 kB / 0.8074 GB, free: 9.375 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003502/2.348, allocations: 291.2 kB / 0.8077 GB, free: 9.094 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/2.348, allocations: 0.6562 kB / 0.8077 GB, free: 9.094 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002187/2.351, allocations: 0.8615 MB / 0.8086 GB, free: 8.23 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00346/2.354, allocations: 1.114 MB / 0.8096 GB, free: 7.129 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001079/2.355, allocations: 470.6 kB / 0.8101 GB, free: 6.66 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/2.355, allocations: 0 / 0.8101 GB, free: 6.66 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004925/2.356, allocations: 208.4 kB / 0.8103 GB, free: 6.457 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/2.357, allocations: 190.2 kB / 0.8105 GB, free: 6.297 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/2.358, allocations: 0.9603 MB / 0.8114 GB, free: 5.309 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/2.359, allocations: 0.8635 MB / 0.8123 GB, free: 4.414 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/2.359, allocations: 39.44 kB / 0.8123 GB, free: 4.375 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/2.359, allocations: 0 / 0.8123 GB, free: 4.375 MB / 0.67 GB Notification: Performance of Templates: time 0.2021/2.561, allocations: 26.63 MB / 0.8383 GB, free: 300.8 MB / 0.6856 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticExchangerWaterSteamFlueGases.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.030214318074286] Failed to read output from testmodel.py, exit status != 0: 2.6898249450605363 2.698415344 0.44927114199999996 Calling exit ...