Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.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.8836/0.8836, 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.Book.SimpleExamples.PressureLoss.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.284e-05, allocations: 5.891 kB / 251.1 MB, free: 3.887 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.TestControlValve): time 1.913/1.913, allocations: 307.6 MB / 0.5456 GB, free: 3.309 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.491/2.404, allocations: 165 MB / 0.7067 GB, free: 10.71 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004037/2.404, allocations: 11.94 kB / 0.7068 GB, free: 10.7 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/ControlValve.mo:44:3-45: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/ControlValve.mo:46:3-47: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.000326/2.404, allocations: 107.4 kB / 0.7069 GB, free: 10.59 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0003867/2.405, allocations: 166.9 kB / 0.707 GB, free: 10.43 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.03284/2.438, allocations: 11.61 MB / 0.7184 GB, free: 14.82 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0008007/2.438, allocations: 0.5549 MB / 0.7189 GB, free: 14.27 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/2.439, allocations: 222.7 kB / 0.7191 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/2.439, allocations: 231.2 kB / 0.7193 GB, free: 13.82 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/2.439, allocations: 187.2 kB / 0.7195 GB, free: 13.64 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 5.713e-05/2.439, allocations: 39.94 kB / 0.7195 GB, free: 13.6 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02892/2.468, allocations: 18.04 MB / 0.7372 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.0007396/2.469, allocations: 0.7269 MB / 0.7379 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0003232/2.469, allocations: 478.6 kB / 0.7383 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.358e-05/2.469, allocations: 36 kB / 0.7384 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.336e-05/2.469, allocations: 15.88 kB / 0.7384 GB, free: 10.29 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: 87 (87) * Number of variables: 87 (87) Notification: Performance of [SIM] Bindings: time 0.002304/2.472, allocations: 1.97 MB / 0.7403 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002865/2.472, allocations: 212.4 kB / 0.7405 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of [SIM] Early Inline: time 0.001183/2.473, allocations: 1.025 MB / 0.7415 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.0002865/2.474, allocations: 188.3 kB / 0.7417 GB, free: 6.684 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.002779/2.476, allocations: 1.948 MB / 0.7436 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 2: time 0.0001388/2.476, allocations: 101.3 kB / 0.7437 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of [SIM] Remove Stream: time 8.239e-05/2.477, allocations: 68.33 kB / 0.7437 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of [SIM] Detect States: time 0.0001597/2.477, allocations: 137.6 kB / 0.7439 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of [SIM] Events: time 9.195e-05/2.477, allocations: 44.05 kB / 0.7439 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of [SIM] Partitioning: time 0.0002188/2.477, allocations: 166.2 kB / 0.7441 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of [SIM] Causalize: time 0.0005301/2.478, allocations: 385.3 kB / 0.7444 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003476/2.478, allocations: 332.1 kB / 0.7448 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of [INI] Simplify: time 0.000463/2.478, allocations: 335 kB / 0.7451 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of [INI] Inline: time 0.0007023/2.479, allocations: 0.5339 MB / 0.7456 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of [INI] Partitioning: time 3.212e-05/2.479, allocations: 26.69 kB / 0.7456 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of [INI] Cleanup: time 7.018e-05/2.479, allocations: 75.92 kB / 0.7457 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of [INI] Causalize: time 0.0008885/2.48, allocations: 0.6502 MB / 0.7463 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of [INI] Tearing: time 0.000186/2.48, allocations: 115.1 kB / 0.7464 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of [SIM] Initialization: time 5.71e-07/2.48, allocations: 4 kB / 0.7464 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of [SIM] DAE-Mode: time 0.0001614/2.48, allocations: 115.4 kB / 0.7466 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of [SIM] Remove Dummies: time 4.359e-06/2.48, allocations: 0 / 0.7466 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of [SIM] Tearing: time 0.0001176/2.481, allocations: 85.14 kB / 0.7466 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of [SIM] Categorize: time 7.845e-06/2.481, allocations: 0 / 0.7466 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of [SIM] Solve: time 0.0004993/2.481, allocations: 334.5 kB / 0.747 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of [SIM] Jacobian: time 0.001004/2.482, allocations: 1.03 MB / 0.748 GB, free: 15.76 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 9 (9) {SourceP1.C.diff_on_2, PuitsP1.fluid1, PuitsP1.fluid, ControlValve.ftype, ControlValve.fluid, ControlValve.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: ........... 17 (scalar:17, 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: ........... 31 (scalar:29, array:2, 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.273e-05/2.482, allocations: 28.94 kB / 0.748 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of SimCode: time 0.04459/2.527, allocations: 18.28 MB / 0.7658 GB, free: 13.6 MB / 0.6232 GB Notification: Performance of Templates: time 0.419/2.946, allocations: 63.36 MB / 0.8277 GB, free: 83.18 MB / 0.6544 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestControlValve.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.681800225982442] Failed to read output from testmodel.py, exit status != 0: 3.10771215101704 3.117254217 0.645335078 Calling exit ...