Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve.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.8866/0.8866, allocations: 153.8 MB / 173.5 MB, free: 4.285 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.Book.SimpleExamples.PressureLoss.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestThreeWayValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.338e-05, allocations: 2.281 kB / 251.1 MB, free: 3.836 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.Book.SimpleExamples.PressureLoss.TestThreeWayValve): time 2.168/2.168, allocations: 309.3 MB / 0.5472 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04364/2.212, allocations: 31.37 MB / 0.5778 GB, free: 1.434 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000535/2.212, allocations: 8 kB / 0.5778 GB, free: 1.426 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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/ThreeWayValve.mo:25:3-27:68: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/ThreeWayValve.mo:28:3-30:66:writable] Warning: Connector C2 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/ControlValve.mo:45:3-47:43: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/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 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/ThreeWayValve.mo:43:3-44:54:writable] Warning: Connector C3 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/ControlValve.mo:45:3-47:43: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/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 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/Volumes/VolumeA.mo:25:3-27:42:writable] Warning: Connector Ce1 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/Volumes/VolumeA.mo:28:3-30:37:writable] Warning: Connector Ce2 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/Volumes/VolumeA.mo:31:3-33:37:writable] Warning: Connector Cs1 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/Volumes/VolumeA.mo:38:3-40:43:writable] Warning: Connector Cs2 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/PipePressureLoss.mo:35:3-37:42: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/PipePressureLoss.mo:38:3-40:37:writable] Warning: Connector C2 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). Notification: Performance of NFTyping.typeComponents: time 0.0007569/2.213, allocations: 208.7 kB / 0.578 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007967/2.214, allocations: 345.5 kB / 0.5784 GB, free: 0.8828 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.03361/2.247, allocations: 10.05 MB / 0.5882 GB, free: 6.836 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002332/2.25, allocations: 1.386 MB / 0.5895 GB, free: 5.445 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006857/2.25, allocations: 439.3 kB / 0.59 GB, free: 5.008 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008929/2.251, allocations: 0.5294 MB / 0.5905 GB, free: 4.477 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004343/2.252, allocations: 346.1 kB / 0.5908 GB, free: 4.137 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/2.252, allocations: 76 kB / 0.5909 GB, free: 4.062 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03151/2.283, allocations: 16.23 MB / 0.6067 GB, free: 3.812 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.001822/2.285, allocations: 1.627 MB / 0.6083 GB, free: 2.164 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009352/2.286, allocations: 1.106 MB / 0.6094 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/2.286, allocations: 80 kB / 0.6095 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.0002015/2.286, allocations: 23.88 kB / 0.6095 GB, free: 0.9414 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: 223 (160) * Number of variables: 223 (223) Notification: Performance of [SIM] Bindings: time 0.005103/2.292, allocations: 4.516 MB / 0.6139 GB, free: 12.22 MB / 494.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000875/2.292, allocations: 0.7 MB / 0.6146 GB, free: 11.48 MB / 494.1 MB Notification: Performance of [SIM] Early Inline: time 0.004008/2.296, allocations: 3.702 MB / 0.6182 GB, free: 7.734 MB / 494.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008734/2.297, allocations: 453 kB / 0.6186 GB, free: 7.223 MB / 494.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.00638/2.304, allocations: 4.22 MB / 0.6228 GB, free: 2.633 MB / 494.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0005713/2.304, allocations: 321.9 kB / 0.6231 GB, free: 2.262 MB / 494.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002598/2.305, allocations: 224.1 kB / 0.6233 GB, free: 2.016 MB / 494.1 MB Notification: Performance of [SIM] Detect States: time 0.0006295/2.305, allocations: 0.5454 MB / 0.6238 GB, free: 1.41 MB / 494.1 MB Notification: Performance of [SIM] Events: time 0.0002657/2.305, allocations: 148.3 kB / 0.624 GB, free: 1.262 MB / 494.1 MB Notification: Performance of [SIM] Partitioning: time 0.001216/2.307, allocations: 1.013 MB / 0.6249 GB, free: 244 kB / 494.1 MB Notification: Performance of [SIM] Causalize: time 0.004424/2.311, allocations: 3.105 MB / 0.628 GB, free: 13.11 MB / 0.4982 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002085/2.313, allocations: 2.041 MB / 0.63 GB, free: 11.07 MB / 0.4982 GB Notification: Performance of [INI] Simplify: time 0.001731/2.315, allocations: 0.9969 MB / 0.6309 GB, free: 9.961 MB / 0.4982 GB Notification: Performance of [INI] Inline: time 0.003814/2.319, allocations: 3.235 MB / 0.6341 GB, free: 6.715 MB / 0.4982 GB Notification: Performance of [INI] Partitioning: time 0.000155/2.319, allocations: 64.06 kB / 0.6342 GB, free: 6.637 MB / 0.4982 GB Notification: Performance of [INI] Cleanup: time 0.0004552/2.319, allocations: 495.5 kB / 0.6346 GB, free: 6.152 MB / 0.4982 GB Notification: Performance of [INI] Causalize: time 0.006788/2.326, allocations: 4.567 MB / 0.6391 GB, free: 1.523 MB / 0.4982 GB Notification: Performance of [INI] Tearing: time 0.00122/2.327, allocations: 0.8515 MB / 0.6399 GB, free: 0.6992 MB / 0.4982 GB Notification: Performance of [SIM] Initialization: time 2.825e-06/2.327, allocations: 1.031 kB / 0.6399 GB, free: 0.6992 MB / 0.4982 GB Notification: Performance of [SIM] DAE-Mode: time 0.001421/2.329, allocations: 0.9325 MB / 0.6408 GB, free: 15.86 MB / 0.5138 GB Notification: Performance of [SIM] Remove Dummies: time 8.286e-06/2.329, allocations: 1 kB / 0.6408 GB, free: 15.86 MB / 0.5138 GB " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 3.948557980998885] Failed to read output from testmodel.py, exit status != 0: 2.530605444975663 2.546186669 0.25639680499999995 Calling exit ...