Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.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.88/0.88, allocations: 153.8 MB / 173.5 MB, free: 4.867 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.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/2.889e-05, allocations: 3.594 kB / 251.1 MB, free: 3.867 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.TestDynamicCheckValve): time 1.926/1.926, allocations: 307.9 MB / 0.5459 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5865/2.512, allocations: 165.1 MB / 0.7071 GB, free: 10.32 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004225/2.512, allocations: 15.88 kB / 0.7071 GB, free: 10.3 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/DynamicCheckValve.mo:56:3-57: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/DynamicCheckValve.mo:58:3-59: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.0004304/2.513, allocations: 60 kB / 0.7072 GB, free: 10.24 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.001099/2.514, allocations: 154.8 kB / 0.7073 GB, free: 10.09 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.04044/2.554, allocations: 11.63 MB / 0.7187 GB, free: 14.47 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001105/2.556, allocations: 0.6169 MB / 0.7193 GB, free: 13.85 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004587/2.556, allocations: 234.7 kB / 0.7195 GB, free: 13.62 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/2.556, allocations: 255.1 kB / 0.7198 GB, free: 13.37 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/2.557, allocations: 199 kB / 0.72 GB, free: 13.18 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 6.305e-05/2.557, allocations: 40 kB / 0.72 GB, free: 13.14 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03833/2.595, allocations: 17.98 MB / 0.7376 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.001012/2.596, allocations: 0.8584 MB / 0.7384 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0004831/2.597, allocations: 0.5513 MB / 0.7389 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.18e-05/2.597, allocations: 40 kB / 0.739 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0001124/2.597, allocations: 15.94 kB / 0.739 GB, free: 9.652 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: 95 (95) * Number of variables: 95 (95) Notification: Performance of [SIM] Bindings: time 0.002862/2.6, allocations: 2.214 MB / 0.7412 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003899/2.6, allocations: 272.2 kB / 0.7414 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of [SIM] Early Inline: time 0.001572/2.602, allocations: 1.228 MB / 0.7426 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.0003956/2.602, allocations: 217.2 kB / 0.7428 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of [SIM] Alias: time 0.00325/2.605, allocations: 2.103 MB / 0.7449 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 2: time 0.000205/2.606, allocations: 133 kB / 0.745 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of [SIM] Remove Stream: time 0.0001134/2.606, allocations: 85.64 kB / 0.7451 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of [SIM] Detect States: time 0.0003423/2.606, allocations: 210.9 kB / 0.7453 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of [SIM] Events: time 0.0001923/2.606, allocations: 91.41 kB / 0.7454 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of [SIM] Partitioning: time 0.000396/2.607, allocations: 289.5 kB / 0.7456 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of [SIM] Causalize: time 0.000835/2.607, allocations: 0.556 MB / 0.7462 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006698/2.608, allocations: 0.5854 MB / 0.7468 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of [INI] Simplify: time 0.0006857/2.609, allocations: 400.5 kB / 0.7471 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of [INI] Inline: time 0.001376/2.61, allocations: 0.889 MB / 0.748 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of [INI] Partitioning: time 4.477e-05/2.61, allocations: 26.73 kB / 0.748 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of [INI] Cleanup: time 0.0001259/2.61, allocations: 131.9 kB / 0.7482 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of [INI] Causalize: time 0.001218/2.612, allocations: 0.8322 MB / 0.749 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of [INI] Tearing: time 0.0003875/2.612, allocations: 245.4 kB / 0.7492 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of [SIM] Initialization: time 6.91e-07/2.612, allocations: 1.219 kB / 0.7492 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of [SIM] DAE-Mode: time 0.0002644/2.612, allocations: 179.8 kB / 0.7494 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of [SIM] Remove Dummies: time 4.999e-06/2.612, allocations: 0 / 0.7494 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of [SIM] Tearing: time 0.0001643/2.612, allocations: 118.5 kB / 0.7495 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of [SIM] Categorize: time 9.719e-06/2.612, allocations: 0 / 0.7495 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of [SIM] Solve: time 0.0009694/2.613, allocations: 0.6279 MB / 0.7501 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of [SIM] Jacobian: time 0.001409/2.615, allocations: 1.351 MB / 0.7514 GB, free: 12.2 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: ............... 1 * 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: ............................. 2 (2) {checkValve.theta, checkValve.omega} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 15 (15) {sourceP1.C.diff_on_2, puitsP1.fluid1, puitsP1.fluid, checkValve.ftype, checkValve.fluid, checkValve.libre, checkValve.C2.diff_on_1, $FUN_5, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 32 (scalar:32, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:0, if:1, 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: ........... 41 (scalar:41, 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.181e-05/2.615, allocations: 39.59 kB / 0.7515 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of SimCode: time 0.05107/2.666, allocations: 18.34 MB / 0.7694 GB, free: 9.945 MB / 0.6232 GB Notification: Performance of Templates: time 0.4329/3.099, allocations: 64.07 MB / 0.8319 GB, free: 80.58 MB / 0.6544 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicCheckValve.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.17018612404354] Failed to read output from testmodel.py, exit status != 0: 3.247460368962493 3.256532257 0.657184137 Calling exit ...