Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.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.8862/0.8862, allocations: 153.8 MB / 173.5 MB, free: 4.859 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.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.326e-05, allocations: 4.109 kB / 251.1 MB, free: 3.848 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.SimpleExamples.TestInvSingularPressureLoss): time 1.923/1.923, allocations: 307.6 MB / 0.5456 GB, free: 3.348 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5409/2.464, allocations: 164.7 MB / 0.7065 GB, free: 11.02 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004061/2.464, allocations: 7.938 kB / 0.7065 GB, free: 11.02 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourcePQ.mo:75:3-76: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/InvSingularPressureLoss.mo:30:3-31: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/InvSingularPressureLoss.mo:32:3-33: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.0002009/2.465, allocations: 43.58 kB / 0.7066 GB, free: 10.97 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0003979/2.465, allocations: 115 kB / 0.7067 GB, free: 10.86 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.03326/2.498, allocations: 11.45 MB / 0.7179 GB, free: 15.41 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0007595/2.499, allocations: 478.7 kB / 0.7183 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/2.499, allocations: 190.3 kB / 0.7185 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/2.5, allocations: 195.3 kB / 0.7187 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/2.5, allocations: 143.3 kB / 0.7188 GB, free: 14.43 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/2.5, allocations: 32 kB / 0.7189 GB, free: 14.4 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03229/2.532, allocations: 17.97 MB / 0.7364 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.0007516/2.533, allocations: 0.6843 MB / 0.7371 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0003103/2.533, allocations: 442.1 kB / 0.7375 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/2.533, allocations: 36 kB / 0.7375 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.81e-05/2.533, allocations: 20.81 kB / 0.7375 GB, free: 11.22 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.002305/2.536, allocations: 1.844 MB / 0.7393 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002987/2.536, allocations: 209 kB / 0.7395 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of [SIM] Early Inline: time 0.001427/2.537, allocations: 0.9895 MB / 0.7405 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.0003349/2.538, allocations: 187.6 kB / 0.7407 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of [SIM] Alias: time 0.003157/2.541, allocations: 1.875 MB / 0.7425 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 2: time 0.0001634/2.541, allocations: 96.17 kB / 0.7426 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of [SIM] Remove Stream: time 8.483e-05/2.541, allocations: 69.08 kB / 0.7427 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of [SIM] Detect States: time 0.0002138/2.541, allocations: 132.6 kB / 0.7428 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of [SIM] Events: time 0.0001301/2.541, allocations: 45.16 kB / 0.7429 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of [SIM] Partitioning: time 0.0002716/2.542, allocations: 162.1 kB / 0.743 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of [SIM] Causalize: time 0.0005713/2.542, allocations: 348.2 kB / 0.7433 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004301/2.543, allocations: 291.8 kB / 0.7436 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of [INI] Simplify: time 0.0006057/2.543, allocations: 365.5 kB / 0.744 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of [INI] Inline: time 0.001164/2.545, allocations: 0.5169 MB / 0.7445 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of [INI] Partitioning: time 5.125e-05/2.545, allocations: 26.75 kB / 0.7445 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of [INI] Cleanup: time 9.996e-05/2.545, allocations: 75.88 kB / 0.7446 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of [INI] Causalize: time 0.0008572/2.546, allocations: 0.5477 MB / 0.7451 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of [INI] Tearing: time 3.175e-05/2.546, allocations: 20 kB / 0.7451 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of [SIM] Initialization: time 3.015e-06/2.546, allocations: 4 kB / 0.7451 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of [SIM] DAE-Mode: time 0.0002/2.546, allocations: 97.84 kB / 0.7452 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of [SIM] Remove Dummies: time 9.267e-06/2.546, allocations: 11.94 kB / 0.7452 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of [SIM] Tearing: time 1.318e-05/2.546, allocations: 16 kB / 0.7452 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of [SIM] Categorize: time 1.439e-05/2.546, allocations: 3.984 kB / 0.7452 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of [SIM] Solve: time 0.0006908/2.547, allocations: 393 kB / 0.7456 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of [SIM] Jacobian: time 0.0004862/2.547, allocations: 0.5421 MB / 0.7462 GB, free: 1.66 MB / 0.5919 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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) {sourcePQ.C.diff_on_2, sinkQ.fluid1, sinkQ.fluid, invSingularPressureLoss.ftype, invSingularPressureLoss.fluid, invSingularPressureLoss.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: ........... 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 40 (scalar:40, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 6.567e-05/2.547, allocations: 29.17 kB / 0.7462 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0499/2.597, allocations: 17.93 MB / 0.7637 GB, free: 15.88 MB / 0.6232 GB Notification: Performance of Templates: time 0.4863/3.083, allocations: 62.66 MB / 0.8249 GB, free: 84.63 MB / 0.6544 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.127215020009317] Failed to read output from testmodel.py, exit status != 0: 3.258027027011849 3.26710362 0.7311642570000001 Calling exit ...