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.4954/0.4954, allocations: 111.6 MB / 131.7 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.903e-06/1.903e-06, allocations: 0 / 176.5 MB, free: 9.41 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.811e-05, allocations: 2.312 kB / 176.5 MB, free: 9.406 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.011/1.011, allocations: 258.2 MB / 434.7 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01938/1.03, allocations: 23.11 MB / 457.8 MB, free: 7.938 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/1.03, allocations: 4 kB / 457.8 MB, free: 7.934 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.0003782/1.031, allocations: 218.7 kB / 458.1 MB, free: 7.719 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/1.031, allocations: 294 kB / 458.3 MB, free: 7.43 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.01023/1.041, allocations: 7.68 MB / 466 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005744/1.042, allocations: 0.8446 MB / 466.9 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/1.042, allocations: 201.4 kB / 467.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003945/1.042, allocations: 0.4909 MB / 467.6 MB, free: 14.18 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/1.042, allocations: 175.5 kB / 467.7 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/1.043, allocations: 40 kB / 467.8 MB, free: 13.97 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1821/1.225, allocations: 16.07 MB / 483.8 MB, free: 14.93 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/1.225, allocations: 101.9 kB / 483.9 MB, free: 14.93 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003121/1.225, allocations: 192.8 kB / 484.1 MB, free: 14.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/1.237, allocations: 9.247 MB / 493.4 MB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.237, allocations: 0 / 493.4 MB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/1.237, allocations: 2.094 kB / 493.4 MB, free: 14.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/1.237, allocations: 0 / 493.4 MB, free: 14.84 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.00326/1.24, allocations: 1.5 MB / 494.9 MB, free: 13.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/1.24, allocations: 13.95 kB / 494.9 MB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/1.241, allocations: 98.31 kB / 495 MB, free: 13.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/1.241, allocations: 255.8 kB / 495.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.08e-05/1.241, allocations: 117 kB / 495.4 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/1.241, allocations: 36.28 kB / 495.4 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005156/1.241, allocations: 496 kB / 495.9 MB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.241, allocations: 6.062 kB / 495.9 MB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/1.241, allocations: 22.91 kB / 495.9 MB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/1.242, allocations: 30.64 kB / 495.9 MB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/1.242, allocations: 229.5 kB / 496.2 MB, free: 13.47 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.02389/1.266, allocations: 12.24 MB / 0.4965 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/1.266, allocations: 173.1 kB / 0.4966 GB, free: 9.938 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/1.266, allocations: 118.1 kB / 0.4968 GB, free: 9.898 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04254/1.309, allocations: 25.99 MB / 0.5221 GB, free: 2.352 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/1.309, allocations: 37.39 kB / 0.5222 GB, free: 2.305 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 2.074e-06/1.309, allocations: 4 kB / 0.5222 GB, free: 2.301 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.002227/1.311, allocations: 1.029 MB / 0.5232 GB, free: 1.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/1.311, allocations: 51.41 kB / 0.5232 GB, free: 1.207 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/1.311, allocations: 270.6 kB / 0.5235 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/1.311, allocations: 29.7 kB / 0.5235 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/1.311, allocations: 259.8 kB / 0.5238 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/1.311, allocations: 359 kB / 0.5241 GB, free: 288 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/1.311, allocations: 119.3 kB / 0.5242 GB, free: 160 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/1.312, allocations: 0.5391 MB / 0.5247 GB, free: 15.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/1.312, allocations: 84.97 kB / 0.5248 GB, free: 15.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/1.312, allocations: 234.8 kB / 0.5251 GB, free: 15.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/1.312, allocations: 390.2 kB / 0.5254 GB, free: 14.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.312, allocations: 0.5625 kB / 0.5254 GB, free: 14.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0006178/1.313, allocations: 0.5421 MB / 0.526 GB, free: 14.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.313, allocations: 4 kB / 0.526 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.313, allocations: 5.75 kB / 0.526 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009745/1.314, allocations: 0.6013 MB / 0.5266 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.177e-05/1.314, allocations: 8 kB / 0.5266 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008539/1.315, allocations: 1.154 MB / 0.5277 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/1.315, allocations: 55.45 kB / 0.5277 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/1.315, allocations: 12 kB / 0.5278 GB, free: 12.44 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.000122/1.315, allocations: 176.9 kB / 0.5279 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/1.315, allocations: 43.67 kB / 0.528 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/1.317, allocations: 1.829 MB / 0.5297 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008731/1.318, allocations: 0.6774 MB / 0.5304 GB, free: 9.617 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.318, allocations: 3.938 kB / 0.5304 GB, free: 9.613 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/1.318, allocations: 11.98 kB / 0.5304 GB, free: 9.602 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/1.319, allocations: 1.805 MB / 0.5322 GB, free: 7.805 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.319, allocations: 0.8125 kB / 0.5322 GB, free: 7.805 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/1.319, allocations: 99.12 kB / 0.5323 GB, free: 7.715 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000378/1.32, allocations: 402 kB / 0.5327 GB, free: 7.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/1.32, allocations: 20.05 kB / 0.5327 GB, free: 7.301 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007238/1.321, allocations: 1.129 MB / 0.5338 GB, free: 6.141 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.321, allocations: 0 / 0.5338 GB, free: 6.141 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007755/1.321, allocations: 0.9017 MB / 0.5347 GB, free: 5.219 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/1.321, allocations: 111.2 kB / 0.5348 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/1.321, allocations: 23.89 kB / 0.5348 GB, free: 5.086 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/1.322, allocations: 19.94 kB / 0.5348 GB, free: 5.066 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/1.322, allocations: 52.55 kB / 0.5349 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/1.322, allocations: 20 kB / 0.5349 GB, free: 4.996 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001523/1.322, allocations: 247 kB / 0.5351 GB, free: 4.754 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/1.322, allocations: 0 / 0.5351 GB, free: 4.754 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002207/1.324, allocations: 1.006 MB / 0.5361 GB, free: 3.746 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.002503/1.327, allocations: 1.281 MB / 0.5374 GB, free: 2.602 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00086/1.327, allocations: 0.7572 MB / 0.5381 GB, free: 1.824 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.327, allocations: 0 / 0.5381 GB, free: 1.824 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004382/1.328, allocations: 349.3 kB / 0.5384 GB, free: 1.492 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009999/1.329, allocations: 385.8 kB / 0.5388 GB, free: 1.148 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/1.33, allocations: 1.278 MB / 0.54 GB, free: 15.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/1.331, allocations: 180.4 kB / 0.5402 GB, free: 15.65 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001489/1.331, allocations: 55.44 kB / 0.5403 GB, free: 15.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/1.331, allocations: 40.5 kB / 0.5403 GB, free: 15.55 MB / 474.7 MB Notification: Performance of SimCode: time 9.51e-07/1.331, allocations: 0 / 0.5403 GB, free: 15.55 MB / 474.7 MB Notification: Performance of Templates: time 0.03945/1.37, allocations: 43.73 MB / 0.583 GB, free: 4.316 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: 4.9183206469751894]