Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.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.5033/0.5033, allocations: 111.6 MB / 131.5 MB, free: 4.918 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.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 176.6 MB, free: 8.926 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.367e-05, allocations: 6.25 kB / 176.6 MB, free: 8.918 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.TestPipePressureLoss): time 1.159/1.159, allocations: 262.9 MB / 439.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4038/1.562, allocations: 180.9 MB / 0.6058 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/1.563, allocations: 11.88 kB / 0.6058 GB, free: 15.23 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/PipePressureLoss.mo:26:3-27: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/PipePressureLoss.mo:28:3-29:78: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.0001171/1.563, allocations: 39.58 kB / 0.6059 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0005904/1.563, allocations: 138.7 kB / 0.606 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.02278/1.586, allocations: 10.34 MB / 0.6161 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000615/1.587, allocations: 414.5 kB / 0.6165 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/1.587, allocations: 177 kB / 0.6167 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/1.587, allocations: 239.5 kB / 0.6169 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/1.587, allocations: 119.6 kB / 0.617 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/1.588, allocations: 32 kB / 0.617 GB, free: 3.715 MB / 0.5261 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.03045/1.618, allocations: 20.03 MB / 0.6366 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/1.618, allocations: 83.67 kB / 0.6367 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001594/1.618, allocations: 131.7 kB / 0.6368 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0215/1.64, allocations: 12.2 MB / 0.6487 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.64, allocations: 4 kB / 0.6487 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.923e-06/1.64, allocations: 3.938 kB / 0.6487 GB, free: 3.215 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.721e-06/1.64, allocations: 0 / 0.6487 GB, free: 3.215 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.003593/1.643, allocations: 1.746 MB / 0.6504 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/1.643, allocations: 11.98 kB / 0.6505 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.636e-05/1.643, allocations: 63.94 kB / 0.6505 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/1.644, allocations: 240 kB / 0.6507 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/1.644, allocations: 21 kB / 0.6508 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/1.644, allocations: 36 kB / 0.6508 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/1.644, allocations: 294.3 kB / 0.6511 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.644, allocations: 0 / 0.6511 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/1.644, allocations: 19.94 kB / 0.6511 GB, free: 0.707 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/1.644, allocations: 8 kB / 0.6511 GB, free: 0.6992 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/1.644, allocations: 95.05 kB / 0.6512 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004585/1.649, allocations: 3.366 MB / 0.6545 GB, free: 13.21 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.879e-05/1.649, allocations: 47.11 kB / 0.6545 GB, free: 13.15 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/1.649, allocations: 12.86 kB / 0.6545 GB, free: 13.14 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1082/1.757, allocations: 60.8 MB / 0.7139 GB, free: 272 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/1.757, allocations: 34.56 kB / 0.7139 GB, free: 228 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.515e-06/1.757, allocations: 0 / 0.7139 GB, free: 228 kB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005079/1.758, allocations: 135.2 kB / 0.7141 GB, free: 84 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/1.758, allocations: 59.34 kB / 0.7141 GB, free: 12 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2504/2.008, allocations: 271.5 kB / 0.7144 GB, free: 96.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/2.008, allocations: 28.42 kB / 0.7144 GB, free: 96.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/2.008, allocations: 225 kB / 0.7146 GB, free: 96.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/2.008, allocations: 32.55 kB / 0.7147 GB, free: 96.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/2.008, allocations: 59.66 kB / 0.7147 GB, free: 96.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.321e-05/2.008, allocations: 333.5 kB / 0.715 GB, free: 95.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/2.008, allocations: 16.19 kB / 0.7151 GB, free: 95.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.273e-05/2.009, allocations: 122 kB / 0.7152 GB, free: 95.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/2.009, allocations: 155.6 kB / 0.7153 GB, free: 95.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/2.009, allocations: 2.062 kB / 0.7153 GB, free: 95.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003198/2.009, allocations: 189.1 kB / 0.7155 GB, free: 95.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/2.009, allocations: 8.844 kB / 0.7155 GB, free: 95.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/2.009, allocations: 2.5 kB / 0.7155 GB, free: 95.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003811/2.009, allocations: 72.56 kB / 0.7156 GB, free: 95.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/2.009, allocations: 38.52 kB / 0.7156 GB, free: 95.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002218/2.01, allocations: 0.5494 MB / 0.7162 GB, free: 94.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.344e-05/2.01, allocations: 26.98 kB / 0.7162 GB, free: 94.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/2.01, allocations: 9.375 kB / 0.7162 GB, free: 94.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (pipePressureLoss.C2.diff_on_1,SourceP1.C.diff_on_2,SourceP1.fluid1,pipePressureLoss.fluid,PuitsP1.fluid,SourceP1.C.ftype) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 8.433e-05/2.01, allocations: 133.5 kB / 0.7163 GB, free: 94.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/2.01, allocations: 18.86 kB / 0.7163 GB, free: 94.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/2.01, allocations: 129 kB / 0.7165 GB, free: 94.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/2.01, allocations: 2.062 kB / 0.7165 GB, free: 94.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/2.01, allocations: 0 / 0.7165 GB, free: 94.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/2.01, allocations: 1.5 kB / 0.7165 GB, free: 94.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/2.01, allocations: 144.5 kB / 0.7166 GB, free: 94.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/2.01, allocations: 0.5625 kB / 0.7166 GB, free: 94.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.187e-05/2.01, allocations: 1.875 kB / 0.7166 GB, free: 94.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000236/2.011, allocations: 61.73 kB / 0.7167 GB, free: 94.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/2.011, allocations: 1.812 kB / 0.7167 GB, free: 94.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001703/2.011, allocations: 0.5552 MB / 0.7172 GB, free: 94.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/2.011, allocations: 2.547 kB / 0.7172 GB, free: 94.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/2.011, allocations: 119.3 kB / 0.7173 GB, free: 94.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/2.011, allocations: 34.45 kB / 0.7174 GB, free: 94.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/2.011, allocations: 0.6875 kB / 0.7174 GB, free: 94.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.842e-05/2.011, allocations: 1.312 kB / 0.7174 GB, free: 94.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/2.011, allocations: 6.844 kB / 0.7174 GB, free: 94.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/2.011, allocations: 2.359 kB / 0.7174 GB, free: 94.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.828e-05/2.011, allocations: 97.05 kB / 0.7175 GB, free: 94.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/2.011, allocations: 0 / 0.7175 GB, free: 94.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003274/2.014, allocations: 1.474 MB / 0.7189 GB, free: 94.05 MB / 0.6198 GB 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 (2): * Single equations (assignments): 1 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005373/2.02, allocations: 2.552 MB / 0.7214 GB, free: 93.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002561/2.02, allocations: 88.16 kB / 0.7215 GB, free: 93.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.378e-05/2.02, allocations: 4.297 kB / 0.7215 GB, free: 93.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.295e-05/2.02, allocations: 31.11 kB / 0.7215 GB, free: 93.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/2.02, allocations: 64.94 kB / 0.7216 GB, free: 93.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009471/2.021, allocations: 0.5075 MB / 0.7221 GB, free: 93.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.301e-05/2.021, allocations: 87.64 kB / 0.7221 GB, free: 93.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.862e-05/2.021, allocations: 32.8 kB / 0.7222 GB, free: 93.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/2.022, allocations: 90.11 kB / 0.7223 GB, free: 93.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.333e-06/2.022, allocations: 0 / 0.7223 GB, free: 93.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.04676/2.068, allocations: 53.7 MB / 0.7747 GB, free: 74.96 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6567353112623096]