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.5711/0.5711, allocations: 111.6 MB / 131.5 MB, free: 4.914 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.453e-06/1.453e-06, allocations: 0 / 176.7 MB, free: 8.855 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.246e-05, allocations: 5.047 kB / 176.7 MB, free: 8.852 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.136/1.136, allocations: 264.1 MB / 440.8 MB, free: 13.8 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02272/1.158, allocations: 23.12 MB / 463.9 MB, free: 6.598 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002985/1.159, allocations: 4 kB / 463.9 MB, free: 6.594 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.000475/1.159, allocations: 226.6 kB / 464.1 MB, free: 6.371 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004159/1.159, allocations: 298 kB / 464.4 MB, free: 6.078 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01183/1.171, allocations: 6.5 MB / 470.9 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008267/1.172, allocations: 0.8445 MB / 471.8 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/1.172, allocations: 214.1 kB / 472 MB, free: 14.49 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005123/1.173, allocations: 498.8 kB / 472.5 MB, free: 14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/1.173, allocations: 183.4 kB / 472.6 MB, free: 13.82 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/1.173, allocations: 40 kB / 472.7 MB, free: 13.78 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: 'cv' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.1945/1.368, allocations: 17.31 MB / 490 MB, free: 13.66 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/1.368, allocations: 103 kB / 490.1 MB, free: 13.66 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003818/1.368, allocations: 194.5 kB / 490.3 MB, free: 13.66 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01565/1.384, allocations: 9.245 MB / 499.5 MB, free: 13.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.384, allocations: 1.688 kB / 499.5 MB, free: 13.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.384, allocations: 0 / 499.5 MB, free: 13.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.084e-05/1.384, allocations: 3.094 kB / 499.5 MB, free: 13.57 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.004476/1.388, allocations: 1.37 MB / 0.4892 GB, free: 12.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/1.388, allocations: 13.58 kB / 0.4892 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.693e-05/1.388, allocations: 66.36 kB / 0.4892 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/1.389, allocations: 215.1 kB / 0.4895 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-05/1.389, allocations: 112.1 kB / 0.4896 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/1.389, allocations: 39.5 kB / 0.4896 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/1.389, allocations: 443 kB / 0.49 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/1.389, allocations: 0.9375 kB / 0.49 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/1.389, allocations: 23.41 kB / 0.49 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/1.389, allocations: 33.25 kB / 0.4901 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/1.39, allocations: 177.9 kB / 0.4902 GB, free: 12.41 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.01583/1.405, allocations: 9.952 MB / 0.5 GB, free: 9.973 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/1.406, allocations: 182.4 kB / 0.5001 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.537e-05/1.406, allocations: 80.77 kB / 0.5002 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04145/1.447, allocations: 22.87 MB / 0.5225 GB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/1.447, allocations: 34.56 kB / 0.5226 GB, free: 5.227 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 2.585e-06/1.447, allocations: 8 kB / 0.5226 GB, free: 5.219 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.001784/1.449, allocations: 0.8277 MB / 0.5234 GB, free: 4.398 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/1.449, allocations: 55.41 kB / 0.5234 GB, free: 4.332 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/1.449, allocations: 217.3 kB / 0.5237 GB, free: 4.133 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/1.449, allocations: 29.7 kB / 0.5237 GB, free: 4.098 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.578e-05/1.449, allocations: 207 kB / 0.5239 GB, free: 3.898 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/1.449, allocations: 349.2 kB / 0.5242 GB, free: 3.578 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.642e-05/1.449, allocations: 101.3 kB / 0.5243 GB, free: 3.496 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.277e-05/1.45, allocations: 357.6 kB / 0.5247 GB, free: 3.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.489e-05/1.45, allocations: 72.56 kB / 0.5247 GB, free: 3.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/1.45, allocations: 160.8 kB / 0.5249 GB, free: 2.926 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/1.45, allocations: 304.6 kB / 0.5252 GB, free: 2.621 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.45, allocations: 4 kB / 0.5252 GB, free: 2.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0004317/1.451, allocations: 408.9 kB / 0.5256 GB, free: 2.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.451, allocations: 6.516 kB / 0.5256 GB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.451, allocations: 4 kB / 0.5256 GB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008404/1.452, allocations: 0.5627 MB / 0.5261 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.964e-05/1.452, allocations: 11.66 kB / 0.5261 GB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006415/1.452, allocations: 0.7801 MB / 0.5269 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/1.452, allocations: 59.47 kB / 0.5269 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/1.452, allocations: 4.859 kB / 0.527 GB, free: 0.8164 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.0001365/1.453, allocations: 138 kB / 0.5271 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/1.453, allocations: 19.97 kB / 0.5271 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/1.454, allocations: 1.498 MB / 0.5286 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004593/1.454, allocations: 0.5087 MB / 0.5291 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/1.454, allocations: 4 kB / 0.5291 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/1.454, allocations: 3.984 kB / 0.5291 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/1.456, allocations: 1.411 MB / 0.5304 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.456, allocations: 0.9844 kB / 0.5304 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/1.456, allocations: 99 kB / 0.5305 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003583/1.456, allocations: 380.2 kB / 0.5309 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/1.456, allocations: 15.98 kB / 0.5309 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005933/1.457, allocations: 0.791 MB / 0.5317 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.457, allocations: 0 / 0.5317 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/1.458, allocations: 0.7047 MB / 0.5324 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/1.458, allocations: 87.81 kB / 0.5325 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.271e-05/1.458, allocations: 19.94 kB / 0.5325 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/1.458, allocations: 16 kB / 0.5325 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/1.458, allocations: 54.3 kB / 0.5326 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/1.458, allocations: 12 kB / 0.5326 GB, free: 11.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.252e-05/1.458, allocations: 107.4 kB / 0.5327 GB, free: 11.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/1.458, allocations: 4 kB / 0.5327 GB, free: 11.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00303/1.461, allocations: 0.998 MB / 0.5336 GB, free: 10.32 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.004551/1.466, allocations: 1.38 MB / 0.535 GB, free: 9.086 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009135/1.467, allocations: 0.6614 MB / 0.5356 GB, free: 8.398 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.467, allocations: 4 kB / 0.5356 GB, free: 8.395 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003715/1.467, allocations: 291.7 kB / 0.5359 GB, free: 8.137 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/1.468, allocations: 369.8 kB / 0.5363 GB, free: 7.793 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/1.47, allocations: 1.265 MB / 0.5375 GB, free: 6.531 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/1.47, allocations: 184.4 kB / 0.5377 GB, free: 6.332 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000192/1.47, allocations: 60.84 kB / 0.5377 GB, free: 6.277 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/1.47, allocations: 237.1 kB / 0.538 GB, free: 6.043 MB / 458.7 MB Notification: Performance of SimCode: time 1.303e-06/1.47, allocations: 0 / 0.538 GB, free: 6.043 MB / 458.7 MB Notification: Performance of Templates: time 0.05268/1.523, allocations: 49.37 MB / 0.5862 GB, free: 5.156 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.402832251042128]