Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.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.854/0.854, allocations: 153.8 MB / 173.5 MB, free: 4.266 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.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/2.838e-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.Fluid.Examples.SimpleExamples.TestSingularPressureLoss): time 2.119/2.119, allocations: 307.6 MB / 0.5456 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2183/2.337, allocations: 164.7 MB / 0.7065 GB, free: 13.43 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/2.338, allocations: 15.88 kB / 0.7065 GB, free: 13.41 MB / 0.5763 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/SingularPressureLoss.mo:27:3-28: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/SingularPressureLoss.mo:29:3-30: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.0001527/2.338, allocations: 41.28 kB / 0.7065 GB, free: 13.38 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.000323/2.338, allocations: 119 kB / 0.7066 GB, free: 13.26 MB / 0.5763 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.03275/2.371, allocations: 11.45 MB / 0.7178 GB, free: 1.785 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0006758/2.372, allocations: 458.7 kB / 0.7183 GB, free: 1.336 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/2.372, allocations: 175.4 kB / 0.7184 GB, free: 1.172 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/2.372, allocations: 179.4 kB / 0.7186 GB, free: 0.9961 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/2.372, allocations: 143.3 kB / 0.7187 GB, free: 0.8555 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 5.025e-05/2.372, allocations: 32 kB / 0.7188 GB, free: 0.8242 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03055/2.403, allocations: 17.96 MB / 0.7363 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.0006837/2.404, allocations: 0.6611 MB / 0.7369 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0002888/2.404, allocations: 438.2 kB / 0.7374 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/2.404, allocations: 36 kB / 0.7374 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.534e-05/2.404, allocations: 7.938 kB / 0.7374 GB, free: 13.7 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 (84) * Number of variables: 84 (84) Notification: Performance of [SIM] Bindings: time 0.002071/2.406, allocations: 1.806 MB / 0.7392 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002615/2.406, allocations: 199.3 kB / 0.7394 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.001098/2.407, allocations: 0.9584 MB / 0.7403 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 1: time 0.000267/2.408, allocations: 168.3 kB / 0.7405 GB, free: 10.37 MB / 0.6075 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.002682/2.41, allocations: 1.897 MB / 0.7423 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 2: time 0.0001254/2.411, allocations: 99.17 kB / 0.7424 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of [SIM] Remove Stream: time 6.479e-05/2.411, allocations: 60.34 kB / 0.7425 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of [SIM] Detect States: time 0.0001611/2.411, allocations: 132.7 kB / 0.7426 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of [SIM] Events: time 9.292e-05/2.411, allocations: 37.92 kB / 0.7426 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of [SIM] Partitioning: time 0.0002018/2.411, allocations: 141.7 kB / 0.7428 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of [SIM] Causalize: time 0.0004274/2.411, allocations: 298 kB / 0.743 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002753/2.412, allocations: 259.8 kB / 0.7433 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of [INI] Simplify: time 0.0004003/2.412, allocations: 293.3 kB / 0.7436 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of [INI] Inline: time 0.0006133/2.413, allocations: 452.2 kB / 0.744 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of [INI] Partitioning: time 2.742e-05/2.413, allocations: 20.05 kB / 0.744 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of [INI] Cleanup: time 5.726e-05/2.413, allocations: 59.95 kB / 0.7441 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of [INI] Causalize: time 0.0006015/2.413, allocations: 448.7 kB / 0.7445 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of [INI] Tearing: time 0.000162/2.414, allocations: 86.61 kB / 0.7446 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of [SIM] Initialization: time 5.71e-07/2.414, allocations: 4 kB / 0.7446 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of [SIM] DAE-Mode: time 0.0001354/2.414, allocations: 100.4 kB / 0.7447 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of [SIM] Remove Dummies: time 4.398e-06/2.414, allocations: 0 / 0.7447 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of [SIM] Tearing: time 0.0001004/2.414, allocations: 74.33 kB / 0.7448 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of [SIM] Categorize: time 9.428e-06/2.414, allocations: 4 kB / 0.7448 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of [SIM] Solve: time 0.000373/2.414, allocations: 219.8 kB / 0.745 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of [SIM] Jacobian: time 0.0006322/2.415, allocations: 0.6737 MB / 0.7456 GB, free: 4.531 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: ................. 8 (8) {SourceP1.C.diff_on_2, PuitsP1.fluid1, PuitsP1.fluid, singularPressureLoss.ftype, singularPressureLoss.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: ........... 13 (scalar:13, 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: ........... 25 (scalar:25, 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 6.366e-05/2.415, allocations: 37.61 kB / 0.7457 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of SimCode: time 0.04611/2.461, allocations: 17.86 MB / 0.7631 GB, free: 2.613 MB / 0.6232 GB Notification: Performance of Templates: time 0.4608/2.922, allocations: 62.3 MB / 0.8239 GB, free: 26.21 MB / 0.6232 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.850676175032277] Failed to read output from testmodel.py, exit status != 0: 3.0864160479977727 3.099102167 0.69217322 Calling exit ...