Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.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.9072/0.9072, allocations: 153.8 MB / 173.4 MB, free: 4.879 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.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.0005316, allocations: 11.98 kB / 251 MB, free: 3.867 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.155, allocations: 33.36 MB / 284.4 MB, free: 2.047 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.TestStaticWaterWaterExchangerDTorWorEff): time 1.905/2.06, allocations: 308.7 MB / 0.5792 GB, free: 17.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02378/2.083, allocations: 21.36 MB / 0.6 GB, free: 8.328 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/2.084, allocations: 5.75 kB / 0.6 GB, free: 8.328 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25: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/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47: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/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25: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/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47: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/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:69:3-71:37:writable] Warning: Connector Ec 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/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:72:3-74:42:writable] Warning: Connector Ef 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/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:75:3-77:37:writable] Warning: Connector Sf 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/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:78:3-80:36:writable] Warning: Connector Sc is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005442/2.084, allocations: 222.2 kB / 0.6002 GB, free: 8.234 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000445/2.085, allocations: 285.9 kB / 0.6005 GB, free: 8.039 MB / 478.1 MB [/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.01805/2.103, allocations: 7.614 MB / 0.608 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009375/2.104, allocations: 0.8225 MB / 0.6088 GB, free: 3.902 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/2.104, allocations: 189.1 kB / 0.6089 GB, free: 3.773 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004088/2.105, allocations: 338.3 kB / 0.6093 GB, free: 3.574 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/2.105, allocations: 228.2 kB / 0.6095 GB, free: 3.438 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/2.105, allocations: 42.06 kB / 0.6095 GB, free: 3.438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02988/2.135, allocations: 16.06 MB / 0.6252 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/2.135, allocations: 91.58 kB / 0.6253 GB, free: 5.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004398/2.135, allocations: 247.8 kB / 0.6255 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01617/2.152, allocations: 7.226 MB / 0.6326 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/2.152, allocations: 0 / 0.6326 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/2.152, allocations: 4.688 kB / 0.6326 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.061e-05/2.152, allocations: 0 / 0.6326 GB, free: 13.59 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.00424/2.156, allocations: 1.404 MB / 0.634 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/2.156, allocations: 12.03 kB / 0.634 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/2.156, allocations: 67.58 kB / 0.634 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/2.156, allocations: 251.1 kB / 0.6343 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/2.156, allocations: 115.4 kB / 0.6344 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/2.157, allocations: 40.12 kB / 0.6344 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/2.158, allocations: 0.6445 MB / 0.6351 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/2.158, allocations: 3.938 kB / 0.6351 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/2.158, allocations: 16 kB / 0.6351 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/2.158, allocations: 29.5 kB / 0.6351 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008121/2.158, allocations: 451 kB / 0.6355 GB, free: 10.47 MB / 0.4981 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.03919/2.198, allocations: 11.79 MB / 0.647 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006351/2.198, allocations: 281.1 kB / 0.6473 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/2.199, allocations: 206.8 kB / 0.6475 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09324/2.292, allocations: 25.87 MB / 0.6728 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/2.292, allocations: 31.12 kB / 0.6728 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.534e-06/2.292, allocations: 4 kB / 0.6728 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.004655/2.297, allocations: 1.336 MB / 0.6741 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/2.297, allocations: 51.41 kB / 0.6742 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/2.297, allocations: 227.9 kB / 0.6744 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/2.297, allocations: 30.83 kB / 0.6744 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/2.297, allocations: 217.4 kB / 0.6746 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00039/2.298, allocations: 344.8 kB / 0.6749 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/2.298, allocations: 105.6 kB / 0.675 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002908/2.298, allocations: 354.7 kB / 0.6754 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/2.298, allocations: 196.9 kB / 0.6756 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/2.299, allocations: 302.5 kB / 0.6759 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008991/2.3, allocations: 0.555 MB / 0.6764 GB, free: 420 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/2.3, allocations: 1 kB / 0.6764 GB, free: 420 kB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00148/2.301, allocations: 0.723 MB / 0.6771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/2.301, allocations: 4.281 kB / 0.6771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/2.301, allocations: 9.031 kB / 0.6771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002232/2.304, allocations: 0.6962 MB / 0.6778 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.905e-05/2.304, allocations: 20.94 kB / 0.6778 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/2.305, allocations: 1.051 MB / 0.6788 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/2.306, allocations: 59.5 kB / 0.6789 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/2.306, allocations: 12 kB / 0.6789 GB, free: 13.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (exchangerWaterSteamDTorWorEFF.Sc.b,exchangerWaterSteamDTorWorEFF.Sf.b,exchangerWaterSteamDTorWorEFF.Ef.a,exchangerWaterSteamDTorWorEFF.Ec.a,sinkWaterSteam_FC.C.a,sourceWaterSteam_FC.C.b,sinkWaterSteam_FF.C.a,sourceWaterSteam_FF.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002324/2.306, allocations: 169.7 kB / 0.6791 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/2.306, allocations: 43.66 kB / 0.6791 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/2.309, allocations: 2.027 MB / 0.6811 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001638/2.31, allocations: 0.9883 MB / 0.6821 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/2.31, allocations: 0 / 0.6821 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/2.31, allocations: 4.922 kB / 0.6821 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/2.314, allocations: 2.076 MB / 0.6841 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/2.314, allocations: 4 kB / 0.6841 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/2.314, allocations: 91.91 kB / 0.6842 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008242/2.315, allocations: 481.9 kB / 0.6846 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/2.315, allocations: 16 kB / 0.6847 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/2.317, allocations: 1.133 MB / 0.6858 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/2.317, allocations: 3.938 kB / 0.6858 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/2.318, allocations: 1.102 MB / 0.6869 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/2.319, allocations: 115.1 kB / 0.687 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/2.319, allocations: 20.52 kB / 0.687 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/2.319, allocations: 22.19 kB / 0.687 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/2.319, allocations: 48.55 kB / 0.687 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/2.319, allocations: 28 kB / 0.6871 GB, free: 5.281 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002727/2.319, allocations: 231.1 kB / 0.6873 GB, free: 5.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/2.319, allocations: 0 / 0.6873 GB, free: 5.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002647/2.322, allocations: 1.003 MB / 0.6883 GB, free: 4.051 MB / 0.545 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(5,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003624/2.326, allocations: 1.161 MB / 0.6894 GB, free: 2.895 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002007/2.328, allocations: 0.953 MB / 0.6903 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/2.328, allocations: 0 / 0.6903 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/2.329, allocations: 439.2 kB / 0.6908 GB, free: 1.488 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/2.33, allocations: 369 kB / 0.6911 GB, free: 1.184 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/2.333, allocations: 1.466 MB / 0.6925 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/2.333, allocations: 374.2 kB / 0.6929 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/2.333, allocations: 39.44 kB / 0.6929 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/2.333, allocations: 0 / 0.6929 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.04037/2.374, allocations: 26.74 MB / 0.719 GB, free: 5.043 MB / 0.5762 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.679680792149156] Failed to read output from testmodel.py, exit status != 0: 2.548174672294408 2.563241391 0.408466503 Calling exit ...