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.8249/0.8249, allocations: 111.6 MB / 131 MB, free: 5.094 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 2.585e-06/2.585e-06, allocations: 0 / 175.7 MB, free: 9.453 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.903e-05, allocations: 17.47 kB / 175.7 MB, free: 9.438 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.747/1.747, allocations: 255.9 MB / 431.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0362/1.783, allocations: 23.07 MB / 454.7 MB, free: 8.066 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/1.784, allocations: 4 kB / 454.7 MB, free: 8.062 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.0005998/1.784, allocations: 226.7 kB / 455 MB, free: 7.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005343/1.785, allocations: 294 kB / 455.3 MB, free: 7.551 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.01992/1.805, allocations: 7.68 MB / 462.9 MB, free: 15.84 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001214/1.806, allocations: 0.8446 MB / 463.8 MB, free: 15 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/1.806, allocations: 201.4 kB / 464 MB, free: 14.79 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006927/1.807, allocations: 498.7 kB / 464.5 MB, free: 14.3 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/1.807, allocations: 179.5 kB / 464.6 MB, free: 14.13 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.527e-05/1.807, allocations: 40 kB / 464.7 MB, free: 14.09 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02904/1.836, allocations: 16.08 MB / 480.8 MB, free: 13.98 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/1.836, allocations: 99.53 kB / 480.9 MB, free: 13.89 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003848/1.837, allocations: 199.5 kB / 481.1 MB, free: 13.69 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01811/1.855, allocations: 9.44 MB / 490.5 MB, free: 4.227 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.855, allocations: 0 / 490.5 MB, free: 4.227 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.593e-06/1.855, allocations: 4 kB / 490.5 MB, free: 4.223 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/1.855, allocations: 4 kB / 490.5 MB, free: 4.219 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004069/1.859, allocations: 1.528 MB / 492 MB, free: 2.645 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/1.859, allocations: 11.98 kB / 492 MB, free: 2.633 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/1.859, allocations: 96.47 kB / 492.1 MB, free: 2.539 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/1.86, allocations: 264.1 kB / 492.4 MB, free: 2.254 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/1.86, allocations: 118.6 kB / 492.5 MB, free: 2.121 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/1.86, allocations: 44.31 kB / 492.6 MB, free: 2.078 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009584/1.861, allocations: 0.566 MB / 493.1 MB, free: 1.461 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.861, allocations: 0 / 493.1 MB, free: 1.461 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/1.861, allocations: 16 kB / 493.1 MB, free: 1.445 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/1.861, allocations: 31.97 kB / 493.2 MB, free: 1.414 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006477/1.862, allocations: 315 kB / 493.5 MB, free: 1.105 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.1796/2.041, allocations: 12.39 MB / 0.494 GB, free: 102.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/2.042, allocations: 247.7 kB / 0.4942 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/2.042, allocations: 165.6 kB / 0.4944 GB, free: 101.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08269/2.125, allocations: 25.98 MB / 0.5198 GB, free: 75.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/2.125, allocations: 45.33 kB / 0.5198 GB, free: 75.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 2.505e-06/2.125, allocations: 4 kB / 0.5198 GB, free: 75.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.004311/2.129, allocations: 1.195 MB / 0.521 GB, free: 74.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/2.129, allocations: 55.41 kB / 0.521 GB, free: 74.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/2.129, allocations: 306.7 kB / 0.5213 GB, free: 74.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/2.129, allocations: 29.7 kB / 0.5214 GB, free: 74.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/2.129, allocations: 266.5 kB / 0.5216 GB, free: 73.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/2.129, allocations: 377.3 kB / 0.522 GB, free: 73.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/2.13, allocations: 131.9 kB / 0.5221 GB, free: 73.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/2.13, allocations: 0.5625 MB / 0.5227 GB, free: 72.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/2.13, allocations: 141 kB / 0.5228 GB, free: 72.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/2.13, allocations: 294.8 kB / 0.5231 GB, free: 72.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/2.131, allocations: 0.5236 MB / 0.5236 GB, free: 71.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/2.131, allocations: 4.812 kB / 0.5236 GB, free: 71.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0009838/2.132, allocations: 0.6767 MB / 0.5242 GB, free: 71.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/2.132, allocations: 8 kB / 0.5243 GB, free: 71.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/2.132, allocations: 0 / 0.5243 GB, free: 71.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/2.133, allocations: 0.6613 MB / 0.5249 GB, free: 70.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.014e-05/2.133, allocations: 15.88 kB / 0.5249 GB, free: 70.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/2.135, allocations: 1.331 MB / 0.5262 GB, free: 69.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/2.135, allocations: 59.41 kB / 0.5263 GB, free: 69.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/2.135, allocations: 16 kB / 0.5263 GB, free: 69.06 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 (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.0001571/2.135, allocations: 209.1 kB / 0.5265 GB, free: 68.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/2.135, allocations: 55.66 kB / 0.5265 GB, free: 68.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/2.137, allocations: 2.184 MB / 0.5287 GB, free: 66.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001031/2.138, allocations: 0.8109 MB / 0.5295 GB, free: 65.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/2.138, allocations: 0 / 0.5295 GB, free: 65.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/2.138, allocations: 7.984 kB / 0.5295 GB, free: 65.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/2.141, allocations: 2.108 MB / 0.5315 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/2.141, allocations: 0 / 0.5315 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/2.141, allocations: 95.91 kB / 0.5316 GB, free: 63.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005303/2.141, allocations: 434.1 kB / 0.532 GB, free: 63.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/2.142, allocations: 12 kB / 0.532 GB, free: 63.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/2.143, allocations: 1.232 MB / 0.5333 GB, free: 61.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/2.143, allocations: 3.938 kB / 0.5333 GB, free: 61.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/2.144, allocations: 1.031 MB / 0.5343 GB, free: 60.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/2.144, allocations: 115.2 kB / 0.5344 GB, free: 60.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/2.144, allocations: 27.33 kB / 0.5344 GB, free: 60.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/2.144, allocations: 12 kB / 0.5344 GB, free: 60.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/2.144, allocations: 60.55 kB / 0.5345 GB, free: 60.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/2.144, allocations: 19.98 kB / 0.5345 GB, free: 60.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002015/2.145, allocations: 291 kB / 0.5348 GB, free: 60.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/2.145, allocations: 0 / 0.5348 GB, free: 60.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002176/2.147, allocations: 1.003 MB / 0.5357 GB, free: 59.18 MB / 442.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.003838/2.151, allocations: 1.288 MB / 0.537 GB, free: 58.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001327/2.152, allocations: 0.8621 MB / 0.5378 GB, free: 57.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/2.152, allocations: 0 / 0.5378 GB, free: 57.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007903/2.153, allocations: 413.4 kB / 0.5382 GB, free: 56.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/2.154, allocations: 383.7 kB / 0.5386 GB, free: 56.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/2.156, allocations: 1.334 MB / 0.5399 GB, free: 55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/2.156, allocations: 382.2 kB / 0.5403 GB, free: 54.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000186/2.156, allocations: 51.88 kB / 0.5403 GB, free: 54.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/2.156, allocations: 44.48 kB / 0.5404 GB, free: 54.52 MB / 442.7 MB Notification: Performance of SimCode: time 7.02e-07/2.156, allocations: 0 / 0.5404 GB, free: 54.52 MB / 442.7 MB Notification: Performance of Templates: time 0.05032/2.207, allocations: 43.73 MB / 0.5831 GB, free: 11.19 MB / 442.7 MB " [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: 8.78389405400958]