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.4947/0.4947, allocations: 111.6 MB / 132.2 MB, free: 4.43 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/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 1.552e-06/1.552e-06, allocations: 0 / 177.3 MB, free: 8.93 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.55e-05, allocations: 2.312 kB / 177.3 MB, free: 8.926 MB / 170.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.TestStaticWaterWaterExchangerDTorWorEff): time 1.05/1.05, allocations: 258.3 MB / 435.6 MB, free: 15.01 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01982/1.07, allocations: 22.83 MB / 458.4 MB, free: 8.098 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002633/1.07, allocations: 8 kB / 458.4 MB, free: 8.09 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceQ.mo:13:3-14:78: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: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceQ.mo:13:3-14:78: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: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:36:3-37:78: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:38:3-39:80: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:40:3-41:77: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:42:3-43:76: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.0004332/1.07, allocations: 218.7 kB / 458.6 MB, free: 7.875 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/1.071, allocations: 298 kB / 458.9 MB, free: 7.582 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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.01325/1.084, allocations: 7.68 MB / 466.6 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007472/1.085, allocations: 0.8484 MB / 467.5 MB, free: 15.03 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/1.085, allocations: 197.5 kB / 467.7 MB, free: 14.83 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/1.085, allocations: 0.4909 MB / 468.1 MB, free: 14.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/1.086, allocations: 179.5 kB / 468.3 MB, free: 14.16 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/1.086, allocations: 40 kB / 468.4 MB, free: 14.12 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.206/1.292, allocations: 16.07 MB / 484.4 MB, free: 14.93 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/1.292, allocations: 104.1 kB / 484.5 MB, free: 14.93 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002953/1.292, allocations: 195.2 kB / 484.7 MB, free: 14.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0136/1.306, allocations: 9.244 MB / 494 MB, free: 14.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.306, allocations: 0 / 494 MB, free: 14.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.022e-06/1.306, allocations: 1.422 kB / 494 MB, free: 14.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/1.306, allocations: 1.469 kB / 494 MB, free: 14.86 MB / 426.7 MB 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.003748/1.309, allocations: 1.511 MB / 495.5 MB, free: 14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/1.309, allocations: 14.42 kB / 495.5 MB, free: 14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/1.309, allocations: 97.56 kB / 495.6 MB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/1.31, allocations: 256.8 kB / 495.8 MB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/1.31, allocations: 115.2 kB / 496 MB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/1.31, allocations: 36.5 kB / 496 MB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/1.31, allocations: 459.7 kB / 496.4 MB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.31, allocations: 0 / 496.4 MB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/1.31, allocations: 20.91 kB / 496.5 MB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/1.31, allocations: 34.23 kB / 496.5 MB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/1.31, allocations: 179 kB / 496.7 MB, free: 13.49 MB / 426.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.01582/1.326, allocations: 10.73 MB / 0.4955 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/1.326, allocations: 156.7 kB / 0.4957 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.953e-05/1.327, allocations: 100.1 kB / 0.4958 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03631/1.363, allocations: 22.34 MB / 0.5176 GB, free: 7.703 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/1.363, allocations: 33.39 kB / 0.5176 GB, free: 7.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 1.734e-06/1.363, allocations: 0 / 0.5176 GB, free: 7.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.00217/1.365, allocations: 0.9616 MB / 0.5185 GB, free: 6.703 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/1.365, allocations: 55.41 kB / 0.5186 GB, free: 6.637 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/1.365, allocations: 272.4 kB / 0.5189 GB, free: 6.375 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/1.365, allocations: 29.7 kB / 0.5189 GB, free: 6.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/1.365, allocations: 262.2 kB / 0.5191 GB, free: 6.086 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/1.366, allocations: 352.9 kB / 0.5195 GB, free: 5.762 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/1.366, allocations: 124.4 kB / 0.5196 GB, free: 5.652 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/1.366, allocations: 0.5316 MB / 0.5201 GB, free: 5.129 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.362e-05/1.366, allocations: 74.14 kB / 0.5202 GB, free: 5.055 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/1.366, allocations: 213.1 kB / 0.5204 GB, free: 4.828 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/1.366, allocations: 363.9 kB / 0.5207 GB, free: 4.457 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/1.366, allocations: 0 / 0.5207 GB, free: 4.457 MB / 442.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0004763/1.367, allocations: 498.1 kB / 0.5212 GB, free: 3.984 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.367, allocations: 12.28 kB / 0.5212 GB, free: 3.973 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.367, allocations: 0 / 0.5212 GB, free: 3.973 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008385/1.368, allocations: 0.5885 MB / 0.5218 GB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.38e-05/1.368, allocations: 15.55 kB / 0.5218 GB, free: 3.391 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000707/1.368, allocations: 1.114 MB / 0.5229 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/1.369, allocations: 59.45 kB / 0.5229 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/1.369, allocations: 8 kB / 0.523 GB, free: 2.199 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (sourceWaterSteam_FF.C.b,sinkWaterSteam_FF.C.a,sourceWaterSteam_FC.C.b,sinkWaterSteam_FC.C.a,exchangerWaterSteamDTorWorEFF.Ec.a,exchangerWaterSteamDTorWorEFF.Ef.a,exchangerWaterSteamDTorWorEFF.Sf.b,exchangerWaterSteamDTorWorEFF.Sc.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.000123/1.369, allocations: 175.8 kB / 0.5231 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/1.369, allocations: 49.03 kB / 0.5232 GB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/1.37, allocations: 1.799 MB / 0.5249 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007224/1.371, allocations: 0.598 MB / 0.5255 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/1.371, allocations: 0 / 0.5255 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/1.371, allocations: 8.484 kB / 0.5255 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/1.372, allocations: 1.663 MB / 0.5271 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.372, allocations: 1.969 kB / 0.5271 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/1.372, allocations: 91.16 kB / 0.5272 GB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003293/1.373, allocations: 386.6 kB / 0.5276 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/1.373, allocations: 27.22 kB / 0.5276 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006097/1.373, allocations: 1.091 MB / 0.5287 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.373, allocations: 7.094 kB / 0.5287 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005955/1.374, allocations: 0.8322 MB / 0.5295 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/1.374, allocations: 111.3 kB / 0.5296 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/1.374, allocations: 23.88 kB / 0.5296 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/1.374, allocations: 16 kB / 0.5297 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/1.374, allocations: 56.55 kB / 0.5297 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/1.374, allocations: 15.94 kB / 0.5297 GB, free: 11.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.909e-05/1.374, allocations: 227.6 kB / 0.5299 GB, free: 11.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/1.374, allocations: 0 / 0.5299 GB, free: 11.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002255/1.376, allocations: 0.9941 MB / 0.5309 GB, free: 10.37 MB / 458.7 MB 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.002529/1.379, allocations: 1.335 MB / 0.5322 GB, free: 9.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009229/1.38, allocations: 0.7052 MB / 0.5329 GB, free: 8.457 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.38, allocations: 4.062 kB / 0.5329 GB, free: 8.453 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003531/1.38, allocations: 312.7 kB / 0.5332 GB, free: 8.172 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009183/1.381, allocations: 377.5 kB / 0.5336 GB, free: 7.828 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/1.383, allocations: 1.261 MB / 0.5348 GB, free: 6.562 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/1.383, allocations: 184.4 kB / 0.535 GB, free: 6.363 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001406/1.383, allocations: 55.86 kB / 0.535 GB, free: 6.309 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/1.383, allocations: 290 kB / 0.5353 GB, free: 6.023 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/1.383, allocations: 0 / 0.5353 GB, free: 6.023 MB / 458.7 MB Notification: Performance of Templates: time 0.04674/1.43, allocations: 50.47 MB / 0.5846 GB, free: 4.059 MB / 0.4948 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.598898760974407]