Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo): time 0.5032/0.5032, allocations: 111.7 MB / 121.6 MB, free: 4.797 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09934/0.6026, allocations: 33.97 MB / 155.5 MB, free: 3.73 MB / 154.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 156.8 MB, free: 2.484 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012e-05/1.152e-05, allocations: 5.266 kB / 156.8 MB, free: 2.48 MB / 154.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.TestBend): time 1.063/1.063, allocations: 233.4 MB / 390.2 MB, free: 2.582 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02854/1.092, allocations: 33.8 MB / 424 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/1.092, allocations: 0 / 424 MB, free: 0.6562 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/PressureLosses/Bend.mo:35:3-36:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-master/WaterSteam/PressureLosses/Bend.mo:37:3-38:80:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [Non-standard Modelica: --allowNonStandardModelica=unbalancedModel] Notification: Performance of NFTyping.typeComponents: time 0.0004986/1.093, allocations: 285.5 kB / 424.3 MB, free: 388 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/1.093, allocations: 290.7 kB / 424.6 MB, free: 96 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01737/1.11, allocations: 8.818 MB / 433.4 MB, free: 7.23 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006082/1.111, allocations: 0.5103 MB / 433.9 MB, free: 6.719 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/1.111, allocations: 166.8 kB / 434.1 MB, free: 6.559 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003871/1.111, allocations: 363 kB / 434.4 MB, free: 6.203 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/1.112, allocations: 239.5 kB / 434.6 MB, free: 5.969 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/1.112, allocations: 27.94 kB / 434.7 MB, free: 5.941 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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 4.2.0-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.02452/1.136, allocations: 18.26 MB / 452.9 MB, free: 3.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/1.136, allocations: 163.4 kB / 453.1 MB, free: 3.5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/1.136, allocations: 123.6 kB / 453.2 MB, free: 3.379 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01356/1.15, allocations: 8.515 MB / 461.7 MB, free: 10.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.38e-05/1.15, allocations: 0 / 461.7 MB, free: 10.84 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.803e-06/1.15, allocations: 0 / 461.7 MB, free: 10.84 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/1.15, allocations: 4 kB / 461.7 MB, free: 10.84 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002947/1.153, allocations: 2.435 MB / 464.2 MB, free: 8.352 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/1.153, allocations: 12.62 kB / 464.2 MB, free: 8.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001346/1.153, allocations: 63.94 kB / 464.2 MB, free: 8.277 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/1.153, allocations: 321 kB / 464.6 MB, free: 7.938 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/1.153, allocations: 20.5 kB / 464.6 MB, free: 7.918 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/1.153, allocations: 24 kB / 464.6 MB, free: 7.895 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/1.154, allocations: 343.9 kB / 464.9 MB, free: 7.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.154, allocations: 0 / 464.9 MB, free: 7.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/1.154, allocations: 8 kB / 464.9 MB, free: 7.492 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/1.154, allocations: 12 kB / 465 MB, free: 7.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/1.154, allocations: 98.62 kB / 465.1 MB, free: 7.383 MB / 458.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.01374/1.168, allocations: 9.412 MB / 474.5 MB, free: 13.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/1.168, allocations: 142.4 kB / 474.6 MB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/1.168, allocations: 32.84 kB / 474.6 MB, free: 13.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05942/1.227, allocations: 39.09 MB / 0.5017 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/1.227, allocations: 34.55 kB / 0.5017 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=38): time 2.455e-06/1.227, allocations: 0 / 0.5017 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38): time 0.0007878/1.228, allocations: 318.3 kB / 0.502 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/1.228, allocations: 59.34 kB / 0.5021 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/1.229, allocations: 0.5914 MB / 0.5027 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/1.229, allocations: 29.7 kB / 0.5027 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/1.229, allocations: 229.9 kB / 0.5029 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/1.229, allocations: 134.8 kB / 0.503 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/1.229, allocations: 69.55 kB / 0.5031 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.643e-05/1.229, allocations: 390.6 kB / 0.5035 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/1.229, allocations: 31.31 kB / 0.5035 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.924e-05/1.229, allocations: 162.9 kB / 0.5037 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/1.229, allocations: 168.6 kB / 0.5038 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.229, allocations: 4.031 kB / 0.5038 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002304/1.229, allocations: 230.3 kB / 0.504 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/1.229, allocations: 9.719 kB / 0.5041 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.229, allocations: 0 / 0.5041 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/1.23, allocations: 168.7 kB / 0.5042 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.371e-05/1.23, allocations: 23.92 kB / 0.5042 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003037/1.23, allocations: 0.6007 MB / 0.5048 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.74e-05/1.231, allocations: 31.72 kB / 0.5049 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/1.231, allocations: 8 kB / 0.5049 GB, free: 3.176 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.C.b,SinkP1.C.a,Bend.C1.a,Bend.C2.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 9.887e-05/1.231, allocations: 124.6 kB / 0.505 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/1.231, allocations: 35.95 kB / 0.505 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/1.231, allocations: 0.5766 MB / 0.5056 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/1.231, allocations: 141.3 kB / 0.5057 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/1.231, allocations: 4 kB / 0.5057 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.231, allocations: 3.984 kB / 0.5057 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/1.232, allocations: 0.6254 MB / 0.5063 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/1.232, allocations: 0 / 0.5063 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/1.232, allocations: 19.94 kB / 0.5063 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/1.232, allocations: 75.53 kB / 0.5064 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003317/1.232, allocations: 135.5 kB / 0.5065 GB, free: 1.312 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/1.232, allocations: 7.984 kB / 0.5066 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002799/1.232, allocations: 0.6379 MB / 0.5072 GB, free: 0.6406 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.232, allocations: 4.031 kB / 0.5072 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/1.233, allocations: 337.5 kB / 0.5075 GB, free: 288 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/1.233, allocations: 11.88 kB / 0.5075 GB, free: 276 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.74e-05/1.233, allocations: 11.98 kB / 0.5075 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/1.233, allocations: 7.984 kB / 0.5075 GB, free: 256 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/1.233, allocations: 4 kB / 0.5075 GB, free: 252 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.1758/1.409, allocations: 306.8 kB / 0.5078 GB, free: 79.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/1.409, allocations: 0.8438 kB / 0.5078 GB, free: 79.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002571/1.411, allocations: 1.276 MB / 0.5091 GB, free: 79.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003428/1.415, allocations: 2.132 MB / 0.5112 GB, free: 78.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003935/1.415, allocations: 193.3 kB / 0.5113 GB, free: 78.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/1.415, allocations: 8.125 kB / 0.5114 GB, free: 78.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/1.415, allocations: 77.39 kB / 0.5114 GB, free: 78.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/1.416, allocations: 176.6 kB / 0.5116 GB, free: 78.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/1.419, allocations: 1.027 MB / 0.5126 GB, free: 78.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/1.419, allocations: 163.5 kB / 0.5128 GB, free: 78.33 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.897e-05/1.419, allocations: 43.19 kB / 0.5128 GB, free: 78.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/1.42, allocations: 138.9 kB / 0.5129 GB, free: 78.27 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/1.42, allocations: 0 / 0.5129 GB, free: 78.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.0394/1.459, allocations: 52.54 MB / 0.5642 GB, free: 48.09 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07951/1.538, allocations: 53.75 MB / 0.6167 GB, free: 7.758 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.906790050677955]