Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.8841/0.8841, allocations: 153.8 MB / 173.5 MB, free: 4.281 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.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.312e-05, allocations: 2.281 kB / 251.1 MB, free: 3.797 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.Examples.SimpleExamples.TestInvSingularPressureLoss): time 2.193/2.193, allocations: 307.4 MB / 0.5454 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03937/2.232, allocations: 30.48 MB / 0.5752 GB, free: 4.273 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/2.232, allocations: 0 / 0.5752 GB, free: 4.273 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/InvSingularPressureLoss.mo:26:3-28:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/InvSingularPressureLoss.mo:29:3-30:83:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004285/2.233, allocations: 99.41 kB / 0.5753 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/2.233, allocations: 87.33 kB / 0.5754 GB, free: 4.09 MB / 446.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.03/2.263, allocations: 9.668 MB / 0.5848 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006302/2.264, allocations: 350.6 kB / 0.5852 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/2.264, allocations: 89.64 kB / 0.5852 GB, free: 9.984 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/2.264, allocations: 151.4 kB / 0.5854 GB, free: 9.836 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/2.264, allocations: 79.58 kB / 0.5855 GB, free: 9.758 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/2.264, allocations: 16 kB / 0.5855 GB, free: 9.742 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03078/2.295, allocations: 16.17 MB / 0.6013 GB, free: 9.551 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.0004845/2.296, allocations: 427.3 kB / 0.6017 GB, free: 9.129 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002248/2.296, allocations: 296.1 kB / 0.602 GB, free: 8.836 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.118e-05/2.296, allocations: 24 kB / 0.602 GB, free: 8.812 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.537e-05/2.296, allocations: 4 kB / 0.602 GB, free: 8.809 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 (46) * Number of variables: 64 (64) Notification: Performance of [SIM] Bindings: time 0.001845/2.298, allocations: 1.436 MB / 0.6034 GB, free: 7.246 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000267/2.298, allocations: 190 kB / 0.6036 GB, free: 7.055 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.00117/2.299, allocations: 0.9998 MB / 0.6045 GB, free: 6.023 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002644/2.3, allocations: 169.1 kB / 0.6047 GB, free: 5.816 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.001807/2.301, allocations: 1.165 MB / 0.6058 GB, free: 4.512 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001799/2.302, allocations: 136.1 kB / 0.606 GB, free: 4.336 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 8.962e-05/2.302, allocations: 80.39 kB / 0.606 GB, free: 4.23 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0002027/2.302, allocations: 191.2 kB / 0.6062 GB, free: 3.988 MB / 478.1 MB Notification: Performance of [SIM] Events: time 9.285e-05/2.302, allocations: 33.53 kB / 0.6063 GB, free: 3.957 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003551/2.302, allocations: 257.2 kB / 0.6065 GB, free: 3.699 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.001151/2.303, allocations: 0.8236 MB / 0.6073 GB, free: 2.867 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005205/2.304, allocations: 0.4996 MB / 0.6078 GB, free: 2.367 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.0006338/2.305, allocations: 438.1 kB / 0.6082 GB, free: 1.875 MB / 478.1 MB Notification: Performance of [INI] Inline: time 0.001067/2.306, allocations: 0.8733 MB / 0.6091 GB, free: 1 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 5.028e-05/2.306, allocations: 25.38 kB / 0.6091 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.0001114/2.306, allocations: 119.9 kB / 0.6092 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.001603/2.307, allocations: 1.134 MB / 0.6103 GB, free: 15.7 MB / 494.1 MB Notification: Performance of [INI] Tearing: time 3.285e-05/2.307, allocations: 35.94 kB / 0.6103 GB, free: 15.67 MB / 494.1 MB Notification: Performance of [SIM] Initialization: time 4.01e-07/2.307, allocations: 0 / 0.6103 GB, free: 15.67 MB / 494.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004689/2.308, allocations: 352.9 kB / 0.6107 GB, free: 15.36 MB / 494.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.44e-06/2.308, allocations: 0 / 0.6107 GB, free: 15.36 MB / 494.1 MB Notification: Performance of [SIM] Tearing: time 3.212e-05/2.308, allocations: 51.94 kB / 0.6107 GB, free: 15.31 MB / 494.1 MB Notification: Performance of [SIM] Categorize: time 1.007e-05/2.308, allocations: 4 kB / 0.6107 GB, free: 15.3 MB / 494.1 MB Notification: Performance of [SIM] Solve: time 0.00126/2.309, allocations: 0.921 MB / 0.6116 GB, free: 14.44 MB / 494.1 MB Notification: Performance of [SIM] Jacobian: time 0.0003888/2.31, allocations: 335.1 kB / 0.612 GB, free: 14.08 MB / 494.1 MB 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: ......... 1 * 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: ................. 2 (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: ........... 30 (scalar:30, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * 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: ........... 53 (scalar:53, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * 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 5.137e-05/2.31, allocations: 31.06 kB / 0.612 GB, free: 14.05 MB / 494.1 MB Notification: Performance of SimCode: time 0.04281/2.352, allocations: 15.35 MB / 0.627 GB, free: 14.78 MB / 0.4982 GB Notification: Performance of Templates: time 0.08333/2.436, allocations: 57.78 MB / 0.6834 GB, free: 4.98 MB / 0.545 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.466590091993567] Failed to read output from testmodel.py, exit status != 0: 2.8824003509944305 2.89421245 0.59487918 Calling exit ...