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.7795/0.7795, allocations: 111.6 MB / 131 MB, free: 5.086 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.184e-06/2.184e-06, allocations: 0 / 175.7 MB, free: 9.449 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.989e-05, allocations: 9.125 kB / 175.7 MB, free: 9.441 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.646/1.646, allocations: 255.6 MB / 431.4 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03514/1.681, allocations: 21.37 MB / 452.7 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/1.681, allocations: 4 kB / 452.7 MB, free: 10.04 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.0005946/1.682, allocations: 222.6 kB / 453 MB, free: 9.816 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005618/1.682, allocations: 294 kB / 453.2 MB, free: 9.527 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.02061/1.703, allocations: 7.687 MB / 460.9 MB, free: 1.816 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00126/1.704, allocations: 0.8445 MB / 461.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/1.704, allocations: 197.5 kB / 462 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009544/1.705, allocations: 494.7 kB / 462.4 MB, free: 292 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/1.706, allocations: 183.5 kB / 462.6 MB, free: 108 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.595e-05/1.706, allocations: 40 kB / 462.7 MB, free: 68 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03094/1.737, allocations: 16.08 MB / 478.7 MB, free: 15.96 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/1.737, allocations: 103.5 kB / 478.8 MB, free: 15.86 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004459/1.737, allocations: 203.5 kB / 479 MB, free: 15.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01928/1.757, allocations: 9.432 MB / 488.5 MB, free: 6.207 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.757, allocations: 0 / 488.5 MB, free: 6.207 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.917e-06/1.757, allocations: 7.922 kB / 488.5 MB, free: 6.199 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.776e-06/1.757, allocations: 3.938 kB / 488.5 MB, free: 6.195 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.004078/1.761, allocations: 1.39 MB / 489.9 MB, free: 4.766 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.761, allocations: 11.98 kB / 489.9 MB, free: 4.754 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/1.761, allocations: 112.5 kB / 490 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/1.761, allocations: 253.2 kB / 490.2 MB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/1.762, allocations: 114.7 kB / 490.4 MB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/1.762, allocations: 44.36 kB / 490.4 MB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/1.763, allocations: 0.6373 MB / 491 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/1.763, allocations: 11.88 kB / 491.1 MB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/1.763, allocations: 16 kB / 491.1 MB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/1.763, allocations: 31.97 kB / 491.1 MB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008679/1.764, allocations: 455 kB / 491.5 MB, free: 3.02 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.1725/1.936, allocations: 11.79 MB / 0.4915 GB, free: 104.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/1.937, allocations: 280.2 kB / 0.4918 GB, free: 104.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/1.937, allocations: 206.8 kB / 0.492 GB, free: 104.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07729/2.014, allocations: 25.89 MB / 0.5173 GB, free: 78.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/2.014, allocations: 35.09 kB / 0.5173 GB, free: 78.42 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 3.066e-06/2.014, allocations: 8 kB / 0.5173 GB, free: 78.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.004464/2.019, allocations: 1.345 MB / 0.5186 GB, free: 77.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/2.019, allocations: 59.39 kB / 0.5187 GB, free: 77.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/2.019, allocations: 222.1 kB / 0.5189 GB, free: 76.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/2.019, allocations: 29.84 kB / 0.5189 GB, free: 76.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/2.019, allocations: 218.2 kB / 0.5191 GB, free: 76.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/2.019, allocations: 342.9 kB / 0.5195 GB, free: 76.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/2.019, allocations: 97.66 kB / 0.5196 GB, free: 76.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.08e-05/2.02, allocations: 357.4 kB / 0.5199 GB, free: 75.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/2.02, allocations: 200.9 kB / 0.5201 GB, free: 75.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/2.02, allocations: 298.5 kB / 0.5204 GB, free: 75.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006969/2.021, allocations: 0.5479 MB / 0.5209 GB, free: 74.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/2.021, allocations: 0 / 0.5209 GB, free: 74.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001195/2.022, allocations: 0.7582 MB / 0.5217 GB, free: 73.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/2.022, allocations: 8 kB / 0.5217 GB, free: 73.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/2.022, allocations: 0 / 0.5217 GB, free: 73.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/2.024, allocations: 0.696 MB / 0.5223 GB, free: 73.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/2.024, allocations: 13.5 kB / 0.5224 GB, free: 73.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/2.026, allocations: 1.055 MB / 0.5234 GB, free: 72.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/2.026, allocations: 59.52 kB / 0.5234 GB, free: 72.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/2.026, allocations: 16 kB / 0.5235 GB, free: 72.08 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.0001909/2.026, allocations: 180.5 kB / 0.5236 GB, free: 71.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.359e-05/2.026, allocations: 39.72 kB / 0.5237 GB, free: 71.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/2.028, allocations: 2.024 MB / 0.5256 GB, free: 69.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001236/2.029, allocations: 0.991 MB / 0.5266 GB, free: 68.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/2.029, allocations: 4 kB / 0.5266 GB, free: 68.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/2.029, allocations: 3.984 kB / 0.5266 GB, free: 68.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/2.032, allocations: 2.084 MB / 0.5287 GB, free: 66.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/2.032, allocations: 0 / 0.5287 GB, free: 66.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/2.032, allocations: 95.83 kB / 0.5288 GB, free: 66.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006742/2.033, allocations: 495.5 kB / 0.5292 GB, free: 66.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/2.033, allocations: 12 kB / 0.5292 GB, free: 66.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/2.034, allocations: 1.145 MB / 0.5304 GB, free: 64.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/2.034, allocations: 0 / 0.5304 GB, free: 64.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/2.036, allocations: 1.133 MB / 0.5315 GB, free: 63.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/2.036, allocations: 108.2 kB / 0.5316 GB, free: 63.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/2.036, allocations: 23.89 kB / 0.5316 GB, free: 63.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/2.036, allocations: 20 kB / 0.5316 GB, free: 63.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/2.036, allocations: 52.55 kB / 0.5317 GB, free: 63.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/2.036, allocations: 23.98 kB / 0.5317 GB, free: 63.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001874/2.037, allocations: 239 kB / 0.5319 GB, free: 63.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/2.037, allocations: 0 / 0.5319 GB, free: 63.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002221/2.039, allocations: 0.998 MB / 0.5329 GB, free: 62.29 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.004144/2.043, allocations: 1.282 MB / 0.5341 GB, free: 61.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00161/2.045, allocations: 0.9469 MB / 0.5351 GB, free: 60.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/2.045, allocations: 3.453 kB / 0.5351 GB, free: 60.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009595/2.046, allocations: 442.7 kB / 0.5355 GB, free: 59.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/2.047, allocations: 383.7 kB / 0.5358 GB, free: 59.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/2.049, allocations: 1.396 MB / 0.5372 GB, free: 57.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/2.049, allocations: 378.2 kB / 0.5376 GB, free: 57.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/2.049, allocations: 51.59 kB / 0.5376 GB, free: 57.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/2.049, allocations: 40.5 kB / 0.5377 GB, free: 57.48 MB / 442.7 MB Notification: Performance of SimCode: time 7.11e-07/2.049, allocations: 0 / 0.5377 GB, free: 57.48 MB / 442.7 MB Notification: Performance of Templates: time 0.0445/2.094, allocations: 43.11 MB / 0.5798 GB, free: 14.77 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.482641872949898]