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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5566/0.5566, 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.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 1.723e-06/1.723e-06, allocations: 0 / 176.6 MB, free: 8.949 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.118e-05, allocations: 2.312 kB / 176.6 MB, free: 8.945 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.Book.SimpleExamples.PressureLoss.TestBend): time 1.23/1.23, allocations: 262.9 MB / 439.5 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03381/1.264, allocations: 33.55 MB / 473.1 MB, free: 13.31 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000318/1.264, allocations: 4 kB / 473.1 MB, free: 13.3 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/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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). Notification: Performance of NFTyping.typeComponents: time 0.0006516/1.265, allocations: 274.9 kB / 473.3 MB, free: 13.04 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/1.265, allocations: 278.7 kB / 473.6 MB, free: 12.76 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02052/1.286, allocations: 8.829 MB / 482.4 MB, free: 3.891 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007755/1.286, allocations: 0.5141 MB / 482.9 MB, free: 3.371 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/1.287, allocations: 174.8 kB / 483.1 MB, free: 3.199 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/1.287, allocations: 323.1 kB / 483.4 MB, free: 2.883 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/1.287, allocations: 247.5 kB / 483.7 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/1.287, allocations: 28 kB / 483.7 MB, free: 2.613 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' 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.2747/1.562, allocations: 18.2 MB / 0.4901 GB, free: 7.328 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002224/1.562, allocations: 172.7 kB / 0.4903 GB, free: 7.328 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/1.563, allocations: 156.6 kB / 0.4905 GB, free: 7.328 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02238/1.585, allocations: 11.04 MB / 0.5012 GB, free: 2.391 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/1.585, allocations: 0 / 0.5012 GB, free: 2.391 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.272e-06/1.585, allocations: 0 / 0.5012 GB, free: 2.391 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/1.585, allocations: 1.062 kB / 0.5012 GB, free: 2.391 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005222/1.59, allocations: 1.766 MB / 0.503 GB, free: 1.176 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.59, allocations: 12.14 kB / 0.503 GB, free: 1.172 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/1.591, allocations: 63.97 kB / 0.503 GB, free: 1.148 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/1.591, allocations: 320 kB / 0.5033 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/1.591, allocations: 20.59 kB / 0.5034 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/1.591, allocations: 24.41 kB / 0.5034 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/1.591, allocations: 340.5 kB / 0.5037 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/1.591, allocations: 3 kB / 0.5037 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/1.591, allocations: 12.28 kB / 0.5037 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/1.591, allocations: 15.55 kB / 0.5037 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/1.591, allocations: 94.47 kB / 0.5038 GB, free: 0.582 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.01692/1.608, allocations: 9.417 MB / 0.513 GB, free: 8.871 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/1.609, allocations: 135.5 kB / 0.5132 GB, free: 8.734 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/1.609, allocations: 35.03 kB / 0.5132 GB, free: 8.699 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07488/1.684, allocations: 39.09 MB / 0.5514 GB, free: 1.719 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/1.684, allocations: 37.94 kB / 0.5514 GB, free: 1.676 MB / 474.7 MB Notification: Performance of pre-optimization done (n=38): time 4.178e-06/1.684, allocations: 1.078 kB / 0.5514 GB, free: 1.676 MB / 474.7 MB Notification: Performance of matching and sorting (n=38): time 0.000936/1.685, allocations: 317.1 kB / 0.5517 GB, free: 1.363 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/1.685, allocations: 114.7 kB / 0.5518 GB, free: 1.227 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/1.685, allocations: 0.59 MB / 0.5524 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/1.685, allocations: 25.7 kB / 0.5524 GB, free: 0.668 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/1.685, allocations: 237.1 kB / 0.5526 GB, free: 472 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/1.685, allocations: 133.2 kB / 0.5528 GB, free: 348 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/1.685, allocations: 55.14 kB / 0.5528 GB, free: 296 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/1.686, allocations: 378.5 kB / 0.5532 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.554e-05/1.686, allocations: 43.31 kB / 0.5532 GB, free: 15.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/1.686, allocations: 165 kB / 0.5534 GB, free: 15.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/1.686, allocations: 164.3 kB / 0.5535 GB, free: 15.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/1.686, allocations: 0 / 0.5535 GB, free: 15.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003031/1.686, allocations: 234.3 kB / 0.5538 GB, free: 15.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.686, allocations: 8 kB / 0.5538 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/1.686, allocations: 3.938 kB / 0.5538 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006908/1.687, allocations: 164.5 kB / 0.5539 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/1.687, allocations: 27.36 kB / 0.554 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003799/1.687, allocations: 0.6049 MB / 0.5545 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/1.687, allocations: 27.78 kB / 0.5546 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/1.687, allocations: 12.03 kB / 0.5546 GB, free: 14.46 MB / 490.7 MB 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.0001393/1.688, allocations: 132 kB / 0.5547 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/1.688, allocations: 35.95 kB / 0.5547 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007779/1.688, allocations: 0.5729 MB / 0.5553 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001257/1.689, allocations: 144 kB / 0.5554 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/1.689, allocations: 0 / 0.5554 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/1.689, allocations: 0.7969 kB / 0.5554 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006643/1.689, allocations: 0.6196 MB / 0.556 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.689, allocations: 0 / 0.556 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/1.689, allocations: 28.77 kB / 0.5561 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003896/1.69, allocations: 130.6 kB / 0.5562 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/1.69, allocations: 11.88 kB / 0.5562 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003612/1.69, allocations: 0.6331 MB / 0.5568 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.69, allocations: 0 / 0.5568 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/1.69, allocations: 338 kB / 0.5572 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-05/1.69, allocations: 71.55 kB / 0.5572 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/1.69, allocations: 15.92 kB / 0.5572 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.238e-05/1.69, allocations: 9.5 kB / 0.5572 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/1.69, allocations: 11.97 kB / 0.5573 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/1.69, allocations: 4 kB / 0.5573 GB, free: 11.74 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002473/1.691, allocations: 306.8 kB / 0.5576 GB, free: 11.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/1.691, allocations: 4 kB / 0.5576 GB, free: 11.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003258/1.694, allocations: 1.278 MB / 0.5588 GB, free: 10.19 MB / 490.7 MB 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.005117/1.699, allocations: 2.098 MB / 0.5609 GB, free: 8.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004451/1.7, allocations: 190.5 kB / 0.561 GB, free: 8.141 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/1.7, allocations: 4 kB / 0.561 GB, free: 8.137 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/1.7, allocations: 84.44 kB / 0.5611 GB, free: 8.055 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/1.7, allocations: 147.6 kB / 0.5613 GB, free: 7.918 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/1.702, allocations: 0.9649 MB / 0.5622 GB, free: 6.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/1.702, allocations: 166.6 kB / 0.5624 GB, free: 6.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001286/1.702, allocations: 46.67 kB / 0.5624 GB, free: 6.707 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/1.702, allocations: 133.3 kB / 0.5625 GB, free: 6.578 MB / 490.7 MB Notification: Performance of SimCode: time 1.412e-06/1.702, allocations: 3.281 kB / 0.5625 GB, free: 6.578 MB / 490.7 MB Notification: Performance of Templates: time 0.05744/1.76, allocations: 52.28 MB / 0.6136 GB, free: 2.645 MB / 0.5261 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.494244309142232]