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.912/0.912, allocations: 153.8 MB / 173.5 MB, free: 4.844 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.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 - Absyn->SCode: time 2.277e-05/2.277e-05, allocations: 2.281 kB / 251.1 MB, free: 3.863 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.TestBend): time 1.981/1.981, allocations: 307.7 MB / 0.5457 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5193/2.501, allocations: 167.5 MB / 0.7092 GB, free: 8.109 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003979/2.501, allocations: 11.94 kB / 0.7092 GB, free: 8.098 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/Bend.mo:57:3-58: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/Bend.mo:59:3-60:67: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.0005112/2.502, allocations: 203.2 kB / 0.7094 GB, free: 7.898 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0005326/2.502, allocations: 286.7 kB / 0.7097 GB, free: 7.617 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.03559/2.538, allocations: 12.45 MB / 0.7218 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001004/2.539, allocations: 0.6785 MB / 0.7225 GB, free: 10.49 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/2.539, allocations: 265.5 kB / 0.7228 GB, free: 10.23 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005033/2.54, allocations: 319.1 kB / 0.7231 GB, free: 9.914 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/2.54, allocations: 298.8 kB / 0.7233 GB, free: 9.621 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/2.54, allocations: 44 kB / 0.7234 GB, free: 9.578 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03317/2.573, allocations: 19.05 MB / 0.742 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.0009947/2.574, allocations: 0.8509 MB / 0.7428 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0004876/2.575, allocations: 0.5329 MB / 0.7433 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/2.575, allocations: 40 kB / 0.7434 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0001076/2.575, allocations: 15.88 kB / 0.7434 GB, free: 5.051 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: 99 (99) * Number of variables: 99 (99) Notification: Performance of [SIM] Bindings: time 0.002717/2.578, allocations: 2.25 MB / 0.7456 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003595/2.578, allocations: 271.3 kB / 0.7458 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of [SIM] Early Inline: time 0.001555/2.58, allocations: 1.216 MB / 0.747 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.0003697/2.58, allocations: 205.9 kB / 0.7472 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of [SIM] Alias: time 0.003447/2.583, allocations: 2.193 MB / 0.7494 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.0002195/2.584, allocations: 146.4 kB / 0.7495 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 9.542e-05/2.584, allocations: 72.39 kB / 0.7496 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.0002376/2.584, allocations: 168.8 kB / 0.7497 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 0.0001519/2.584, allocations: 67.7 kB / 0.7498 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.0003645/2.585, allocations: 243.6 kB / 0.75 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.000807/2.585, allocations: 0.5322 MB / 0.7506 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006487/2.586, allocations: 481.6 kB / 0.751 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of [INI] Simplify: time 0.0007124/2.587, allocations: 415.4 kB / 0.7514 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of [INI] Inline: time 0.001264/2.588, allocations: 0.7563 MB / 0.7522 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of [INI] Partitioning: time 4.541e-05/2.588, allocations: 18.75 kB / 0.7522 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of [INI] Cleanup: time 0.0001156/2.588, allocations: 111.9 kB / 0.7523 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of [INI] Causalize: time 0.001809/2.59, allocations: 1.334 MB / 0.7536 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of [INI] Tearing: time 0.0003156/2.59, allocations: 181.8 kB / 0.7538 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of [SIM] Initialization: time 7.32e-07/2.59, allocations: 0 / 0.7538 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of [SIM] DAE-Mode: time 0.0002661/2.591, allocations: 171.2 kB / 0.7539 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of [SIM] Remove Dummies: time 7.654e-06/2.591, allocations: 4 kB / 0.7539 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of [SIM] Tearing: time 0.0002059/2.591, allocations: 140.9 kB / 0.7541 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of [SIM] Categorize: time 1.539e-05/2.591, allocations: 4 kB / 0.7541 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of [SIM] Solve: time 0.0007427/2.592, allocations: 493 kB / 0.7545 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of [SIM] Jacobian: time 0.00198/2.593, allocations: 1.566 MB / 0.7561 GB, free: 7.398 MB / 0.6075 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: ......... 4 * 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: ................. 11 (11) {SourceP1.C.diff_on_2, SinkP1.fluid1, SinkP1.fluid, Bend.ftype, Bend.fluid, Bend.C2.diff_on_1, $SEV_4, $SEV_3, $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: ........... 20 (scalar:20, 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: ........... 37 (scalar:33, array:4, 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 7.929e-05/2.594, allocations: 25.64 kB / 0.7561 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of SimCode: time 0.04807/2.642, allocations: 20.29 MB / 0.7759 GB, free: 3.141 MB / 0.6232 GB Notification: Performance of Templates: time 0.422/3.064, allocations: 68.5 MB / 0.8428 GB, free: 76.1 MB / 0.6544 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.194367027026601] Failed to read output from testmodel.py, exit status != 0: 3.230210479989182 3.2381901 0.6606827580000001 Calling exit ...