Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.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.8563/0.8563, allocations: 153.8 MB / 173.5 MB, free: 4.289 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.TestRefP1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.282e-05, allocations: 2.281 kB / 251.1 MB, free: 3.801 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.TestRefP1): time 2.053/2.053, allocations: 308.7 MB / 0.5468 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2294/2.282, allocations: 170.5 MB / 0.7133 GB, free: 6.461 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000701/2.283, allocations: 11.88 kB / 0.7133 GB, free: 6.449 MB / 0.5763 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/RefP.mo:11:3-12: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/BoundaryConditions/RefP.mo:13:3-14:65:writable] Warning: Connector C2 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/Machines/StaticCentrifugalPump.mo:63:3-64: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/Machines/StaticCentrifugalPump.mo:65:3-66:65:writable] Warning: Connector C2 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/LumpedStraightPipe.mo:54:3-55: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/LumpedStraightPipe.mo:56:3-57:65:writable] Warning: Connector C2 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/Source.mo:54:3-55:52: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/Sink.mo:40:3-41: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/BoundaryConditions/RefQ.mo:11:3-12: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/BoundaryConditions/RefQ.mo:13:3-14: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.0003135/2.283, allocations: 92.44 kB / 0.7134 GB, free: 6.359 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0006914/2.284, allocations: 233.9 kB / 0.7136 GB, free: 6.129 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.0411/2.325, allocations: 13.31 MB / 0.7266 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001831/2.327, allocations: 1.016 MB / 0.7276 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006753/2.327, allocations: 454.8 kB / 0.728 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000596/2.328, allocations: 418.6 kB / 0.7284 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004205/2.328, allocations: 334.3 kB / 0.7287 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/2.328, allocations: 84 kB / 0.7288 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03522/2.364, allocations: 17.04 MB / 0.7455 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.001596/2.365, allocations: 1.547 MB / 0.747 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0006954/2.366, allocations: 0.9714 MB / 0.7479 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/2.366, allocations: 76 kB / 0.748 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0001673/2.366, allocations: 35.81 kB / 0.748 GB, free: 2.773 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: 200 (200) * Number of variables: 200 (200) Notification: Performance of [SIM] Bindings: time 0.004062/2.37, allocations: 3.732 MB / 0.7517 GB, free: 14.85 MB / 0.6232 GB Notification: Performance of [SIM] FunctionAlias: time 0.0006179/2.371, allocations: 0.5033 MB / 0.7522 GB, free: 14.35 MB / 0.6232 GB Notification: Performance of [SIM] Early Inline: time 0.002654/2.374, allocations: 2.26 MB / 0.7544 GB, free: 12.05 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 1: time 0.0006179/2.374, allocations: 359.4 kB / 0.7547 GB, free: 11.62 MB / 0.6232 GB Notification: Performance of [SIM] Alias: time 0.005787/2.38, allocations: 4.046 MB / 0.7587 GB, free: 7.25 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 2: time 0.0002604/2.38, allocations: 185.7 kB / 0.7588 GB, free: 7.023 MB / 0.6232 GB Notification: Performance of [SIM] Remove Stream: time 0.0001182/2.38, allocations: 100.2 kB / 0.7589 GB, free: 6.898 MB / 0.6232 GB Notification: Performance of [SIM] Detect States: time 0.0002775/2.381, allocations: 227.3 kB / 0.7592 GB, free: 6.621 MB / 0.6232 GB Notification: Performance of [SIM] Events: time 0.0001121/2.381, allocations: 53.98 kB / 0.7592 GB, free: 6.57 MB / 0.6232 GB Notification: Performance of [SIM] Partitioning: time 0.0004227/2.381, allocations: 332.1 kB / 0.7595 GB, free: 6.227 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.001117/2.382, allocations: 0.8004 MB / 0.7603 GB, free: 5.414 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007115/2.383, allocations: 0.6635 MB / 0.761 GB, free: 4.75 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.001028/2.384, allocations: 0.7011 MB / 0.7616 GB, free: 3.98 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.001617/2.386, allocations: 1.217 MB / 0.7628 GB, free: 2.758 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 6.698e-05/2.386, allocations: 36 kB / 0.7629 GB, free: 2.711 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0001719/2.386, allocations: 179.8 kB / 0.763 GB, free: 2.535 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.001775/2.388, allocations: 1.316 MB / 0.7643 GB, free: 1.207 MB / 0.6232 GB Notification: Performance of [INI] Tearing: time 0.000233/2.388, allocations: 154.8 kB / 0.7645 GB, free: 1.062 MB / 0.6232 GB Notification: Performance of [SIM] Initialization: time 8.02e-07/2.388, allocations: 0 / 0.7645 GB, free: 1.062 MB / 0.6232 GB Notification: Performance of [SIM] DAE-Mode: time 0.0004067/2.388, allocations: 278.3 kB / 0.7647 GB, free: 0.793 MB / 0.6232 GB Notification: Performance of [SIM] Remove Dummies: time 5.831e-06/2.388, allocations: 0 / 0.7647 GB, free: 0.793 MB / 0.6232 GB Notification: Performance of [SIM] Tearing: time 0.0001841/2.389, allocations: 152 kB / 0.7649 GB, free: 0.6523 MB / 0.6232 GB Notification: Performance of [SIM] Categorize: time 1.175e-05/2.389, allocations: 4 kB / 0.7649 GB, free: 0.6484 MB / 0.6232 GB Notification: Performance of [SIM] Solve: time 0.3936/2.782, allocations: 0.9268 MB / 0.7658 GB, free: 34.31 MB / 0.6232 GB Notification: Performance of [SIM] Jacobian: time 0.002389/2.785, allocations: 2.413 MB / 0.7681 GB, free: 32.94 MB / 0.6232 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: ......... 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: ................. 9 (9) {pump.fluid, pump.C1.diff_on_2, pump.C2.diff_on_1, lumpedStraightPipe.fluid, sink.ftype, sink.fluid1, sink.fluid, $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: ........... 28 (scalar:28, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 71 (scalar:71, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 8.194e-05/2.785, allocations: 43.73 kB / 0.7682 GB, free: 32.93 MB / 0.6232 GB Notification: Performance of SimCode: time 0.04986/2.834, allocations: 19.65 MB / 0.7874 GB, free: 30.59 MB / 0.6232 GB Notification: Performance of Templates: time 0.08021/2.915, allocations: 65.62 MB / 0.8514 GB, free: 2.461 MB / 0.6232 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.129294812039007] Failed to read output from testmodel.py, exit status != 0: 3.097442822996527 3.11026481 0.740984112 Calling exit ...