Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.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.5156/0.5156, allocations: 111.6 MB / 131.5 MB, free: 4.91 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.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 176.6 MB, free: 8.926 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.939e-05, allocations: 5.047 kB / 176.6 MB, free: 8.922 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.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve): time 1.177/1.177, allocations: 263 MB / 439.6 MB, free: 14.85 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03237/1.21, allocations: 33.31 MB / 472.9 MB, free: 13.41 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/1.21, allocations: 0 / 472.9 MB, free: 13.41 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:19:3-20: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/PressureLosses/DynamicCheckValve.mo:36:3-37:80:writable] Warning: Connector C1 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/PressureLosses/DynamicCheckValve.mo:38:3-39:78:writable] Warning: Connector C2 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.0005481/1.211, allocations: 127.2 kB / 473.1 MB, free: 13.29 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/1.211, allocations: 158.8 kB / 473.2 MB, free: 13.13 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01771/1.229, allocations: 8.759 MB / 482 MB, free: 4.332 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000494/1.229, allocations: 470.5 kB / 482.4 MB, free: 3.867 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/1.23, allocations: 138.8 kB / 482.6 MB, free: 3.734 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/1.23, allocations: 291.1 kB / 482.9 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/1.23, allocations: 123.6 kB / 483 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/1.23, allocations: 24 kB / 483 MB, free: 3.305 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh1satp' 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/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: 'dh2satp' 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/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du1satp_der' 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/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: 'du2satp_der' 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.2626/1.493, allocations: 18.07 MB / 0.4893 GB, free: 7.438 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/1.493, allocations: 66.3 kB / 0.4894 GB, free: 7.438 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/1.493, allocations: 117.3 kB / 0.4895 GB, free: 7.438 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01532/1.508, allocations: 10.8 MB / 0.5001 GB, free: 3.145 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.508, allocations: 0 / 0.5001 GB, free: 3.145 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/1.508, allocations: 1.031 kB / 0.5001 GB, free: 3.145 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/1.508, allocations: 0 / 0.5001 GB, free: 3.145 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.003199/1.511, allocations: 1.476 MB / 0.5015 GB, free: 2.145 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/1.511, allocations: 16.33 kB / 0.5015 GB, free: 2.141 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/1.512, allocations: 51.52 kB / 0.5016 GB, free: 2.121 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/1.512, allocations: 195.4 kB / 0.5017 GB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/1.512, allocations: 68.09 kB / 0.5018 GB, free: 1.883 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/1.512, allocations: 27.72 kB / 0.5018 GB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/1.512, allocations: 267.5 kB / 0.5021 GB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.512, allocations: 0 / 0.5021 GB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/1.512, allocations: 17.98 kB / 0.5021 GB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/1.512, allocations: 14.77 kB / 0.5021 GB, free: 1.672 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/1.512, allocations: 98.92 kB / 0.5022 GB, free: 1.648 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.007551/1.52, allocations: 5.096 MB / 0.5072 GB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/1.52, allocations: 148 kB / 0.5073 GB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.576e-05/1.52, allocations: 49.22 kB / 0.5074 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07471/1.595, allocations: 43.19 MB / 0.5496 GB, free: 3.652 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/1.595, allocations: 165.1 kB / 0.5497 GB, free: 3.492 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 1.963e-06/1.595, allocations: 0 / 0.5497 GB, free: 3.492 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.0005751/1.596, allocations: 267.4 kB / 0.55 GB, free: 3.223 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/1.596, allocations: 77.11 kB / 0.55 GB, free: 3.129 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/1.596, allocations: 216.4 kB / 0.5503 GB, free: 2.934 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/1.596, allocations: 29.7 kB / 0.5503 GB, free: 2.898 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/1.596, allocations: 165.3 kB / 0.5504 GB, free: 2.742 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/1.596, allocations: 157.9 kB / 0.5506 GB, free: 2.598 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/1.596, allocations: 71.31 kB / 0.5507 GB, free: 2.535 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.389e-05/1.596, allocations: 346.4 kB / 0.551 GB, free: 2.203 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.505e-05/1.596, allocations: 39.55 kB / 0.551 GB, free: 2.164 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.899e-05/1.596, allocations: 89.17 kB / 0.5511 GB, free: 2.066 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/1.596, allocations: 165.2 kB / 0.5513 GB, free: 1.906 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.596, allocations: 4 kB / 0.5513 GB, free: 1.902 MB / 474.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003274/1.597, allocations: 238.1 kB / 0.5515 GB, free: 1.672 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.597, allocations: 8 kB / 0.5515 GB, free: 1.664 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.597, allocations: 3.984 kB / 0.5515 GB, free: 1.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004218/1.597, allocations: 132.8 kB / 0.5516 GB, free: 1.527 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/1.597, allocations: 19.98 kB / 0.5517 GB, free: 1.508 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/1.599, allocations: 2.026 MB / 0.5536 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.703e-05/1.599, allocations: 31.73 kB / 0.5537 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/1.599, allocations: 8.547 kB / 0.5537 GB, free: 15.37 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (checkValve.libre,$whenCondition1,$whenCondition2,sourceP1.C.b,puitsP1.C.a,checkValve.C1.a,checkValve.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 9.796e-05/1.599, allocations: 131.2 kB / 0.5538 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/1.599, allocations: 23.98 kB / 0.5538 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/1.599, allocations: 372 kB / 0.5542 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001615/1.599, allocations: 198.6 kB / 0.5544 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/1.599, allocations: 0 / 0.5544 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.599, allocations: 0 / 0.5544 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006289/1.6, allocations: 0.6227 MB / 0.555 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.6, allocations: 4 kB / 0.555 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/1.6, allocations: 58.97 kB / 0.555 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/1.6, allocations: 70.62 kB / 0.5551 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/1.6, allocations: 8 kB / 0.5551 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002602/1.601, allocations: 0.5753 MB / 0.5557 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.601, allocations: 4.031 kB / 0.5557 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/1.601, allocations: 441.3 kB / 0.5561 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/1.601, allocations: 44.25 kB / 0.5561 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/1.601, allocations: 11.94 kB / 0.5561 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/1.601, allocations: 11.98 kB / 0.5562 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/1.601, allocations: 27.94 kB / 0.5562 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/1.601, allocations: 8 kB / 0.5562 GB, free: 12.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.604e-05/1.601, allocations: 88.8 kB / 0.5563 GB, free: 12.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/1.601, allocations: 3.938 kB / 0.5563 GB, free: 12.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002652/1.604, allocations: 1.235 MB / 0.5575 GB, free: 11.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (checkValve.theta,checkValve.omega) * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,checkValve.libre) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003526/1.608, allocations: 2.041 MB / 0.5595 GB, free: 9.609 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004623/1.608, allocations: 343 kB / 0.5598 GB, free: 9.266 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/1.608, allocations: 7.938 kB / 0.5598 GB, free: 9.258 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/1.608, allocations: 119 kB / 0.5599 GB, free: 9.145 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/1.609, allocations: 129.6 kB / 0.5601 GB, free: 9.023 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/1.61, allocations: 0.7457 MB / 0.5608 GB, free: 8.273 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.352e-05/1.61, allocations: 109.4 kB / 0.5609 GB, free: 8.148 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.824e-05/1.61, allocations: 32.67 kB / 0.5609 GB, free: 8.113 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/1.61, allocations: 129.3 kB / 0.561 GB, free: 7.984 MB / 490.7 MB Notification: Performance of SimCode: time 9.21e-07/1.61, allocations: 0 / 0.561 GB, free: 7.984 MB / 490.7 MB Notification: Performance of Templates: time 0.0492/1.659, allocations: 50.83 MB / 0.6107 GB, free: 5.465 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.739666041918099]