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.4624/0.4624, allocations: 111.6 MB / 131.4 MB, free: 4.426 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.833e-06/1.833e-06, allocations: 0 / 176.5 MB, free: 8.98 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.513e-05, allocations: 2.312 kB / 176.5 MB, free: 8.977 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 0.9775/0.9775, allocations: 257.1 MB / 433.5 MB, free: 244 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3042/1.282, allocations: 178.2 MB / 0.5974 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/1.282, allocations: 11.88 kB / 0.5974 GB, free: 3.793 MB / 0.5105 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.0001008/1.282, allocations: 39.58 kB / 0.5975 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002469/1.282, allocations: 126.8 kB / 0.5976 GB, free: 3.629 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:525:9-525:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:708:9-708:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02073/1.303, allocations: 11.59 MB / 0.6089 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006533/1.304, allocations: 414.5 kB / 0.6093 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/1.304, allocations: 169.1 kB / 0.6095 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/1.304, allocations: 247.5 kB / 0.6097 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/1.304, allocations: 111.7 kB / 0.6098 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/1.304, allocations: 35.94 kB / 0.6098 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02228/1.327, allocations: 18.65 MB / 0.6281 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/1.327, allocations: 87.67 kB / 0.6281 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/1.327, allocations: 131.7 kB / 0.6283 GB, free: 4.156 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01741/1.344, allocations: 12.2 MB / 0.6402 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.344, allocations: 0 / 0.6402 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.273e-06/1.344, allocations: 3.938 kB / 0.6402 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.081e-06/1.344, allocations: 0 / 0.6402 GB, free: 7.918 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.00321/1.347, allocations: 1.883 MB / 0.642 GB, free: 5.988 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/1.347, allocations: 11.98 kB / 0.642 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.549e-05/1.347, allocations: 71.72 kB / 0.6421 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/1.348, allocations: 266.8 kB / 0.6424 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/1.348, allocations: 29 kB / 0.6424 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/1.348, allocations: 28 kB / 0.6424 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/1.348, allocations: 306.5 kB / 0.6427 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.348, allocations: 0 / 0.6427 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/1.348, allocations: 19.94 kB / 0.6427 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/1.348, allocations: 12 kB / 0.6427 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/1.348, allocations: 119 kB / 0.6429 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003806/1.352, allocations: 3.236 MB / 0.646 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.418e-05/1.352, allocations: 59.11 kB / 0.6461 GB, free: 1.727 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/1.352, allocations: 19.69 kB / 0.6461 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0933/1.445, allocations: 58.88 MB / 0.7036 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/1.445, allocations: 37.33 kB / 0.7036 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/1.445, allocations: 4 kB / 0.7036 GB, free: 6.754 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005507/1.446, allocations: 222.3 kB / 0.7038 GB, free: 6.527 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/1.446, allocations: 55.34 kB / 0.7039 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/1.446, allocations: 338 kB / 0.7042 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/1.446, allocations: 33.7 kB / 0.7042 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/1.446, allocations: 282.7 kB / 0.7045 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/1.446, allocations: 27.78 kB / 0.7045 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/1.446, allocations: 71.23 kB / 0.7046 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/1.447, allocations: 0.5078 MB / 0.7051 GB, free: 5.168 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/1.447, allocations: 23.97 kB / 0.7051 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.314e-05/1.447, allocations: 166 kB / 0.7053 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/1.447, allocations: 198.7 kB / 0.7055 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.447, allocations: 4 kB / 0.7055 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002816/1.447, allocations: 257.8 kB / 0.7057 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/1.447, allocations: 11.94 kB / 0.7057 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/1.447, allocations: 4 kB / 0.7057 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/1.447, allocations: 85.62 kB / 0.7058 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/1.447, allocations: 35.92 kB / 0.7059 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002865/1.448, allocations: 0.8233 MB / 0.7067 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/1.448, allocations: 31.72 kB / 0.7067 GB, free: 3.379 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/1.448, allocations: 12.56 kB / 0.7067 GB, free: 3.367 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.887e-05/1.448, allocations: 174 kB / 0.7069 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/1.448, allocations: 27.89 kB / 0.7069 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/1.448, allocations: 148.4 kB / 0.707 GB, free: 3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/1.448, allocations: 0 / 0.707 GB, free: 3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/1.448, allocations: 4 kB / 0.707 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/1.448, allocations: 0 / 0.707 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/1.448, allocations: 192.9 kB / 0.7072 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.448, allocations: 0 / 0.7072 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.777e-06/1.448, allocations: 0 / 0.7072 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001845/1.449, allocations: 64.45 kB / 0.7073 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/1.449, allocations: 64 / 0.7073 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003779/1.449, allocations: 0.8313 MB / 0.7081 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.449, allocations: 3.938 kB / 0.7081 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/1.449, allocations: 163.8 kB / 0.7083 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/1.449, allocations: 35.84 kB / 0.7083 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/1.449, allocations: 3.938 kB / 0.7083 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.732e-05/1.449, allocations: 7.969 kB / 0.7083 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/1.449, allocations: 4 kB / 0.7083 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/1.449, allocations: 0 / 0.7083 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.697e-05/1.449, allocations: 214.9 kB / 0.7085 GB, free: 1.402 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/1.449, allocations: 4.031 kB / 0.7085 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.1935/1.643, allocations: 1.464 MB / 0.7099 GB, free: 98.66 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.004747/1.647, allocations: 2.491 MB / 0.7124 GB, free: 98.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000277/1.648, allocations: 94.22 kB / 0.7125 GB, free: 98.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.648, allocations: 1.156 kB / 0.7125 GB, free: 98.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/1.648, allocations: 34.88 kB / 0.7125 GB, free: 98.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/1.648, allocations: 63.69 kB / 0.7126 GB, free: 98.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/1.649, allocations: 0.5007 MB / 0.7131 GB, free: 98.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.207e-05/1.649, allocations: 88.34 kB / 0.7131 GB, free: 98.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.705e-05/1.649, allocations: 35.31 kB / 0.7132 GB, free: 98.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-05/1.649, allocations: 111.1 kB / 0.7133 GB, free: 98.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/1.649, allocations: 0.875 kB / 0.7133 GB, free: 98.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.04307/1.692, allocations: 54.48 MB / 0.7665 GB, free: 80.4 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.27630885085091]