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.4846/0.4846, allocations: 111.6 MB / 131.2 MB, free: 4.59 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.643e-06/1.643e-06, allocations: 0 / 176.2 MB, free: 8.891 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.053e-05, allocations: 2.312 kB / 176.2 MB, free: 8.887 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.061/1.061, allocations: 257.3 MB / 433.5 MB, free: 148 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02892/1.09, allocations: 33.42 MB / 466.9 MB, free: 14.61 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/1.09, allocations: 4 kB / 466.9 MB, free: 14.6 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.000398/1.091, allocations: 127.2 kB / 467 MB, free: 14.48 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/1.091, allocations: 150.9 kB / 467.2 MB, free: 14.33 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.018/1.109, allocations: 9.962 MB / 477.1 MB, free: 4.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005001/1.11, allocations: 478.4 kB / 477.6 MB, free: 3.852 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/1.11, allocations: 140.8 kB / 477.7 MB, free: 3.711 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002921/1.11, allocations: 279.2 kB / 478 MB, free: 3.438 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/1.11, allocations: 123.6 kB / 478.1 MB, free: 3.316 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.285e-05/1.11, allocations: 28 kB / 478.1 MB, free: 3.289 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1887/1.299, allocations: 16.79 MB / 494.9 MB, free: 8.215 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/1.299, allocations: 75.17 kB / 495 MB, free: 8.215 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/1.299, allocations: 111.1 kB / 495.1 MB, free: 8.215 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.015/1.314, allocations: 10.8 MB / 0.4941 GB, free: 4.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/1.314, allocations: 3.344 kB / 0.4941 GB, free: 4.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.744e-06/1.314, allocations: 3.938 kB / 0.4941 GB, free: 4.266 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/1.314, allocations: 0.5938 kB / 0.4941 GB, free: 4.266 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.003085/1.317, allocations: 1.66 MB / 0.4957 GB, free: 3.078 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.317, allocations: 11.89 kB / 0.4957 GB, free: 3.074 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/1.318, allocations: 66.94 kB / 0.4958 GB, free: 3.043 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/1.318, allocations: 209 kB / 0.496 GB, free: 2.852 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.837e-05/1.318, allocations: 75.36 kB / 0.496 GB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/1.318, allocations: 28.66 kB / 0.4961 GB, free: 2.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/1.318, allocations: 297.1 kB / 0.4963 GB, free: 2.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/1.318, allocations: 4.281 kB / 0.4964 GB, free: 2.551 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/1.318, allocations: 8 kB / 0.4964 GB, free: 2.543 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/1.318, allocations: 18.05 kB / 0.4964 GB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/1.318, allocations: 128.4 kB / 0.4965 GB, free: 2.5 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.009076/1.327, allocations: 6.333 MB / 0.5027 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/1.328, allocations: 166.5 kB / 0.5028 GB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.73e-05/1.328, allocations: 71.47 kB / 0.5029 GB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08433/1.412, allocations: 48.63 MB / 0.5504 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/1.413, allocations: 182.9 kB / 0.5506 GB, free: 15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 1.443e-06/1.413, allocations: 0 / 0.5506 GB, free: 15 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.0009034/1.413, allocations: 347.4 kB / 0.5509 GB, free: 14.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/1.413, allocations: 81.11 kB / 0.551 GB, free: 14.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/1.414, allocations: 272.2 kB / 0.5512 GB, free: 14.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/1.414, allocations: 37.64 kB / 0.5513 GB, free: 14.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/1.414, allocations: 215.7 kB / 0.5515 GB, free: 14.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.491e-05/1.414, allocations: 166.9 kB / 0.5516 GB, free: 13.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/1.414, allocations: 75.58 kB / 0.5517 GB, free: 13.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/1.414, allocations: 0.5138 MB / 0.5522 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/1.414, allocations: 56.7 kB / 0.5523 GB, free: 13.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/1.414, allocations: 117.9 kB / 0.5524 GB, free: 13.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/1.414, allocations: 201.5 kB / 0.5526 GB, free: 12.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.414, allocations: 4 kB / 0.5526 GB, free: 12.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004412/1.415, allocations: 323.7 kB / 0.5529 GB, free: 12.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.415, allocations: 13.33 kB / 0.5529 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.415, allocations: 8.125 kB / 0.5529 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004845/1.415, allocations: 159.2 kB / 0.5531 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/1.415, allocations: 27.78 kB / 0.5531 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/1.417, allocations: 3.025 MB / 0.556 GB, free: 9.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/1.417, allocations: 35.77 kB / 0.5561 GB, free: 9.117 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/1.417, allocations: 8 kB / 0.5561 GB, free: 9.109 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.C2.b,checkValve.C1.a,puitsP1.C.a,sourceP1.C.b,checkValve.libre,$whenCondition1,$whenCondition2) * 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 0.000101/1.417, allocations: 172 kB / 0.5562 GB, free: 8.934 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/1.417, allocations: 44.41 kB / 0.5563 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/1.418, allocations: 482.7 kB / 0.5567 GB, free: 8.371 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002536/1.418, allocations: 253.8 kB / 0.557 GB, free: 8.113 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/1.418, allocations: 0 / 0.557 GB, free: 8.113 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/1.418, allocations: 3.984 kB / 0.557 GB, free: 8.109 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000761/1.419, allocations: 0.7928 MB / 0.5578 GB, free: 7.289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.419, allocations: 0.5 kB / 0.5578 GB, free: 7.289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/1.419, allocations: 55.44 kB / 0.5578 GB, free: 7.238 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004035/1.419, allocations: 84.94 kB / 0.5579 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/1.419, allocations: 16.61 kB / 0.5579 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003159/1.42, allocations: 0.8508 MB / 0.5587 GB, free: 6.254 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.42, allocations: 0 / 0.5587 GB, free: 6.254 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/1.42, allocations: 0.5318 MB / 0.5593 GB, free: 5.703 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/1.42, allocations: 55.66 kB / 0.5593 GB, free: 5.648 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/1.42, allocations: 8.5 kB / 0.5593 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.355e-05/1.42, allocations: 20.05 kB / 0.5593 GB, free: 5.621 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.898e-05/1.42, allocations: 35.94 kB / 0.5594 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/1.421, allocations: 4 kB / 0.5594 GB, free: 5.582 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000121/1.421, allocations: 221.1 kB / 0.5596 GB, free: 5.363 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/1.421, allocations: 0 / 0.5596 GB, free: 5.363 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00244/1.423, allocations: 1.235 MB / 0.5608 GB, free: 4.125 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.003616/1.427, allocations: 1.918 MB / 0.5627 GB, free: 2.445 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006214/1.427, allocations: 438.2 kB / 0.5631 GB, free: 2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.427, allocations: 0 / 0.5631 GB, free: 2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/1.428, allocations: 151.7 kB / 0.5632 GB, free: 1.848 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/1.428, allocations: 125 kB / 0.5634 GB, free: 1.734 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/1.429, allocations: 0.7645 MB / 0.5641 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.216e-05/1.429, allocations: 113.8 kB / 0.5642 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.856e-05/1.429, allocations: 29.02 kB / 0.5642 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/1.43, allocations: 32.48 kB / 0.5643 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of SimCode: time 8.92e-07/1.43, allocations: 0 / 0.5643 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of Templates: time 0.04305/1.473, allocations: 44.81 MB / 0.608 GB, free: 4.297 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: 9.00683477986604]