Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.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.4897/0.4897, allocations: 111.7 MB / 121.5 MB, free: 4.801 MB / 122.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09313/0.5828, allocations: 33.98 MB / 155.5 MB, free: 3.727 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.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 156.7 MB, free: 2.562 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.28e-05, allocations: 6.25 kB / 156.7 MB, free: 2.555 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.Book.SimpleExamples.PressureLoss.TestBend): time 1.035/1.035, allocations: 233.3 MB / 390 MB, free: 2.605 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02911/1.064, allocations: 33.8 MB / 423.8 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/1.064, allocations: 4 kB / 423.8 MB, free: 0.6758 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.0004487/1.065, allocations: 281.2 kB / 424.1 MB, free: 416 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/1.065, allocations: 294.6 kB / 424.4 MB, free: 120 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01728/1.082, allocations: 8.814 MB / 433.2 MB, free: 7.262 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000618/1.083, allocations: 0.5064 MB / 433.7 MB, free: 6.754 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000217/1.083, allocations: 166.8 kB / 433.9 MB, free: 6.594 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000396/1.084, allocations: 371 kB / 434.2 MB, free: 6.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/1.084, allocations: 243.5 kB / 434.5 MB, free: 5.992 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/1.084, allocations: 24 kB / 434.5 MB, free: 5.969 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.02471/1.109, allocations: 18.25 MB / 452.7 MB, free: 3.691 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/1.109, allocations: 163.4 kB / 452.9 MB, free: 3.531 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/1.109, allocations: 123.6 kB / 453 MB, free: 3.41 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01875/1.128, allocations: 8.515 MB / 461.5 MB, free: 10.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.607e-05/1.128, allocations: 0 / 461.5 MB, free: 10.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.683e-06/1.128, allocations: 0 / 461.5 MB, free: 10.88 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/1.128, allocations: 4 kB / 461.5 MB, free: 10.87 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.004094/1.132, allocations: 2.438 MB / 464 MB, free: 8.379 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/1.132, allocations: 12.62 kB / 464 MB, free: 8.367 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/1.132, allocations: 59.94 kB / 464.1 MB, free: 8.309 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/1.132, allocations: 329 kB / 464.4 MB, free: 7.961 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/1.132, allocations: 20.5 kB / 464.4 MB, free: 7.941 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/1.132, allocations: 24 kB / 464.4 MB, free: 7.918 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/1.133, allocations: 331.9 kB / 464.7 MB, free: 7.535 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.133, allocations: 4 kB / 464.7 MB, free: 7.531 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/1.133, allocations: 12 kB / 464.8 MB, free: 7.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/1.133, allocations: 12 kB / 464.8 MB, free: 7.508 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/1.133, allocations: 102.6 kB / 464.9 MB, free: 7.406 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.01432/1.147, allocations: 9.412 MB / 474.3 MB, free: 13.94 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/1.147, allocations: 134.4 kB / 474.4 MB, free: 13.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/1.147, allocations: 40.83 kB / 474.5 MB, free: 13.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06168/1.209, allocations: 39.1 MB / 0.5015 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.209, allocations: 34.5 kB / 0.5015 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=38): time 2.164e-06/1.209, allocations: 0 / 0.5015 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of matching and sorting (n=38): time 0.0008067/1.21, allocations: 314.3 kB / 0.5018 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/1.21, allocations: 59.41 kB / 0.5019 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004361/1.21, allocations: 0.5953 MB / 0.5025 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/1.21, allocations: 29.7 kB / 0.5025 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/1.211, allocations: 229.9 kB / 0.5027 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/1.211, allocations: 134.8 kB / 0.5029 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/1.211, allocations: 69.53 kB / 0.5029 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.211, allocations: 382.6 kB / 0.5033 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-05/1.211, allocations: 31.31 kB / 0.5033 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.053e-05/1.211, allocations: 162.9 kB / 0.5035 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/1.211, allocations: 172.6 kB / 0.5036 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.211, allocations: 0 / 0.5036 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002566/1.211, allocations: 230.5 kB / 0.5039 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.211, allocations: 12 kB / 0.5039 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.211, allocations: 0 / 0.5039 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006271/1.212, allocations: 168.5 kB / 0.504 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/1.212, allocations: 23.92 kB / 0.5041 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003307/1.212, allocations: 0.5936 MB / 0.5046 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/1.212, allocations: 39.72 kB / 0.5047 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/1.212, allocations: 7.938 kB / 0.5047 GB, free: 3.199 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 0.0001006/1.213, allocations: 124.7 kB / 0.5048 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/1.213, allocations: 35.95 kB / 0.5048 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/1.213, allocations: 0.5766 MB / 0.5054 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000114/1.213, allocations: 139.5 kB / 0.5055 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/1.213, allocations: 0 / 0.5055 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.213, allocations: 3.984 kB / 0.5055 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006885/1.214, allocations: 0.6254 MB / 0.5061 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.214, allocations: 7.969 kB / 0.5062 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/1.214, allocations: 19.94 kB / 0.5062 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/1.214, allocations: 71.53 kB / 0.5062 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003561/1.214, allocations: 127.5 kB / 0.5064 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/1.214, allocations: 15.98 kB / 0.5064 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003009/1.215, allocations: 0.6358 MB / 0.507 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.215, allocations: 0 / 0.507 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/1.215, allocations: 341.4 kB / 0.5073 GB, free: 316 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/1.215, allocations: 11.88 kB / 0.5073 GB, free: 304 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/1.215, allocations: 7.984 kB / 0.5073 GB, free: 296 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/1.215, allocations: 11.98 kB / 0.5074 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/1.215, allocations: 8.031 kB / 0.5074 GB, free: 276 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.1705/1.385, allocations: 310 kB / 0.5077 GB, free: 79.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.5e-07/1.385, allocations: 0 / 0.5077 GB, free: 79.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00269/1.388, allocations: 1.276 MB / 0.5089 GB, free: 79.08 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.004465/1.393, allocations: 2.127 MB / 0.511 GB, free: 78.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004471/1.393, allocations: 191.8 kB / 0.5112 GB, free: 78.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.79e-05/1.393, allocations: 9.219 kB / 0.5112 GB, free: 78.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/1.393, allocations: 79.11 kB / 0.5112 GB, free: 78.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/1.394, allocations: 174.6 kB / 0.5114 GB, free: 78.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/1.398, allocations: 1.024 MB / 0.5124 GB, free: 78.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/1.399, allocations: 164.2 kB / 0.5126 GB, free: 78.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001768/1.399, allocations: 48.5 kB / 0.5126 GB, free: 78.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/1.399, allocations: 137.1 kB / 0.5127 GB, free: 78.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.754e-06/1.399, allocations: 0 / 0.5127 GB, free: 78.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.05439/1.453, allocations: 52.55 MB / 0.5641 GB, free: 48.1 MB / 0.4948 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07482/1.528, allocations: 53.74 MB / 0.6165 GB, free: 7.789 MB / 0.4948 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.252384350635111]