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.4973/0.4973, allocations: 111.6 MB / 132.2 MB, free: 4.949 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 1.272e-06/1.272e-06, allocations: 3.938 kB / 177.3 MB, free: 8.969 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141e-05/1.268e-05, allocations: 2.312 kB / 177.3 MB, free: 8.965 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.024/1.024, allocations: 257.3 MB / 434.6 MB, free: 0 / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02664/1.05, allocations: 32.8 MB / 467.4 MB, free: 15.07 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/1.051, allocations: 0 / 467.4 MB, free: 15.07 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.0003723/1.051, allocations: 123.2 kB / 467.5 MB, free: 14.95 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/1.051, allocations: 154.8 kB / 467.7 MB, free: 14.8 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 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh1satp 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/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh2satp 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/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du1satp_der 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/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du2satp_der 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.01654/1.068, allocations: 9.966 MB / 477.6 MB, free: 4.785 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004253/1.068, allocations: 474.4 kB / 478.1 MB, free: 4.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/1.068, allocations: 136.8 kB / 478.2 MB, free: 4.184 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000272/1.069, allocations: 287.2 kB / 478.5 MB, free: 3.902 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/1.069, allocations: 123.6 kB / 478.6 MB, free: 3.781 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/1.069, allocations: 24 kB / 478.7 MB, free: 3.758 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1813/1.25, allocations: 16.79 MB / 495.5 MB, free: 8.684 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.537e-05/1.25, allocations: 69.64 kB / 495.5 MB, free: 8.684 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/1.25, allocations: 111.2 kB / 495.6 MB, free: 8.684 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009622/1.26, allocations: 10.8 MB / 0.4946 GB, free: 5.039 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.26, allocations: 0 / 0.4946 GB, free: 5.039 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/1.26, allocations: 0.9062 kB / 0.4946 GB, free: 5.039 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/1.26, allocations: 3.594 kB / 0.4946 GB, free: 5.039 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.002042/1.262, allocations: 1.647 MB / 0.4962 GB, free: 3.879 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/1.262, allocations: 14.55 kB / 0.4962 GB, free: 3.875 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/1.262, allocations: 68.16 kB / 0.4963 GB, free: 3.844 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/1.262, allocations: 212.8 kB / 0.4965 GB, free: 3.652 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/1.262, allocations: 74.88 kB / 0.4965 GB, free: 3.582 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/1.262, allocations: 26.59 kB / 0.4966 GB, free: 3.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/1.263, allocations: 278.4 kB / 0.4968 GB, free: 3.375 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/1.263, allocations: 0.6875 kB / 0.4968 GB, free: 3.375 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/1.263, allocations: 13.97 kB / 0.4968 GB, free: 3.367 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/1.263, allocations: 16.42 kB / 0.4969 GB, free: 3.359 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/1.263, allocations: 105.3 kB / 0.497 GB, free: 3.332 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.007579/1.27, allocations: 5.574 MB / 0.5024 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/1.271, allocations: 123.5 kB / 0.5025 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.087e-05/1.271, allocations: 63.53 kB / 0.5026 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0726/1.343, allocations: 42.03 MB / 0.5436 GB, free: 7.031 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/1.343, allocations: 172.9 kB / 0.5438 GB, free: 6.859 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 1.723e-06/1.343, allocations: 4 kB / 0.5438 GB, free: 6.855 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.0005293/1.344, allocations: 306.9 kB / 0.5441 GB, free: 6.555 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/1.344, allocations: 81.11 kB / 0.5442 GB, free: 6.457 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/1.344, allocations: 266.9 kB / 0.5444 GB, free: 6.203 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/1.344, allocations: 33.7 kB / 0.5444 GB, free: 6.164 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.038e-05/1.344, allocations: 218.7 kB / 0.5447 GB, free: 5.949 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.294e-05/1.344, allocations: 165.8 kB / 0.5448 GB, free: 5.797 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/1.344, allocations: 80.31 kB / 0.5449 GB, free: 5.723 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/1.345, allocations: 0.5212 MB / 0.5454 GB, free: 5.207 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.353e-05/1.345, allocations: 44.7 kB / 0.5454 GB, free: 5.164 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/1.345, allocations: 114.9 kB / 0.5455 GB, free: 5.039 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/1.345, allocations: 175.8 kB / 0.5457 GB, free: 4.859 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.345, allocations: 0 / 0.5457 GB, free: 4.859 MB / 474.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003589/1.345, allocations: 306.2 kB / 0.546 GB, free: 4.566 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/1.345, allocations: 11.98 kB / 0.546 GB, free: 4.555 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.345, allocations: 4.875 kB / 0.546 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003958/1.346, allocations: 131.4 kB / 0.5461 GB, free: 4.414 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.405e-05/1.346, allocations: 27.17 kB / 0.5462 GB, free: 4.391 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/1.347, allocations: 2.95 MB / 0.5491 GB, free: 1.324 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.744e-05/1.347, allocations: 39.69 kB / 0.5491 GB, free: 1.285 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/1.347, allocations: 8 kB / 0.5491 GB, free: 1.277 MB / 474.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.112e-05/1.347, allocations: 168.4 kB / 0.5493 GB, free: 1.105 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/1.347, allocations: 35.81 kB / 0.5493 GB, free: 1.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/1.348, allocations: 461.5 kB / 0.5497 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001833/1.348, allocations: 235.5 kB / 0.55 GB, free: 360 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/1.348, allocations: 4 kB / 0.55 GB, free: 356 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.348, allocations: 0 / 0.55 GB, free: 356 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006358/1.349, allocations: 0.7149 MB / 0.5507 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.349, allocations: 0 / 0.5507 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/1.349, allocations: 55.25 kB / 0.5507 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001492/1.349, allocations: 79.7 kB / 0.5508 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/1.349, allocations: 8 kB / 0.5508 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002896/1.349, allocations: 0.8449 MB / 0.5516 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.349, allocations: 4.547 kB / 0.5516 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/1.35, allocations: 0.4901 MB / 0.5521 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/1.35, allocations: 59.14 kB / 0.5522 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/1.35, allocations: 11.95 kB / 0.5522 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/1.35, allocations: 13.48 kB / 0.5522 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/1.35, allocations: 35.31 kB / 0.5522 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/1.35, allocations: 4 kB / 0.5522 GB, free: 14.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.006e-05/1.35, allocations: 211.2 kB / 0.5524 GB, free: 13.82 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/1.35, allocations: 4 kB / 0.5524 GB, free: 13.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002372/1.352, allocations: 1.231 MB / 0.5536 GB, free: 12.58 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (checkValve.omega,checkValve.theta) * 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.003128/1.355, allocations: 1.994 MB / 0.5556 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004445/1.356, allocations: 416.1 kB / 0.556 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.356, allocations: 0 / 0.556 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/1.356, allocations: 139.8 kB / 0.5561 GB, free: 10.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/1.356, allocations: 124.2 kB / 0.5562 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/1.357, allocations: 0.7441 MB / 0.557 GB, free: 9.398 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.416e-05/1.358, allocations: 121.7 kB / 0.5571 GB, free: 9.258 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.1e-05/1.358, allocations: 28.64 kB / 0.5571 GB, free: 9.234 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/1.358, allocations: 154.1 kB / 0.5572 GB, free: 9.082 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/1.358, allocations: 0 / 0.5572 GB, free: 9.082 MB / 490.7 MB Notification: Performance of Templates: time 0.04441/1.402, allocations: 51.69 MB / 0.6077 GB, free: 5.727 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.724584122654051]