Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.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.5259/0.5259, allocations: 111.6 MB / 131.5 MB, free: 4.902 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.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.61e-07/9.61e-07, allocations: 0 / 176.7 MB, free: 8.832 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.496e-06/9.457e-06, allocations: 2.312 kB / 176.7 MB, free: 8.828 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.TestDynamicCheckValve): time 1.04/1.04, allocations: 263.1 MB / 439.8 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02808/1.069, allocations: 33.31 MB / 473.1 MB, free: 13.33 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/1.069, allocations: 4 kB / 473.1 MB, free: 13.33 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.0003547/1.069, allocations: 131.2 kB / 473.2 MB, free: 13.2 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/1.069, allocations: 158.8 kB / 473.4 MB, free: 13.04 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01386/1.083, allocations: 8.751 MB / 482.1 MB, free: 4.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003618/1.083, allocations: 474.4 kB / 482.6 MB, free: 3.781 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/1.084, allocations: 134.8 kB / 482.7 MB, free: 3.652 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002744/1.084, allocations: 287.2 kB / 483 MB, free: 3.371 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/1.084, allocations: 119.6 kB / 483.1 MB, free: 3.254 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/1.084, allocations: 28 kB / 483.2 MB, free: 3.227 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.181/1.265, allocations: 18.07 MB / 0.4895 GB, free: 7.496 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.91e-05/1.265, allocations: 70.98 kB / 0.4896 GB, free: 7.496 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/1.265, allocations: 115.2 kB / 0.4897 GB, free: 7.496 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/1.276, allocations: 10.8 MB / 0.5002 GB, free: 3.195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.276, allocations: 0 / 0.5002 GB, free: 3.195 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.152e-06/1.276, allocations: 0.625 kB / 0.5002 GB, free: 3.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/1.276, allocations: 0 / 0.5002 GB, free: 3.195 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.002199/1.278, allocations: 1.484 MB / 0.5017 GB, free: 2.195 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/1.278, allocations: 14.92 kB / 0.5017 GB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/1.278, allocations: 49.08 kB / 0.5017 GB, free: 2.172 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/1.278, allocations: 186.5 kB / 0.5019 GB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/1.278, allocations: 72.41 kB / 0.502 GB, free: 1.941 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/1.278, allocations: 31.66 kB / 0.502 GB, free: 1.934 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/1.279, allocations: 270.8 kB / 0.5023 GB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/1.279, allocations: 0 / 0.5023 GB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/1.279, allocations: 6.75 kB / 0.5023 GB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/1.279, allocations: 18.8 kB / 0.5023 GB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.785e-05/1.279, allocations: 97.67 kB / 0.5024 GB, free: 1.703 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.007151/1.286, allocations: 5.101 MB / 0.5074 GB, free: 14.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/1.286, allocations: 152.1 kB / 0.5075 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.455e-05/1.286, allocations: 52.11 kB / 0.5076 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07383/1.36, allocations: 43.18 MB / 0.5497 GB, free: 3.617 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/1.36, allocations: 159.2 kB / 0.5499 GB, free: 3.457 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 1.984e-06/1.36, allocations: 0 / 0.5499 GB, free: 3.457 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.0005089/1.361, allocations: 273 kB / 0.5501 GB, free: 3.188 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/1.361, allocations: 81.11 kB / 0.5502 GB, free: 3.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/1.361, allocations: 217.5 kB / 0.5504 GB, free: 2.895 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/1.361, allocations: 29.7 kB / 0.5504 GB, free: 2.859 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/1.361, allocations: 154.9 kB / 0.5506 GB, free: 2.711 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/1.361, allocations: 170.7 kB / 0.5508 GB, free: 2.559 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/1.361, allocations: 67.98 kB / 0.5508 GB, free: 2.496 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/1.361, allocations: 344.9 kB / 0.5512 GB, free: 2.168 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.221e-05/1.361, allocations: 43.55 kB / 0.5512 GB, free: 2.125 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/1.361, allocations: 82.14 kB / 0.5513 GB, free: 2.031 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/1.361, allocations: 165.6 kB / 0.5514 GB, free: 1.871 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.361, allocations: 0 / 0.5514 GB, free: 1.871 MB / 474.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003039/1.362, allocations: 249 kB / 0.5517 GB, free: 1.633 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.362, allocations: 4.781 kB / 0.5517 GB, free: 1.629 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.362, allocations: 4 kB / 0.5517 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/1.362, allocations: 131.2 kB / 0.5518 GB, free: 1.496 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.914e-05/1.362, allocations: 31.44 kB / 0.5518 GB, free: 1.469 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/1.363, allocations: 2.016 MB / 0.5538 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/1.364, allocations: 31.73 kB / 0.5538 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/1.364, allocations: 8 kB / 0.5538 GB, free: 15.33 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 8.569e-05/1.364, allocations: 132.2 kB / 0.554 GB, free: 15.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/1.364, allocations: 15.98 kB / 0.554 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/1.364, allocations: 376.5 kB / 0.5543 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000156/1.364, allocations: 199.4 kB / 0.5545 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/1.364, allocations: 0.625 kB / 0.5545 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/1.364, allocations: 3.562 kB / 0.5545 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/1.365, allocations: 0.6177 MB / 0.5551 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/1.365, allocations: 0 / 0.5551 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/1.365, allocations: 68.22 kB / 0.5552 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001481/1.365, allocations: 69.75 kB / 0.5553 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/1.365, allocations: 7.984 kB / 0.5553 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005256/1.366, allocations: 0.5708 MB / 0.5558 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.366, allocations: 0 / 0.5558 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/1.366, allocations: 443 kB / 0.5563 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/1.366, allocations: 47.62 kB / 0.5563 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/1.366, allocations: 7.938 kB / 0.5563 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/1.366, allocations: 11.98 kB / 0.5563 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/1.366, allocations: 39.81 kB / 0.5564 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/1.366, allocations: 8 kB / 0.5564 GB, free: 12.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.918e-05/1.366, allocations: 84.19 kB / 0.5564 GB, free: 12.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/1.366, allocations: 4 kB / 0.5564 GB, free: 12.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002212/1.368, allocations: 1.235 MB / 0.5577 GB, free: 11.38 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.0034/1.372, allocations: 2.038 MB / 0.5596 GB, free: 9.574 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004485/1.372, allocations: 342.8 kB / 0.56 GB, free: 9.227 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/1.372, allocations: 0 / 0.56 GB, free: 9.227 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001616/1.372, allocations: 124.8 kB / 0.5601 GB, free: 9.109 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/1.373, allocations: 128.3 kB / 0.5602 GB, free: 8.992 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/1.374, allocations: 0.753 MB / 0.561 GB, free: 8.234 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.667e-05/1.374, allocations: 109.8 kB / 0.5611 GB, free: 8.105 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.769e-05/1.374, allocations: 30.12 kB / 0.5611 GB, free: 8.074 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/1.374, allocations: 125.3 kB / 0.5612 GB, free: 7.949 MB / 490.7 MB Notification: Performance of SimCode: time 9.01e-07/1.374, allocations: 0 / 0.5612 GB, free: 7.949 MB / 490.7 MB Notification: Performance of Templates: time 0.05156/1.426, allocations: 50.84 MB / 0.6108 GB, free: 5.422 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.155176238156855]