Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.5015/0.5015, allocations: 111.6 MB / 131.5 MB, free: 4.395 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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 176.6 MB, free: 8.879 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.299e-05, allocations: 2.312 kB / 176.6 MB, free: 8.875 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.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend): time 1.155/1.155, allocations: 263 MB / 439.6 MB, free: 14.91 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.379/1.534, allocations: 183.8 MB / 0.6088 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/1.534, allocations: 11.88 kB / 0.6089 GB, free: 12.16 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:42:3-43:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:44:3-45:80:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003069/1.534, allocations: 199.2 kB / 0.609 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003504/1.535, allocations: 298.5 kB / 0.6093 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.022/1.557, allocations: 11.27 MB / 0.6203 GB, free: 364 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0009741/1.558, allocations: 0.5573 MB / 0.6209 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003513/1.558, allocations: 255.4 kB / 0.6211 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000407/1.559, allocations: 367.1 kB / 0.6215 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/1.559, allocations: 287.3 kB / 0.6217 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/1.559, allocations: 40 kB / 0.6218 GB, free: 14.86 MB / 0.5417 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: 'T' 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.02897/1.588, allocations: 21.16 MB / 0.6424 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000222/1.588, allocations: 219.3 kB / 0.6427 GB, free: 9.465 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002089/1.588, allocations: 203.4 kB / 0.6429 GB, free: 9.266 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.02155/1.61, allocations: 13.14 MB / 0.6557 GB, free: 12.09 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.61, allocations: 4 kB / 0.6557 GB, free: 12.09 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.023e-06/1.61, allocations: 0 / 0.6557 GB, free: 12.09 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.61, allocations: 0 / 0.6557 GB, free: 12.09 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.004774/1.615, allocations: 2.242 MB / 0.6579 GB, free: 9.805 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/1.615, allocations: 11.98 kB / 0.6579 GB, free: 9.793 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/1.615, allocations: 83.92 kB / 0.658 GB, free: 9.711 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/1.615, allocations: 397.6 kB / 0.6583 GB, free: 9.293 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/1.615, allocations: 32.94 kB / 0.6584 GB, free: 9.262 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/1.615, allocations: 40 kB / 0.6584 GB, free: 9.223 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/1.616, allocations: 398.3 kB / 0.6588 GB, free: 8.777 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.616, allocations: 3.938 kB / 0.6588 GB, free: 8.773 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/1.616, allocations: 19.98 kB / 0.6588 GB, free: 8.754 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/1.616, allocations: 12 kB / 0.6588 GB, free: 8.742 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/1.616, allocations: 122.4 kB / 0.6589 GB, free: 8.625 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004965/1.621, allocations: 3.638 MB / 0.6625 GB, free: 4.945 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/1.621, allocations: 71.16 kB / 0.6626 GB, free: 4.867 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/1.621, allocations: 20.86 kB / 0.6626 GB, free: 4.844 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3698/1.991, allocations: 80.13 MB / 0.7408 GB, free: 89.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/1.991, allocations: 30.56 kB / 0.7409 GB, free: 89.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.204e-06/1.991, allocations: 1.031 kB / 0.7409 GB, free: 89.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0009499/1.992, allocations: 292.1 kB / 0.7412 GB, free: 89.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/1.992, allocations: 109.6 kB / 0.7413 GB, free: 89.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/1.992, allocations: 0.6872 MB / 0.7419 GB, free: 89.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/1.992, allocations: 29.02 kB / 0.742 GB, free: 89.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/1.993, allocations: 308.4 kB / 0.7422 GB, free: 88.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/1.993, allocations: 41.52 kB / 0.7423 GB, free: 88.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.381e-05/1.993, allocations: 85.47 kB / 0.7424 GB, free: 88.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.909e-05/1.993, allocations: 385 kB / 0.7427 GB, free: 88.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/1.993, allocations: 25.83 kB / 0.7428 GB, free: 88.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.84e-05/1.993, allocations: 208.1 kB / 0.743 GB, free: 88.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/1.993, allocations: 199.8 kB / 0.7432 GB, free: 88.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.993, allocations: 0 / 0.7432 GB, free: 88.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004935/1.993, allocations: 301.5 kB / 0.7434 GB, free: 88.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.993, allocations: 6.484 kB / 0.7434 GB, free: 88.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.993, allocations: 6.844 kB / 0.7435 GB, free: 88.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/1.994, allocations: 142.2 kB / 0.7436 GB, free: 88.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/1.994, allocations: 49.67 kB / 0.7436 GB, free: 88.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002602/1.994, allocations: 0.575 MB / 0.7442 GB, free: 87.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/1.995, allocations: 35.8 kB / 0.7442 GB, free: 87.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/1.995, allocations: 8.75 kB / 0.7442 GB, free: 87.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (Bend.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,Bend.fluid,SinkP1.fluid,SourceP1.C.ftype) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.995, allocations: 145.7 kB / 0.7444 GB, free: 87.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/1.995, allocations: 39.27 kB / 0.7444 GB, free: 87.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/1.995, allocations: 191.6 kB / 0.7446 GB, free: 87.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.995, allocations: 1.094 kB / 0.7446 GB, free: 87.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/1.995, allocations: 3.25 kB / 0.7446 GB, free: 87.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/1.995, allocations: 0 / 0.7446 GB, free: 87.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000707/1.996, allocations: 0.5048 MB / 0.7451 GB, free: 87.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.996, allocations: 0 / 0.7451 GB, free: 87.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/1.996, allocations: 9.969 kB / 0.7451 GB, free: 87.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004136/1.996, allocations: 122.5 kB / 0.7452 GB, free: 87.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/1.996, allocations: 10.11 kB / 0.7452 GB, free: 87.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001978/1.996, allocations: 0.5674 MB / 0.7458 GB, free: 86.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/1.996, allocations: 7.922 kB / 0.7458 GB, free: 86.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/1.997, allocations: 319.4 kB / 0.7461 GB, free: 86.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.804e-05/1.997, allocations: 88.19 kB / 0.7462 GB, free: 86.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/1.997, allocations: 2.094 kB / 0.7462 GB, free: 86.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/1.997, allocations: 9.531 kB / 0.7462 GB, free: 86.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/1.997, allocations: 7.078 kB / 0.7462 GB, free: 86.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/1.997, allocations: 7.109 kB / 0.7462 GB, free: 86.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002425/1.997, allocations: 341 kB / 0.7465 GB, free: 86.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.997, allocations: 4 kB / 0.7465 GB, free: 86.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003062/2, allocations: 1.682 MB / 0.7482 GB, free: 86.45 MB / 0.6198 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 (3): * Single equations (assignments): 2 * 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.004982/2.005, allocations: 2.876 MB / 0.751 GB, free: 86.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000354/2.006, allocations: 132.7 kB / 0.7511 GB, free: 86.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2e-05/2.006, allocations: 11.47 kB / 0.7511 GB, free: 86.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.537e-05/2.006, allocations: 39.62 kB / 0.7512 GB, free: 86.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/2.006, allocations: 89.17 kB / 0.7512 GB, free: 86.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/2.008, allocations: 0.9889 MB / 0.7522 GB, free: 85.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.043e-05/2.008, allocations: 161 kB / 0.7524 GB, free: 85.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001193/2.008, allocations: 63.45 kB / 0.7524 GB, free: 85.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/2.008, allocations: 120.3 kB / 0.7525 GB, free: 85.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.453e-06/2.008, allocations: 4 kB / 0.7525 GB, free: 85.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.04891/2.057, allocations: 60.39 MB / 0.8115 GB, free: 35.55 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.082397425081581]