Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo): time 0.4692/0.4692, allocations: 111.7 MB / 121.5 MB, free: 4.801 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08689/0.5561, allocations: 33.98 MB / 155.5 MB, free: 3.727 MB / 154.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 156.8 MB, free: 2.469 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.863e-05, allocations: 2.312 kB / 156.8 MB, free: 2.465 MB / 154.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.Examples.SimpleExamples.TestStaticWaterWaterExchanger): time 1.025/1.025, allocations: 234.8 MB / 391.6 MB, free: 1.191 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01984/1.045, allocations: 22.55 MB / 414.2 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/1.045, allocations: 8 kB / 414.2 MB, free: 10.55 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:54:3-55:80:writable] Warning: Connector Ec is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:56:3-57:80:writable] Warning: Connector Ef is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:58:3-59:78:writable] Warning: Connector Sf is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:60:3-61:77:writable] Warning: Connector Sc is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20:78:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/BoundaryConditions/SinkP.mo:19:3-20:80:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] Notification: Performance of NFTyping.typeComponents: time 0.0003467/1.045, allocations: 185.7 kB / 414.3 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000436/1.046, allocations: 329.7 kB / 414.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01097/1.057, allocations: 6.212 MB / 420.9 MB, free: 3.812 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009643/1.058, allocations: 1.023 MB / 421.9 MB, free: 2.785 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/1.058, allocations: 265.5 kB / 422.2 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004617/1.058, allocations: 0.5817 MB / 422.7 MB, free: 1.934 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/1.059, allocations: 247.3 kB / 423 MB, free: 1.691 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/1.059, allocations: 52 kB / 423 MB, free: 1.641 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.01905/1.078, allocations: 15.63 MB / 438.7 MB, free: 2 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/1.078, allocations: 95.56 kB / 438.8 MB, free: 1.906 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003429/1.078, allocations: 207.6 kB / 439 MB, free: 1.703 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01229/1.091, allocations: 6.496 MB / 445.4 MB, free: 11.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.812e-05/1.091, allocations: 4 kB / 445.5 MB, free: 11.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.383e-06/1.091, allocations: 0 / 445.5 MB, free: 11.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.006e-05/1.091, allocations: 0 / 445.5 MB, free: 11.19 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.003571/1.094, allocations: 2.021 MB / 447.5 MB, free: 9.121 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/1.094, allocations: 8.625 kB / 447.5 MB, free: 9.113 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/1.094, allocations: 88.86 kB / 447.6 MB, free: 9.027 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/1.095, allocations: 234.2 kB / 447.8 MB, free: 8.773 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/1.095, allocations: 203.8 kB / 448 MB, free: 8.535 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/1.095, allocations: 47.94 kB / 448 MB, free: 8.488 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/1.095, allocations: 0.5439 MB / 448.6 MB, free: 7.898 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.095, allocations: 4 kB / 448.6 MB, free: 7.895 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/1.095, allocations: 20 kB / 448.6 MB, free: 7.875 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/1.095, allocations: 35.97 kB / 448.6 MB, free: 7.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/1.096, allocations: 224.6 kB / 448.9 MB, free: 7.617 MB / 442.7 MB 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.02807/1.124, allocations: 18.43 MB / 467.3 MB, free: 5.105 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/1.124, allocations: 321.8 kB / 467.6 MB, free: 4.781 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/1.124, allocations: 107.1 kB / 467.7 MB, free: 4.676 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02996/1.154, allocations: 18.88 MB / 486.6 MB, free: 1.777 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/1.154, allocations: 38.56 kB / 486.6 MB, free: 1.73 MB / 474.7 MB Notification: Performance of pre-optimization done (n=126): time 2.755e-06/1.154, allocations: 4 kB / 486.6 MB, free: 1.727 MB / 474.7 MB Notification: Performance of matching and sorting (n=126): time 0.006103/1.16, allocations: 2.253 MB / 488.9 MB, free: 15.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/1.16, allocations: 59.34 kB / 488.9 MB, free: 15.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/1.161, allocations: 244.8 kB / 489.2 MB, free: 15.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/1.161, allocations: 33.7 kB / 489.2 MB, free: 15.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/1.161, allocations: 225.6 kB / 489.4 MB, free: 14.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/1.161, allocations: 440 kB / 489.9 MB, free: 14.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/1.161, allocations: 122 kB / 490 MB, free: 14.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/1.161, allocations: 366.7 kB / 490.3 MB, free: 13.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/1.161, allocations: 100.6 kB / 490.4 MB, free: 13.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/1.161, allocations: 201.4 kB / 490.6 MB, free: 13.63 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/1.162, allocations: 382.6 kB / 491 MB, free: 13.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.162, allocations: 4 kB / 491 MB, free: 13.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001229/1.163, allocations: 0.6951 MB / 491.7 MB, free: 12.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.163, allocations: 8 kB / 491.7 MB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.163, allocations: 3.984 kB / 491.7 MB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/1.164, allocations: 1.223 MB / 493 MB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.845e-05/1.164, allocations: 23.92 kB / 493 MB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006646/1.165, allocations: 0.925 MB / 493.9 MB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/1.165, allocations: 83.34 kB / 494 MB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/1.165, allocations: 12 kB / 494 MB, free: 10.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (plateHeatExchanger.Ec.a,plateHeatExchanger.Ef.a,plateHeatExchanger.Sf.b,plateHeatExchanger.Sc.b,sourceP2.C.b,sourceP3.C.b,puitsP2.C.a,puitsP3.C.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.165, allocations: 143.9 kB / 494.1 MB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/1.165, allocations: 31.97 kB / 494.2 MB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/1.167, allocations: 3.357 MB / 497.5 MB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006386/1.168, allocations: 0.634 MB / 498.2 MB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/1.168, allocations: 4 kB / 498.2 MB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/1.168, allocations: 3.984 kB / 498.2 MB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/1.17, allocations: 1.763 MB / 499.9 MB, free: 4.074 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.17, allocations: 0 / 499.9 MB, free: 4.074 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/1.17, allocations: 111.8 kB / 0.4883 GB, free: 3.965 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/1.171, allocations: 75.27 kB / 0.4884 GB, free: 3.891 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008373/1.171, allocations: 0.671 MB / 0.489 GB, free: 3.215 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/1.171, allocations: 16 kB / 0.4891 GB, free: 3.199 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006173/1.172, allocations: 0.9501 MB / 0.49 GB, free: 2.219 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/1.172, allocations: 0 / 0.49 GB, free: 2.219 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/1.173, allocations: 0.9623 MB / 0.4909 GB, free: 1.234 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.177e-05/1.174, allocations: 27.89 kB / 0.491 GB, free: 1.207 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/1.174, allocations: 19.98 kB / 0.491 GB, free: 1.188 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/1.174, allocations: 56.89 kB / 0.491 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/1.174, allocations: 20.11 kB / 0.491 GB, free: 1.109 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001032/1.174, allocations: 152.7 kB / 0.4912 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/1.174, allocations: 0 / 0.4912 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002072/1.176, allocations: 1.072 MB / 0.4922 GB, free: 15.88 MB / 0.4948 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002679/1.179, allocations: 1.448 MB / 0.4937 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007747/1.179, allocations: 0.7291 MB / 0.4944 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.816e-05/1.179, allocations: 8 kB / 0.4944 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/1.18, allocations: 307.2 kB / 0.4947 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009479/1.181, allocations: 0.5003 MB / 0.4952 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00715/1.188, allocations: 1.428 MB / 0.4965 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/1.188, allocations: 192.8 kB / 0.4967 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002168/1.188, allocations: 56.31 kB / 0.4968 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003465/1.188, allocations: 249.1 kB / 0.497 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of SimCode: time 1.312e-06/1.188, allocations: 0 / 0.497 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.2069/1.395, allocations: 54.23 MB / 0.55 GB, free: 70.75 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06449/1.46, allocations: 53.73 MB / 0.6025 GB, free: 26.3 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0884776543825865]