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.4683/0.4683, allocations: 111.6 MB / 131.2 MB, free: 4.078 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.623e-06/1.623e-06, allocations: 0 / 176.2 MB, free: 9.195 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.766e-05, allocations: 9.266 kB / 176.2 MB, free: 9.188 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.9936/0.9936, allocations: 257 MB / 433.2 MB, free: 356 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3195/1.313, allocations: 181.6 MB / 0.6004 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/1.313, allocations: 11.94 kB / 0.6004 GB, free: 0.9297 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.0001059/1.313, allocations: 43.52 kB / 0.6004 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002647/1.314, allocations: 118.9 kB / 0.6005 GB, free: 0.7695 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.01963/1.333, allocations: 11.6 MB / 0.6119 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/1.334, allocations: 410.5 kB / 0.6123 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/1.334, allocations: 169.2 kB / 0.6124 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/1.334, allocations: 247.4 kB / 0.6127 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/1.334, allocations: 115.6 kB / 0.6128 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/1.334, allocations: 32 kB / 0.6128 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02132/1.355, allocations: 18.65 MB / 0.631 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.545e-05/1.356, allocations: 83.67 kB / 0.6311 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/1.356, allocations: 136.5 kB / 0.6312 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01545/1.371, allocations: 12.2 MB / 0.6431 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.371, allocations: 7.984 kB / 0.6432 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.323e-06/1.371, allocations: 0 / 0.6432 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.262e-06/1.371, allocations: 0 / 0.6432 GB, free: 5.047 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.002939/1.374, allocations: 1.871 MB / 0.645 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/1.374, allocations: 11.98 kB / 0.645 GB, free: 3.117 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.706e-05/1.374, allocations: 75.72 kB / 0.6451 GB, free: 3.043 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/1.374, allocations: 270.7 kB / 0.6453 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/1.374, allocations: 29 kB / 0.6454 GB, free: 2.723 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/1.374, allocations: 32.62 kB / 0.6454 GB, free: 2.691 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/1.375, allocations: 314.7 kB / 0.6457 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.375, allocations: 3.938 kB / 0.6457 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/1.375, allocations: 19.94 kB / 0.6457 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/1.375, allocations: 12 kB / 0.6457 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/1.375, allocations: 135.8 kB / 0.6458 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/1.379, allocations: 3.344 MB / 0.6491 GB, free: 14.77 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/1.379, allocations: 63.03 kB / 0.6492 GB, free: 14.7 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/1.379, allocations: 27.77 kB / 0.6492 GB, free: 14.67 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3022/1.681, allocations: 67.36 MB / 0.715 GB, free: 96.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/1.681, allocations: 36.02 kB / 0.715 GB, free: 96.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/1.681, allocations: 0.9375 kB / 0.715 GB, free: 96.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005523/1.682, allocations: 177.4 kB / 0.7152 GB, free: 96.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.761e-05/1.682, allocations: 53.22 kB / 0.7152 GB, free: 96.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/1.682, allocations: 343.4 kB / 0.7156 GB, free: 96.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-06/1.682, allocations: 25.7 kB / 0.7156 GB, free: 96.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.585e-05/1.682, allocations: 289.7 kB / 0.7159 GB, free: 96.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/1.682, allocations: 26.69 kB / 0.7159 GB, free: 96.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/1.682, allocations: 75.59 kB / 0.716 GB, free: 96.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.55e-05/1.682, allocations: 0.4987 MB / 0.7165 GB, free: 95.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.614e-05/1.682, allocations: 25.94 kB / 0.7165 GB, free: 95.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/1.682, allocations: 164.1 kB / 0.7166 GB, free: 95.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/1.682, allocations: 208.5 kB / 0.7168 GB, free: 95.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/1.682, allocations: 4.562 kB / 0.7168 GB, free: 95.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002903/1.683, allocations: 241.8 kB / 0.7171 GB, free: 95.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.683, allocations: 8.328 kB / 0.7171 GB, free: 95.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.683, allocations: 2.312 kB / 0.7171 GB, free: 95.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003724/1.683, allocations: 81.05 kB / 0.7172 GB, free: 95.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/1.683, allocations: 41.98 kB / 0.7172 GB, free: 95.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002086/1.683, allocations: 0.8311 MB / 0.718 GB, free: 94.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/1.683, allocations: 27.02 kB / 0.718 GB, free: 94.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/1.683, allocations: 16.19 kB / 0.718 GB, free: 94.36 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 (SourceP1.C.ftype,PuitsP1.fluid,pipePressureLoss.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,pipePressureLoss.C2.diff_on_1) * 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 7.533e-05/1.684, allocations: 171 kB / 0.7182 GB, free: 94.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/1.684, allocations: 27.58 kB / 0.7182 GB, free: 94.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/1.684, allocations: 144.4 kB / 0.7184 GB, free: 94.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/1.684, allocations: 4.25 kB / 0.7184 GB, free: 94.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/1.684, allocations: 3.906 kB / 0.7184 GB, free: 94.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.684, allocations: 1.125 kB / 0.7184 GB, free: 94.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/1.684, allocations: 226.8 kB / 0.7186 GB, free: 93.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.684, allocations: 3.703 kB / 0.7186 GB, free: 93.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-05/1.684, allocations: 11.19 kB / 0.7186 GB, free: 93.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002209/1.684, allocations: 60.42 kB / 0.7187 GB, free: 93.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/1.684, allocations: 6.688 kB / 0.7187 GB, free: 93.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001843/1.684, allocations: 0.8258 MB / 0.7195 GB, free: 93.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/1.684, allocations: 0 / 0.7195 GB, free: 93.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/1.685, allocations: 164 kB / 0.7196 GB, free: 93.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/1.685, allocations: 41.3 kB / 0.7197 GB, free: 93.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/1.685, allocations: 4.828 kB / 0.7197 GB, free: 93.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.776e-05/1.685, allocations: 4.797 kB / 0.7197 GB, free: 93.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/1.685, allocations: 7.469 kB / 0.7197 GB, free: 93.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/1.685, allocations: 4.125 kB / 0.7197 GB, free: 93.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001049/1.685, allocations: 223.5 kB / 0.7199 GB, free: 92.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/1.685, allocations: 0 / 0.7199 GB, free: 92.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002343/1.687, allocations: 1.471 MB / 0.7213 GB, free: 92.93 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.003664/1.691, allocations: 2.401 MB / 0.7237 GB, free: 92.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002112/1.691, allocations: 107.2 kB / 0.7238 GB, free: 92.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.691, allocations: 0.75 kB / 0.7238 GB, free: 92.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.985e-05/1.691, allocations: 31.88 kB / 0.7238 GB, free: 92.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/1.691, allocations: 80.2 kB / 0.7239 GB, free: 92.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008369/1.692, allocations: 499.6 kB / 0.7244 GB, free: 92.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.532e-05/1.692, allocations: 89 kB / 0.7245 GB, free: 92.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.372e-05/1.692, allocations: 28.14 kB / 0.7245 GB, free: 92.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/1.692, allocations: 24.53 kB / 0.7245 GB, free: 92.39 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/1.692, allocations: 0 / 0.7245 GB, free: 92.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.04267/1.735, allocations: 58 MB / 0.7812 GB, free: 67.23 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.62421387527138]