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.4967/0.4967, allocations: 111.6 MB / 131.2 MB, free: 5.066 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.924e-06/1.924e-06, allocations: 0 / 176.2 MB, free: 9.188 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.626e-05, allocations: 9.703 kB / 176.2 MB, free: 9.18 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.045/1.045, allocations: 258.3 MB / 434.5 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02163/1.067, allocations: 23.17 MB / 457.7 MB, free: 7.488 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/1.067, allocations: 8 kB / 457.7 MB, free: 7.48 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.0005056/1.068, allocations: 230.6 kB / 457.9 MB, free: 7.254 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/1.068, allocations: 294 kB / 458.2 MB, free: 6.965 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.01323/1.081, allocations: 7.684 MB / 465.9 MB, free: 15.26 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006938/1.082, allocations: 0.8407 MB / 466.7 MB, free: 14.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003769/1.082, allocations: 201.4 kB / 466.9 MB, free: 14.21 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/1.083, allocations: 494.7 kB / 467.4 MB, free: 13.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/1.083, allocations: 187.4 kB / 467.6 MB, free: 13.54 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/1.083, allocations: 40 kB / 467.6 MB, free: 13.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1896/1.273, allocations: 16.07 MB / 483.7 MB, free: 15 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/1.273, allocations: 103.9 kB / 483.8 MB, free: 15 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/1.273, allocations: 191.7 kB / 484 MB, free: 15 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/1.285, allocations: 9.247 MB / 493.2 MB, free: 14.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.285, allocations: 0.625 kB / 493.2 MB, free: 14.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/1.285, allocations: 0 / 493.2 MB, free: 14.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.844e-06/1.285, allocations: 1.844 kB / 493.2 MB, free: 14.92 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.003715/1.289, allocations: 1.505 MB / 494.7 MB, free: 14.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.289, allocations: 14.48 kB / 494.7 MB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/1.289, allocations: 97.78 kB / 494.8 MB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/1.289, allocations: 252.5 kB / 495.1 MB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.994e-05/1.29, allocations: 113.5 kB / 495.2 MB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/1.29, allocations: 37.78 kB / 495.2 MB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/1.29, allocations: 0.4911 MB / 495.7 MB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.29, allocations: 1.219 kB / 495.7 MB, free: 13.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/1.29, allocations: 19.84 kB / 495.7 MB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/1.29, allocations: 35.81 kB / 495.8 MB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/1.29, allocations: 225.2 kB / 496 MB, free: 13.55 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.01783/1.308, allocations: 12.24 MB / 0.4963 GB, free: 9.801 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/1.308, allocations: 182.1 kB / 0.4965 GB, free: 9.727 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/1.309, allocations: 119.4 kB / 0.4966 GB, free: 9.688 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04259/1.351, allocations: 25.98 MB / 0.522 GB, free: 1.887 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/1.351, allocations: 36 kB / 0.522 GB, free: 1.844 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 1.784e-06/1.351, allocations: 4 kB / 0.522 GB, free: 1.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.002343/1.354, allocations: 1.029 MB / 0.523 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/1.354, allocations: 55.41 kB / 0.5231 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/1.354, allocations: 274.5 kB / 0.5233 GB, free: 464 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/1.354, allocations: 25.7 kB / 0.5234 GB, free: 432 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/1.354, allocations: 264.1 kB / 0.5236 GB, free: 164 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/1.354, allocations: 355 kB / 0.524 GB, free: 15.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/1.354, allocations: 123.3 kB / 0.5241 GB, free: 15.69 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/1.354, allocations: 0.5313 MB / 0.5246 GB, free: 15.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/1.354, allocations: 96.95 kB / 0.5247 GB, free: 15.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/1.355, allocations: 225.9 kB / 0.5249 GB, free: 14.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/1.355, allocations: 391.9 kB / 0.5253 GB, free: 14.37 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.355, allocations: 4 kB / 0.5253 GB, free: 14.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.000606/1.356, allocations: 0.5364 MB / 0.5258 GB, free: 13.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.356, allocations: 11.98 kB / 0.5258 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/1.356, allocations: 0 / 0.5258 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009641/1.357, allocations: 0.5987 MB / 0.5264 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.251e-05/1.357, allocations: 11.47 kB / 0.5264 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008389/1.357, allocations: 1.152 MB / 0.5275 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/1.358, allocations: 51.52 kB / 0.5276 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/1.358, allocations: 16 kB / 0.5276 GB, free: 11.98 MB / 458.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.0001156/1.358, allocations: 180 kB / 0.5278 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/1.358, allocations: 47.67 kB / 0.5278 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/1.359, allocations: 1.826 MB / 0.5296 GB, free: 9.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006404/1.36, allocations: 0.681 MB / 0.5303 GB, free: 9.148 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.36, allocations: 3.938 kB / 0.5303 GB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.36, allocations: 3.984 kB / 0.5303 GB, free: 9.141 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/1.362, allocations: 1.809 MB / 0.532 GB, free: 7.336 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.362, allocations: 1.734 kB / 0.532 GB, free: 7.336 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/1.362, allocations: 95.53 kB / 0.5321 GB, free: 7.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000373/1.362, allocations: 400.5 kB / 0.5325 GB, free: 6.855 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/1.362, allocations: 16 kB / 0.5325 GB, free: 6.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007001/1.363, allocations: 1.133 MB / 0.5336 GB, free: 5.676 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.363, allocations: 0 / 0.5336 GB, free: 5.676 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007574/1.364, allocations: 0.905 MB / 0.5345 GB, free: 4.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/1.364, allocations: 111.3 kB / 0.5346 GB, free: 4.641 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/1.364, allocations: 19.89 kB / 0.5346 GB, free: 4.621 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/1.364, allocations: 20.69 kB / 0.5347 GB, free: 4.602 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/1.364, allocations: 48.55 kB / 0.5347 GB, free: 4.555 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/1.364, allocations: 27.98 kB / 0.5347 GB, free: 4.527 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001592/1.364, allocations: 246.2 kB / 0.535 GB, free: 4.289 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.364, allocations: 0 / 0.535 GB, free: 4.289 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002086/1.366, allocations: 1.006 MB / 0.5359 GB, free: 3.281 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.002677/1.369, allocations: 1.281 MB / 0.5372 GB, free: 2.137 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008455/1.37, allocations: 0.7528 MB / 0.5379 GB, free: 1.363 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/1.37, allocations: 4.188 kB / 0.5379 GB, free: 1.359 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000443/1.37, allocations: 343.2 kB / 0.5383 GB, free: 1.035 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009865/1.371, allocations: 379.3 kB / 0.5386 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/1.373, allocations: 1.285 MB / 0.5399 GB, free: 15.38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/1.373, allocations: 188.2 kB / 0.5401 GB, free: 15.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001523/1.373, allocations: 48.39 kB / 0.5401 GB, free: 15.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/1.373, allocations: 44.5 kB / 0.5401 GB, free: 15.09 MB / 474.7 MB Notification: Performance of SimCode: time 4.51e-07/1.373, allocations: 0 / 0.5401 GB, free: 15.09 MB / 474.7 MB Notification: Performance of Templates: time 0.0392/1.412, allocations: 43.74 MB / 0.5829 GB, free: 3.852 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.154616544023156]