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.9053/0.9053, allocations: 153.8 MB / 173.5 MB, free: 4.867 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/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 - Absyn->SCode: time 2.662e-05/2.662e-05, allocations: 4.672 kB / 251.1 MB, free: 3.898 MB / 206.1 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.921/1.921, allocations: 307.6 MB / 0.5456 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5441/2.465, allocations: 164.7 MB / 0.7064 GB, free: 11.07 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/2.465, allocations: 11.88 kB / 0.7064 GB, free: 11.06 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:59:3-60:65: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:47:3-48:67: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:33:3-34:67: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:35:3-36:65: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.0001571/2.465, allocations: 43.58 kB / 0.7065 GB, free: 11.02 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.000351/2.466, allocations: 123 kB / 0.7066 GB, free: 10.89 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783: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:850:9-850: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:1088:9-1088: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:69:3-69: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:69:3-69: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:167:3-170:49: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:167:3-170:49: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:63:5-63:84: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.03485/2.5, allocations: 11.45 MB / 0.7178 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0008182/2.501, allocations: 488.5 kB / 0.7182 GB, free: 14.98 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/2.502, allocations: 182.3 kB / 0.7184 GB, free: 14.8 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/2.502, allocations: 191.3 kB / 0.7186 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/2.502, allocations: 147.3 kB / 0.7187 GB, free: 14.47 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/2.502, allocations: 32 kB / 0.7188 GB, free: 14.44 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03287/2.535, allocations: 17.96 MB / 0.7363 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.0007595/2.536, allocations: 0.6814 MB / 0.737 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0003069/2.536, allocations: 450 kB / 0.7374 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.817e-05/2.536, allocations: 40 kB / 0.7374 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.167e-05/2.536, allocations: 15.88 kB / 0.7375 GB, free: 11.27 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 (86) * Number of variables: 86 (86) Notification: Performance of [SIM] Bindings: time 0.0024/2.539, allocations: 1.853 MB / 0.7393 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002942/2.539, allocations: 215.9 kB / 0.7395 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of [SIM] Early Inline: time 0.001222/2.54, allocations: 0.9819 MB / 0.7404 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.0003095/2.54, allocations: 191.2 kB / 0.7406 GB, free: 7.816 MB / 0.5919 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.002861/2.543, allocations: 1.892 MB / 0.7425 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 2: time 0.0001579/2.543, allocations: 100.8 kB / 0.7426 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of [SIM] Remove Stream: time 7.148e-05/2.543, allocations: 68.33 kB / 0.7426 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of [SIM] Detect States: time 0.0001826/2.544, allocations: 141.7 kB / 0.7428 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of [SIM] Events: time 0.000109/2.544, allocations: 34.27 kB / 0.7428 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of [SIM] Partitioning: time 0.0002309/2.544, allocations: 150.5 kB / 0.7429 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of [SIM] Causalize: time 0.0005437/2.545, allocations: 369.3 kB / 0.7433 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000373/2.545, allocations: 311.8 kB / 0.7436 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of [INI] Simplify: time 0.0004487/2.545, allocations: 309 kB / 0.7439 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of [INI] Inline: time 0.0008481/2.546, allocations: 0.5019 MB / 0.7444 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of [INI] Partitioning: time 2.842e-05/2.546, allocations: 18.75 kB / 0.7444 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of [INI] Cleanup: time 6.816e-05/2.546, allocations: 71.94 kB / 0.7445 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of [INI] Causalize: time 0.0007245/2.547, allocations: 0.4978 MB / 0.7449 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of [INI] Tearing: time 0.0002138/2.547, allocations: 111.6 kB / 0.7451 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of [SIM] Initialization: time 2.415e-06/2.547, allocations: 4 kB / 0.7451 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of [SIM] DAE-Mode: time 0.0001565/2.547, allocations: 107.2 kB / 0.7452 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of [SIM] Remove Dummies: time 5.511e-06/2.547, allocations: 0 / 0.7452 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of [SIM] Tearing: time 0.0001396/2.548, allocations: 91.69 kB / 0.7452 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of [SIM] Categorize: time 8.496e-06/2.548, allocations: 0 / 0.7452 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of [SIM] Solve: time 0.0004017/2.548, allocations: 235.5 kB / 0.7455 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of [SIM] Jacobian: time 0.0007965/2.549, allocations: 0.7634 MB / 0.7462 GB, free: 1.625 MB / 0.5919 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 9 (9) {SourceP1.C.diff_on_2, PuitsP1.fluid1, PuitsP1.fluid, pipePressureLoss.ftype, pipePressureLoss.fluid, pipePressureLoss.C2.diff_on_1, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 14 (scalar:14, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 26 (scalar:26, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 6.473e-05/2.549, allocations: 32.95 kB / 0.7462 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of SimCode: time 0.04919/2.598, allocations: 17.92 MB / 0.7637 GB, free: 15.83 MB / 0.6232 GB Notification: Performance of Templates: time 0.4514/3.049, allocations: 62.39 MB / 0.8247 GB, free: 84.99 MB / 0.6544 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.932051901996601] Failed to read output from testmodel.py, exit status != 0: 3.1996091369655915 3.210105466 0.671320897 Calling exit ...