Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.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.8873/0.8873, allocations: 153.8 MB / 173.5 MB, free: 4.84 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.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/2.833e-05, allocations: 4.109 kB / 251.1 MB, free: 3.879 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.TestDynamicCheckValve): time 1.91/1.91, allocations: 307.8 MB / 0.5458 GB, free: 3.152 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4795/2.389, allocations: 165.1 MB / 0.707 GB, free: 10.46 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003078/2.39, allocations: 15.88 kB / 0.707 GB, free: 10.44 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.0002389/2.39, allocations: 55.44 kB / 0.7071 GB, free: 10.39 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0004275/2.39, allocations: 158.8 kB / 0.7072 GB, free: 10.23 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.03015/2.42, allocations: 11.63 MB / 0.7186 GB, free: 14.61 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0009135/2.421, allocations: 0.6095 MB / 0.7192 GB, free: 14 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003669/2.422, allocations: 242.5 kB / 0.7194 GB, free: 13.76 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000399/2.422, allocations: 251.2 kB / 0.7197 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/2.422, allocations: 199 kB / 0.7199 GB, free: 13.32 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 6.6e-05/2.422, allocations: 40 kB / 0.7199 GB, free: 13.28 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03262/2.455, allocations: 17.99 MB / 0.7375 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.0009122/2.456, allocations: 0.8623 MB / 0.7383 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0003996/2.456, allocations: 0.5358 MB / 0.7388 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.906e-05/2.456, allocations: 47.94 kB / 0.7389 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0001057/2.457, allocations: 13.16 kB / 0.7389 GB, free: 9.797 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.002692/2.459, allocations: 2.21 MB / 0.741 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003755/2.46, allocations: 277.8 kB / 0.7413 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of [SIM] Early Inline: time 0.001489/2.461, allocations: 1.232 MB / 0.7425 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 1: time 0.0003501/2.461, allocations: 217.3 kB / 0.7427 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of [SIM] Alias: time 0.003028/2.464, allocations: 2.1 MB / 0.7448 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of [SIM] Simplify 2: time 0.0001836/2.465, allocations: 129.9 kB / 0.7449 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of [SIM] Remove Stream: time 0.0001051/2.465, allocations: 97.62 kB / 0.745 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of [SIM] Detect States: time 0.000279/2.465, allocations: 197 kB / 0.7452 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of [SIM] Events: time 0.0001785/2.465, allocations: 92.67 kB / 0.7453 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of [SIM] Partitioning: time 0.0003533/2.466, allocations: 291.5 kB / 0.7455 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of [SIM] Causalize: time 0.000791/2.466, allocations: 0.5589 MB / 0.7461 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006234/2.467, allocations: 0.5893 MB / 0.7467 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of [INI] Simplify: time 0.000622/2.468, allocations: 397.8 kB / 0.747 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of [INI] Inline: time 0.001151/2.469, allocations: 0.8813 MB / 0.7479 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of [INI] Partitioning: time 4.485e-05/2.469, allocations: 30.66 kB / 0.7479 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of [INI] Cleanup: time 0.0001219/2.469, allocations: 127.9 kB / 0.748 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of [INI] Causalize: time 0.001161/2.47, allocations: 0.832 MB / 0.7489 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of [INI] Tearing: time 0.0003676/2.47, allocations: 251.4 kB / 0.7491 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of [SIM] Initialization: time 5.81e-07/2.47, allocations: 0 / 0.7491 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of [SIM] DAE-Mode: time 0.000236/2.471, allocations: 172.7 kB / 0.7493 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of [SIM] Remove Dummies: time 6.673e-06/2.471, allocations: 4 kB / 0.7493 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of [SIM] Tearing: time 0.000168/2.471, allocations: 122.8 kB / 0.7494 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of [SIM] Categorize: time 7.865e-06/2.471, allocations: 4 kB / 0.7494 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of [SIM] Solve: time 0.000915/2.472, allocations: 0.6176 MB / 0.75 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of [SIM] Jacobian: time 0.0013/2.473, allocations: 1.35 MB / 0.7513 GB, free: 12.34 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 6.86e-05/2.473, allocations: 43.66 kB / 0.7514 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of SimCode: time 0.03933/2.512, allocations: 18.34 MB / 0.7693 GB, free: 10.09 MB / 0.6232 GB Notification: Performance of Templates: time 0.4006/2.913, allocations: 64.07 MB / 0.8318 GB, free: 80.61 MB / 0.6544 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDynamicCheckValve.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.686945889960043] Failed to read output from testmodel.py, exit status != 0: 3.054280230018776 3.063899734 0.604959584 Calling exit ...