Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.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.8846/0.8846, allocations: 153.8 MB / 173.5 MB, free: 4.855 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.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.264e-05, allocations: 2.281 kB / 251.1 MB, free: 3.883 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.TestCheckValve): time 1.914/1.914, allocations: 307.6 MB / 0.5456 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4762/2.391, allocations: 164.8 MB / 0.7065 GB, free: 10.91 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003043/2.391, allocations: 11.94 kB / 0.7066 GB, free: 10.9 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/CheckValve.mo:37:3-38:68: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/CheckValve.mo:39:3-40:66: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.0002113/2.391, allocations: 43.52 kB / 0.7066 GB, free: 10.86 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0004307/2.391, allocations: 127.9 kB / 0.7067 GB, free: 10.73 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.02982/2.421, allocations: 11.47 MB / 0.7179 GB, free: 15.27 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0006947/2.422, allocations: 0.5025 MB / 0.7184 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/2.422, allocations: 196.1 kB / 0.7186 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/2.423, allocations: 195.3 kB / 0.7188 GB, free: 14.38 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/2.423, allocations: 155.1 kB / 0.7189 GB, free: 14.23 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 5.105e-05/2.423, allocations: 36 kB / 0.719 GB, free: 14.19 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03038/2.453, allocations: 17.97 MB / 0.7365 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.000899/2.454, allocations: 0.7317 MB / 0.7372 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0003976/2.454, allocations: 477.6 kB / 0.7377 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/2.455, allocations: 36.84 kB / 0.7377 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0001134/2.455, allocations: 15.88 kB / 0.7377 GB, free: 10.94 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: 89 (89) * Number of variables: 89 (89) Notification: Performance of [SIM] Bindings: time 0.002543/2.457, allocations: 1.962 MB / 0.7396 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002889/2.458, allocations: 208.8 kB / 0.7398 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of [SIM] Early Inline: time 0.001248/2.459, allocations: 1.056 MB / 0.7409 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.0003385/2.459, allocations: 208.8 kB / 0.7411 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of [SIM] Alias: time 0.002967/2.462, allocations: 1.957 MB / 0.743 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 2: time 0.0001781/2.462, allocations: 120.3 kB / 0.7431 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of [SIM] Remove Stream: time 8.034e-05/2.462, allocations: 72.38 kB / 0.7432 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of [SIM] Detect States: time 0.0002734/2.463, allocations: 185.2 kB / 0.7434 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of [SIM] Events: time 0.0001611/2.463, allocations: 75.03 kB / 0.7434 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of [SIM] Partitioning: time 0.0002877/2.463, allocations: 219.3 kB / 0.7436 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of [SIM] Causalize: time 0.0006555/2.464, allocations: 465.5 kB / 0.7441 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004787/2.464, allocations: 447.6 kB / 0.7445 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of [INI] Simplify: time 0.0005381/2.465, allocations: 344.4 kB / 0.7448 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of [INI] Inline: time 0.0009277/2.466, allocations: 0.6432 MB / 0.7455 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of [INI] Partitioning: time 3.404e-05/2.466, allocations: 18.75 kB / 0.7455 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of [INI] Cleanup: time 0.0001006/2.466, allocations: 91.91 kB / 0.7456 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of [INI] Causalize: time 0.001398/2.467, allocations: 0.9595 MB / 0.7465 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of [INI] Tearing: time 0.0002399/2.467, allocations: 142.5 kB / 0.7466 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of [SIM] Initialization: time 5.71e-07/2.467, allocations: 4 kB / 0.7466 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of [SIM] DAE-Mode: time 0.0001808/2.468, allocations: 127.9 kB / 0.7468 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of [SIM] Remove Dummies: time 4.679e-06/2.468, allocations: 0 / 0.7468 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of [SIM] Tearing: time 0.0001536/2.468, allocations: 94.2 kB / 0.7469 GB, free: 0.9883 MB / 0.5919 GB Notification: Performance of [SIM] Categorize: time 1.097e-05/2.468, allocations: 4 kB / 0.7469 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of [SIM] Solve: time 0.0004498/2.468, allocations: 287.5 kB / 0.7471 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of [SIM] Jacobian: time 0.001065/2.469, allocations: 1.012 MB / 0.7481 GB, free: 15.62 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: ......... 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: .................... 2 (2) {checkValve3.ouvert, pulse.T0} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 17 (17) {sourceP1.C.diff_on_2, puitsP1.fluid1, puitsP1.fluid, checkValve3.touvert, checkValve3.tferme, checkValve3.ftype, checkValve3.fluid, checkValve3.C2.diff_on_1, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $TEV_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: ........... 23 (scalar:23, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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:37, 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 8.347e-05/2.469, allocations: 30.94 kB / 0.7481 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of SimCode: time 0.0404/2.51, allocations: 17.99 MB / 0.7657 GB, free: 13.75 MB / 0.6232 GB Notification: Performance of Templates: time 0.4002/2.91, allocations: 62.73 MB / 0.827 GB, free: 83.72 MB / 0.6544 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestCheckValve.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.808661757968366] Failed to read output from testmodel.py, exit status != 0: 3.054950877034571 3.064535557 0.6072629940000001 Calling exit ...