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.5351/0.5351, allocations: 111.7 MB / 121.6 MB, free: 4.738 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08964/0.6247, allocations: 33.98 MB / 155.6 MB, free: 3.656 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.283e-06/1.283e-06, allocations: 0 / 156.9 MB, free: 2.383 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.013e-05, allocations: 6.25 kB / 156.9 MB, free: 2.375 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.046/1.046, allocations: 234.9 MB / 391.8 MB, free: 1.125 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01867/1.064, allocations: 22.56 MB / 414.3 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/1.064, allocations: 4 kB / 414.3 MB, free: 10.48 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.0002868/1.065, allocations: 177.6 kB / 414.5 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/1.065, allocations: 333.7 kB / 414.8 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008397/1.073, allocations: 6.216 MB / 421 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006562/1.074, allocations: 1.019 MB / 422.1 MB, free: 2.719 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/1.074, allocations: 265.2 kB / 422.3 MB, free: 2.457 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/1.075, allocations: 0.5856 MB / 422.9 MB, free: 1.867 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/1.075, allocations: 251.3 kB / 423.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.583e-05/1.075, allocations: 52 kB / 423.2 MB, free: 1.57 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.01497/1.09, allocations: 15.63 MB / 438.8 MB, free: 1.926 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/1.09, allocations: 95.56 kB / 438.9 MB, free: 1.832 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/1.09, allocations: 207.6 kB / 439.1 MB, free: 1.629 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00574/1.096, allocations: 6.464 MB / 445.6 MB, free: 11.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/1.096, allocations: 0 / 445.6 MB, free: 11.15 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.382e-06/1.096, allocations: 0 / 445.6 MB, free: 11.15 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/1.096, allocations: 0 / 445.6 MB, free: 11.15 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.001965/1.098, allocations: 2.025 MB / 447.6 MB, free: 9.078 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.644e-05/1.098, allocations: 8.625 kB / 447.6 MB, free: 9.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/1.098, allocations: 88.81 kB / 447.7 MB, free: 8.984 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/1.098, allocations: 234.2 kB / 447.9 MB, free: 8.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.098, allocations: 207.8 kB / 448.1 MB, free: 8.488 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/1.098, allocations: 47.94 kB / 448.2 MB, free: 8.441 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/1.099, allocations: 0.5369 MB / 448.7 MB, free: 7.855 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.099, allocations: 4 kB / 448.7 MB, free: 7.852 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/1.099, allocations: 16 kB / 448.7 MB, free: 7.836 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/1.099, allocations: 43.91 kB / 448.8 MB, free: 7.793 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/1.099, allocations: 220.6 kB / 449 MB, free: 7.574 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.02644/1.126, allocations: 18.44 MB / 467.4 MB, free: 5.055 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/1.126, allocations: 314 kB / 467.7 MB, free: 4.738 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/1.126, allocations: 99.14 kB / 467.8 MB, free: 4.641 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02953/1.156, allocations: 18.9 MB / 486.7 MB, free: 1.723 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/1.156, allocations: 38.56 kB / 486.8 MB, free: 1.676 MB / 474.7 MB Notification: Performance of pre-optimization done (n=126): time 2.074e-06/1.156, allocations: 0 / 486.8 MB, free: 1.676 MB / 474.7 MB Notification: Performance of matching and sorting (n=126): time 0.006026/1.162, allocations: 2.253 MB / 489 MB, free: 15.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/1.162, allocations: 59.34 kB / 489.1 MB, free: 15.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/1.162, allocations: 236.9 kB / 489.3 MB, free: 15.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/1.162, allocations: 33.7 kB / 489.4 MB, free: 15.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/1.162, allocations: 237.5 kB / 489.6 MB, free: 14.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/1.162, allocations: 428 kB / 490 MB, free: 14.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/1.162, allocations: 130 kB / 490.1 MB, free: 14.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.797e-05/1.162, allocations: 370.7 kB / 490.5 MB, free: 13.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/1.162, allocations: 96.61 kB / 490.6 MB, free: 13.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/1.163, allocations: 197.4 kB / 490.8 MB, free: 13.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/1.163, allocations: 387.2 kB / 491.2 MB, free: 13.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.163, allocations: 0 / 491.2 MB, free: 13.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001231/1.164, allocations: 0.6951 MB / 491.9 MB, free: 12.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.164, allocations: 8 kB / 491.9 MB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.164, allocations: 3.984 kB / 491.9 MB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/1.166, allocations: 1.23 MB / 493.1 MB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.363e-05/1.166, allocations: 19.98 kB / 493.1 MB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008566/1.166, allocations: 0.9367 MB / 494.1 MB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/1.167, allocations: 79.34 kB / 494.1 MB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/1.167, allocations: 15.98 kB / 494.1 MB, free: 10.14 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.0001136/1.167, allocations: 144.2 kB / 494.3 MB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/1.167, allocations: 27.97 kB / 494.3 MB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/1.169, allocations: 3.364 MB / 497.7 MB, free: 6.465 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006386/1.169, allocations: 0.6339 MB / 498.3 MB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/1.169, allocations: 0 / 498.3 MB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.169, allocations: 3.984 kB / 498.3 MB, free: 5.816 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/1.171, allocations: 1.775 MB / 0.4884 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.171, allocations: 0 / 0.4884 GB, free: 4.004 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/1.172, allocations: 103.9 kB / 0.4885 GB, free: 3.902 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/1.172, allocations: 75.27 kB / 0.4885 GB, free: 3.828 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009258/1.173, allocations: 0.6788 MB / 0.4892 GB, free: 3.145 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/1.173, allocations: 12 kB / 0.4892 GB, free: 3.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006195/1.173, allocations: 0.9579 MB / 0.4902 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.173, allocations: 4 kB / 0.4902 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/1.175, allocations: 0.9584 MB / 0.4911 GB, free: 1.164 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/1.175, allocations: 23.89 kB / 0.4911 GB, free: 1.141 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/1.175, allocations: 19.98 kB / 0.4911 GB, free: 1.121 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/1.175, allocations: 52.89 kB / 0.4912 GB, free: 1.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/1.175, allocations: 23.98 kB / 0.4912 GB, free: 1.047 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001042/1.175, allocations: 148.7 kB / 0.4913 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/1.175, allocations: 0 / 0.4913 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001647/1.177, allocations: 1.08 MB / 0.4924 GB, free: 15.82 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.002214/1.179, allocations: 1.438 MB / 0.4938 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006165/1.179, allocations: 0.7332 MB / 0.4945 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.179, allocations: 8 kB / 0.4945 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003614/1.18, allocations: 392.1 kB / 0.4949 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/1.181, allocations: 1.558 MB / 0.4964 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006712/1.188, allocations: 1.418 MB / 0.4978 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/1.188, allocations: 192.8 kB / 0.498 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001215/1.188, allocations: 56.36 kB / 0.498 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/1.188, allocations: 237.1 kB / 0.4983 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of SimCode: time 6.32e-07/1.188, allocations: 0 / 0.4983 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of Templates: time 0.1884/1.377, allocations: 48 MB / 0.5452 GB, free: 75.67 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07248/1.449, allocations: 53.73 MB / 0.5976 GB, free: 31.22 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: 4.576942475512624]