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.5172/0.5172, allocations: 111.6 MB / 131.5 MB, free: 4.418 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.704e-06/1.704e-06, allocations: 0 / 176.6 MB, free: 8.863 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.212e-05, allocations: 2.312 kB / 176.6 MB, free: 8.859 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.09/1.09, allocations: 264.1 MB / 440.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02662/1.116, allocations: 23.13 MB / 463.8 MB, free: 6.652 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003198/1.117, allocations: 4 kB / 463.8 MB, free: 6.648 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.0005347/1.117, allocations: 226.6 kB / 464.1 MB, free: 6.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007044/1.118, allocations: 298 kB / 464.3 MB, free: 6.133 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.01785/1.136, allocations: 7.723 MB / 472.1 MB, free: 14.38 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001295/1.137, allocations: 0.8484 MB / 472.9 MB, free: 13.53 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/1.138, allocations: 206 kB / 473.1 MB, free: 13.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007917/1.138, allocations: 498.8 kB / 473.6 MB, free: 12.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/1.139, allocations: 183.5 kB / 473.8 MB, free: 12.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/1.139, allocations: 40 kB / 473.8 MB, free: 12.62 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2137/1.352, allocations: 16.07 MB / 489.9 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/1.352, allocations: 101 kB / 490 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003552/1.353, allocations: 199 kB / 490.2 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01498/1.368, allocations: 9.243 MB / 499.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.368, allocations: 1.906 kB / 499.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/1.368, allocations: 3.969 kB / 499.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/1.368, allocations: 0 / 499.4 MB, free: 13.93 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.004308/1.372, allocations: 1.376 MB / 0.4891 GB, free: 13.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/1.372, allocations: 14.7 kB / 0.4891 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.075e-05/1.372, allocations: 62.58 kB / 0.4891 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/1.372, allocations: 212.8 kB / 0.4894 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-05/1.373, allocations: 114.8 kB / 0.4895 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/1.373, allocations: 35.78 kB / 0.4895 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/1.373, allocations: 445 kB / 0.4899 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.373, allocations: 6.031 kB / 0.4899 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/1.373, allocations: 20.62 kB / 0.4899 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/1.373, allocations: 30.69 kB / 0.49 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/1.373, allocations: 173.5 kB / 0.4901 GB, free: 12.77 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.01528/1.389, allocations: 9.951 MB / 0.4999 GB, free: 9.996 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/1.389, allocations: 184.1 kB / 0.5 GB, free: 9.906 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.382e-05/1.389, allocations: 76.05 kB / 0.5001 GB, free: 9.887 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03741/1.426, allocations: 22.87 MB / 0.5224 GB, free: 5.551 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.426, allocations: 42.55 kB / 0.5225 GB, free: 5.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 1.984e-06/1.426, allocations: 1.641 kB / 0.5225 GB, free: 5.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.001779/1.428, allocations: 0.8363 MB / 0.5233 GB, free: 4.676 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/1.428, allocations: 55.41 kB / 0.5233 GB, free: 4.609 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/1.428, allocations: 219.8 kB / 0.5236 GB, free: 4.402 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/1.428, allocations: 29.7 kB / 0.5236 GB, free: 4.367 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/1.428, allocations: 203.5 kB / 0.5238 GB, free: 4.172 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/1.428, allocations: 347 kB / 0.5241 GB, free: 3.852 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.676e-05/1.429, allocations: 99.17 kB / 0.5242 GB, free: 3.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.677e-05/1.429, allocations: 359.2 kB / 0.5245 GB, free: 3.434 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/1.429, allocations: 71.81 kB / 0.5246 GB, free: 3.359 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/1.429, allocations: 158.3 kB / 0.5248 GB, free: 3.195 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/1.429, allocations: 307.8 kB / 0.5251 GB, free: 2.891 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.429, allocations: 0 / 0.5251 GB, free: 2.891 MB / 442.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0004028/1.43, allocations: 410 kB / 0.5255 GB, free: 2.504 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/1.43, allocations: 8 kB / 0.5255 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.43, allocations: 6.297 kB / 0.5255 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008144/1.43, allocations: 0.549 MB / 0.526 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.675e-05/1.43, allocations: 19.73 kB / 0.526 GB, free: 1.938 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000624/1.431, allocations: 0.7774 MB / 0.5268 GB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/1.431, allocations: 59.45 kB / 0.5268 GB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/1.431, allocations: 8.625 kB / 0.5268 GB, free: 1.098 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.431, allocations: 130.6 kB / 0.527 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/1.431, allocations: 23.97 kB / 0.527 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/1.432, allocations: 1.492 MB / 0.5284 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004211/1.433, allocations: 0.5191 MB / 0.529 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/1.433, allocations: 0 / 0.529 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/1.433, allocations: 3.984 kB / 0.529 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/1.434, allocations: 1.411 MB / 0.5303 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.434, allocations: 0 / 0.5303 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/1.434, allocations: 94.06 kB / 0.5304 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003458/1.435, allocations: 376.9 kB / 0.5308 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/1.435, allocations: 12 kB / 0.5308 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005649/1.435, allocations: 0.8034 MB / 0.5316 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.435, allocations: 4 kB / 0.5316 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/1.436, allocations: 0.7012 MB / 0.5323 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/1.436, allocations: 87.3 kB / 0.5324 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/1.436, allocations: 19.89 kB / 0.5324 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/1.436, allocations: 16.52 kB / 0.5324 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/1.436, allocations: 56.55 kB / 0.5324 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/1.436, allocations: 12 kB / 0.5325 GB, free: 11.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.734e-05/1.436, allocations: 106.8 kB / 0.5326 GB, free: 11.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/1.436, allocations: 1.531 kB / 0.5326 GB, free: 11.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003078/1.439, allocations: 0.9941 MB / 0.5335 GB, free: 10.61 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.003718/1.443, allocations: 1.375 MB / 0.5349 GB, free: 9.375 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000809/1.444, allocations: 0.6572 MB / 0.5355 GB, free: 8.699 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.444, allocations: 4 kB / 0.5355 GB, free: 8.695 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003419/1.444, allocations: 293.7 kB / 0.5358 GB, free: 8.438 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008943/1.445, allocations: 373.6 kB / 0.5362 GB, free: 8.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/1.447, allocations: 1.27 MB / 0.5374 GB, free: 6.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/1.447, allocations: 180.6 kB / 0.5376 GB, free: 6.625 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001802/1.447, allocations: 52.02 kB / 0.5376 GB, free: 6.574 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/1.448, allocations: 241.1 kB / 0.5378 GB, free: 6.336 MB / 458.7 MB Notification: Performance of SimCode: time 8.71e-07/1.448, allocations: 0 / 0.5378 GB, free: 6.336 MB / 458.7 MB Notification: Performance of Templates: time 0.05419/1.502, allocations: 49.37 MB / 0.5861 GB, free: 5.469 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.418600442819297]