Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.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.4893/0.4893, allocations: 111.6 MB / 131.5 MB, free: 4.906 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.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") translateModel(ThermoSysPro.Examples.SimpleExamples.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 176.7 MB, free: 8.863 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.404e-05, allocations: 5.703 kB / 176.7 MB, free: 8.859 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.TestControlValve): time 1.086/1.086, allocations: 262.9 MB / 439.6 MB, free: 14.18 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.02795/1.114, allocations: 33.22 MB / 472.8 MB, free: 12.83 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/1.114, allocations: 4 kB / 472.8 MB, free: 12.83 MB / 426.8 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/ControlValve.mo:24:3-25:81: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/ControlValve.mo:26:3-27:79: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.0003613/1.115, allocations: 167.1 kB / 473 MB, free: 12.66 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/1.115, allocations: 167 kB / 473.2 MB, free: 12.5 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01359/1.128, allocations: 8.739 MB / 481.9 MB, free: 3.715 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.000341/1.129, allocations: 406.1 kB / 482.3 MB, free: 3.316 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/1.129, allocations: 118.8 kB / 482.4 MB, free: 3.199 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/1.129, allocations: 251.2 kB / 482.7 MB, free: 2.953 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/1.129, allocations: 127.7 kB / 482.8 MB, free: 2.828 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/1.129, allocations: 24 kB / 482.8 MB, free: 2.805 MB / 426.8 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.1874/1.317, allocations: 18.13 MB / 0.4892 GB, free: 7.246 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/1.317, allocations: 73.89 kB / 0.4893 GB, free: 7.246 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/1.317, allocations: 100 kB / 0.4894 GB, free: 7.246 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/1.328, allocations: 10.82 MB / 0.4999 GB, free: 2.535 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.328, allocations: 0.5312 kB / 0.4999 GB, free: 2.535 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.202e-06/1.328, allocations: 0.5625 kB / 0.4999 GB, free: 2.535 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.021e-06/1.328, allocations: 4.781 kB / 0.4999 GB, free: 2.535 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.002039/1.33, allocations: 1.458 MB / 0.5014 GB, free: 1.539 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/1.33, allocations: 17.27 kB / 0.5014 GB, free: 1.535 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/1.33, allocations: 42.48 kB / 0.5014 GB, free: 1.516 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/1.33, allocations: 197.7 kB / 0.5016 GB, free: 1.348 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/1.33, allocations: 18.12 kB / 0.5016 GB, free: 1.34 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/1.33, allocations: 18.03 kB / 0.5017 GB, free: 1.336 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/1.33, allocations: 242.6 kB / 0.5019 GB, free: 1.164 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.33, allocations: 4.422 kB / 0.5019 GB, free: 1.164 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/1.33, allocations: 6.156 kB / 0.5019 GB, free: 1.16 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/1.33, allocations: 11.78 kB / 0.5019 GB, free: 1.156 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.156e-05/1.33, allocations: 85.7 kB / 0.502 GB, free: 1.141 MB / 426.8 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.01378/1.344, allocations: 9.207 MB / 0.511 GB, free: 10.02 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/1.344, allocations: 99.36 kB / 0.5111 GB, free: 9.91 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/1.344, allocations: 24.86 kB / 0.5111 GB, free: 9.883 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06564/1.41, allocations: 39.07 MB / 0.5492 GB, free: 2.934 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/1.41, allocations: 34.55 kB / 0.5493 GB, free: 2.891 MB / 474.8 MB Notification: Performance of pre-optimization done (n=34): time 1.873e-06/1.41, allocations: 4 kB / 0.5493 GB, free: 2.887 MB / 474.8 MB Notification: Performance of matching and sorting (n=34): time 0.0004996/1.411, allocations: 209.6 kB / 0.5495 GB, free: 2.68 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/1.411, allocations: 55.41 kB / 0.5495 GB, free: 2.613 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/1.411, allocations: 250.9 kB / 0.5498 GB, free: 2.387 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/1.411, allocations: 29.7 kB / 0.5498 GB, free: 2.352 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/1.411, allocations: 171.7 kB / 0.55 GB, free: 2.191 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/1.411, allocations: 120.2 kB / 0.5501 GB, free: 2.082 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/1.411, allocations: 46.88 kB / 0.5501 GB, free: 2.039 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.744e-05/1.411, allocations: 347.6 kB / 0.5505 GB, free: 1.707 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/1.411, allocations: 31.52 kB / 0.5505 GB, free: 1.676 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-05/1.411, allocations: 68.94 kB / 0.5506 GB, free: 1.602 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/1.411, allocations: 128.1 kB / 0.5507 GB, free: 1.473 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.411, allocations: 4 kB / 0.5507 GB, free: 1.469 MB / 474.8 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000177/1.411, allocations: 183.8 kB / 0.5509 GB, free: 1.289 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/1.411, allocations: 4 kB / 0.5509 GB, free: 1.285 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.411, allocations: 4 kB / 0.5509 GB, free: 1.281 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003185/1.412, allocations: 82.47 kB / 0.5509 GB, free: 1.199 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.062e-05/1.412, allocations: 12 kB / 0.551 GB, free: 1.188 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002715/1.412, allocations: 0.5659 MB / 0.5515 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.011e-05/1.412, allocations: 27.73 kB / 0.5515 GB, free: 0.5781 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/1.412, allocations: 8 kB / 0.5515 GB, free: 0.5703 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,PuitsP1.C.a,ControlValve.C1.a,ControlValve.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 7.423e-05/1.412, allocations: 125.4 kB / 0.5517 GB, free: 452 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/1.412, allocations: 11.98 kB / 0.5517 GB, free: 440 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/1.413, allocations: 0.5261 MB / 0.5522 GB, free: 15.91 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001375/1.413, allocations: 150.2 kB / 0.5523 GB, free: 15.76 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/1.413, allocations: 0 / 0.5523 GB, free: 15.76 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.413, allocations: 0 / 0.5523 GB, free: 15.76 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000469/1.413, allocations: 0.5302 MB / 0.5528 GB, free: 15.24 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.413, allocations: 0.5 kB / 0.5528 GB, free: 15.24 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/1.413, allocations: 24.25 kB / 0.5529 GB, free: 15.22 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001389/1.413, allocations: 59.64 kB / 0.5529 GB, free: 15.16 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/1.413, allocations: 4.562 kB / 0.5529 GB, free: 15.16 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002532/1.414, allocations: 0.5955 MB / 0.5535 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.414, allocations: 3.469 kB / 0.5535 GB, free: 14.54 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/1.414, allocations: 309 kB / 0.5538 GB, free: 14.22 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/1.414, allocations: 35.69 kB / 0.5538 GB, free: 14.19 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/1.414, allocations: 8.828 kB / 0.5539 GB, free: 14.18 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.092e-05/1.414, allocations: 8.703 kB / 0.5539 GB, free: 14.17 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/1.414, allocations: 11.97 kB / 0.5539 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/1.414, allocations: 7.969 kB / 0.5539 GB, free: 14.15 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.293e-05/1.414, allocations: 139.2 kB / 0.554 GB, free: 14.04 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/1.414, allocations: 0 / 0.554 GB, free: 14.04 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.00195/1.416, allocations: 1.22 MB / 0.5552 GB, free: 12.81 MB / 490.8 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003029/1.419, allocations: 2.047 MB / 0.5572 GB, free: 11 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002697/1.42, allocations: 171.5 kB / 0.5574 GB, free: 10.83 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.42, allocations: 7.938 kB / 0.5574 GB, free: 10.82 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/1.42, allocations: 84.34 kB / 0.5575 GB, free: 10.74 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/1.42, allocations: 124 kB / 0.5576 GB, free: 10.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000862/1.421, allocations: 0.6029 MB / 0.5582 GB, free: 10 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.881e-05/1.421, allocations: 108.3 kB / 0.5583 GB, free: 9.879 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 6.117e-05/1.421, allocations: 25.08 kB / 0.5583 GB, free: 9.859 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/1.421, allocations: 107.3 kB / 0.5584 GB, free: 9.754 MB / 490.8 MB Notification: Performance of SimCode: time 8.41e-07/1.421, allocations: 0 / 0.5584 GB, free: 9.754 MB / 490.8 MB Notification: Performance of Templates: time 0.04544/1.467, allocations: 49.63 MB / 0.6069 GB, free: 8.426 MB / 0.5262 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestControlValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.761587713845074]