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.4807/0.4807, allocations: 111.6 MB / 131.4 MB, free: 4.426 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.814e-06/1.814e-06, allocations: 0 / 176.5 MB, free: 8.918 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223e-05/1.405e-05, allocations: 9.422 kB / 176.5 MB, free: 8.91 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.051/1.051, allocations: 258.3 MB / 434.8 MB, free: 15.01 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02054/1.072, allocations: 22.83 MB / 457.7 MB, free: 8.098 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/1.072, allocations: 4 kB / 457.7 MB, free: 8.094 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.0004916/1.073, allocations: 222.6 kB / 457.9 MB, free: 7.875 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/1.073, allocations: 294 kB / 458.2 MB, free: 7.586 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.01946/1.092, allocations: 7.688 MB / 465.8 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008728/1.093, allocations: 0.8407 MB / 466.7 MB, free: 15.03 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/1.094, allocations: 205.4 kB / 466.9 MB, free: 14.82 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004211/1.094, allocations: 494.7 kB / 467.4 MB, free: 14.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/1.094, allocations: 183.5 kB / 467.6 MB, free: 14.16 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/1.094, allocations: 44 kB / 467.6 MB, free: 14.12 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2205/1.315, allocations: 16.07 MB / 483.7 MB, free: 14.95 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/1.315, allocations: 102.6 kB / 483.8 MB, free: 14.95 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003987/1.315, allocations: 194.8 kB / 484 MB, free: 14.95 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01816/1.333, allocations: 9.247 MB / 493.2 MB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.333, allocations: 1 kB / 493.2 MB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.403e-06/1.333, allocations: 0 / 493.2 MB, free: 14.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/1.333, allocations: 0 / 493.2 MB, free: 14.88 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.004904/1.338, allocations: 1.508 MB / 494.7 MB, free: 14.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/1.338, allocations: 14.17 kB / 494.7 MB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/1.338, allocations: 99.91 kB / 494.8 MB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/1.339, allocations: 252.8 kB / 495.1 MB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.153e-05/1.339, allocations: 117.7 kB / 495.2 MB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/1.339, allocations: 35.83 kB / 495.2 MB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004272/1.339, allocations: 469.4 kB / 495.7 MB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/1.339, allocations: 1.031 kB / 495.7 MB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/1.339, allocations: 22.09 kB / 495.7 MB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/1.339, allocations: 30.5 kB / 495.7 MB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/1.34, allocations: 178 kB / 495.9 MB, free: 13.5 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.01577/1.355, allocations: 10.75 MB / 0.4948 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/1.356, allocations: 149.2 kB / 0.4949 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.467e-05/1.356, allocations: 98.12 kB / 0.495 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03476/1.39, allocations: 22.45 MB / 0.5169 GB, free: 7.566 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/1.39, allocations: 37.58 kB / 0.517 GB, free: 7.523 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 2.354e-06/1.39, allocations: 0.5625 kB / 0.517 GB, free: 7.523 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.002024/1.392, allocations: 0.9677 MB / 0.5179 GB, free: 6.559 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/1.392, allocations: 51.41 kB / 0.518 GB, free: 6.496 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/1.393, allocations: 275.2 kB / 0.5182 GB, free: 6.234 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/1.393, allocations: 37.7 kB / 0.5183 GB, free: 6.191 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/1.393, allocations: 259.3 kB / 0.5185 GB, free: 5.938 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/1.393, allocations: 353 kB / 0.5189 GB, free: 5.613 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/1.393, allocations: 124.2 kB / 0.519 GB, free: 5.504 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/1.393, allocations: 0.5354 MB / 0.5195 GB, free: 4.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/1.393, allocations: 70.92 kB / 0.5196 GB, free: 4.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/1.393, allocations: 214.2 kB / 0.5198 GB, free: 4.684 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/1.394, allocations: 360.7 kB / 0.5201 GB, free: 4.312 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.394, allocations: 0 / 0.5201 GB, free: 4.312 MB / 442.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0005084/1.394, allocations: 495.1 kB / 0.5206 GB, free: 3.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.394, allocations: 10.98 kB / 0.5206 GB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.394, allocations: 4 kB / 0.5206 GB, free: 3.828 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008733/1.395, allocations: 0.5824 MB / 0.5212 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.224e-05/1.395, allocations: 8 kB / 0.5212 GB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/1.396, allocations: 1.127 MB / 0.5223 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/1.396, allocations: 59.45 kB / 0.5223 GB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/1.396, allocations: 8 kB / 0.5223 GB, free: 2.055 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.000132/1.396, allocations: 177.6 kB / 0.5225 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/1.397, allocations: 47.72 kB / 0.5226 GB, free: 1.828 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/1.398, allocations: 1.797 MB / 0.5243 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004759/1.398, allocations: 0.6035 MB / 0.5249 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/1.398, allocations: 1.312 kB / 0.5249 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/1.398, allocations: 7.922 kB / 0.5249 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/1.4, allocations: 1.657 MB / 0.5265 GB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/1.4, allocations: 0 / 0.5265 GB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/1.4, allocations: 90.25 kB / 0.5266 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000328/1.4, allocations: 391.3 kB / 0.527 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/1.4, allocations: 15.94 kB / 0.527 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006278/1.401, allocations: 1.104 MB / 0.5281 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.401, allocations: 0 / 0.5281 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/1.401, allocations: 0.8301 MB / 0.5289 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/1.402, allocations: 115.2 kB / 0.529 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/1.402, allocations: 24 kB / 0.529 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.787e-05/1.402, allocations: 16 kB / 0.529 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/1.402, allocations: 48.55 kB / 0.5291 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/1.402, allocations: 24.73 kB / 0.5291 GB, free: 11.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001066/1.402, allocations: 233.6 kB / 0.5293 GB, free: 11.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/1.402, allocations: 0 / 0.5293 GB, free: 11.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002844/1.405, allocations: 0.996 MB / 0.5303 GB, free: 10.22 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.002889/1.408, allocations: 1.329 MB / 0.5316 GB, free: 9.023 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007046/1.409, allocations: 0.7069 MB / 0.5323 GB, free: 8.297 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.409, allocations: 0 / 0.5323 GB, free: 8.297 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/1.409, allocations: 313.5 kB / 0.5326 GB, free: 8.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008756/1.41, allocations: 378.6 kB / 0.533 GB, free: 7.672 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/1.411, allocations: 1.254 MB / 0.5342 GB, free: 6.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/1.411, allocations: 188.4 kB / 0.5344 GB, free: 6.207 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000158/1.412, allocations: 55.67 kB / 0.5344 GB, free: 6.152 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/1.412, allocations: 290 kB / 0.5347 GB, free: 5.867 MB / 458.7 MB Notification: Performance of SimCode: time 8.32e-07/1.412, allocations: 0 / 0.5347 GB, free: 5.867 MB / 458.7 MB Notification: Performance of Templates: time 0.04687/1.459, allocations: 50.12 MB / 0.5836 GB, free: 4.207 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.038838010746986]