Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem.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.8857/0.8857, allocations: 153.8 MB / 173.5 MB, free: 4.277 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.TestCHPEngineBarkantineSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCHPEngineBarkantineSystem") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.175e-05, allocations: 2.281 kB / 251.1 MB, free: 3.793 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.TestCHPEngineBarkantineSystem): time 2.153/2.153, allocations: 313.2 MB / 0.5511 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2569/2.41, allocations: 172.2 MB / 0.7193 GB, free: 284 kB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/2.412, allocations: 39.69 kB / 0.7194 GB, free: 244 kB / 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/Combustion/BoundaryConditions/FuelSourcePQ.mo:26:3-28:26:writable] Warning: Connector C is not balanced: The number of potential variables (13) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourcePQ.mo:75:3-76: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/Machines/InternalCombustionEngine.mo:125:3-127:24:writable] Warning: Connector Cfuel is not balanced: The number of potential variables (13) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/InternalCombustionEngine.mo:128:3-130:75:writable] Warning: Connector Cair 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/InternalCombustionEngine.mo:131:3-133:73:writable] Warning: Connector Cfg 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/InternalCombustionEngine.mo:134:3-136:75:writable] Warning: Connector Cws1 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/InternalCombustionEngine.mo:137:3-139:73:writable] Warning: Connector Cws2 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/HeatExchangers/StaticExchangerDTorWorEff.mo:73:3-74:65:writable] Warning: Connector Ec 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/HeatExchangers/StaticExchangerDTorWorEff.mo:75:3-76:67:writable] Warning: Connector Ef 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/HeatExchangers/StaticExchangerDTorWorEff.mo:77:3-78:64:writable] Warning: Connector Sf 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/HeatExchangers/StaticExchangerDTorWorEff.mo:79:3-80:63:writable] Warning: Connector Sc 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/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/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/HeatExchangers/StaticExchangerDTorWorEff.mo:73:3-74:65:writable] Warning: Connector Ec 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/HeatExchangers/StaticExchangerDTorWorEff.mo:75:3-76:67:writable] Warning: Connector Ef 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/HeatExchangers/StaticExchangerDTorWorEff.mo:77:3-78:64:writable] Warning: Connector Sf 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/HeatExchangers/StaticExchangerDTorWorEff.mo:79:3-80:63:writable] Warning: Connector Sc 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Machines/CHPEngineBarkantineSystem.mo:85:3-86:66:writable] Warning: Connector outletWaterSteam 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/CHPEngineBarkantineSystem.mo:87:3-88:68:writable] Warning: Connector inletWaterSteam 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/SourcePQ.mo:75:3-76:65:writable] Warning: Connector C 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.001566/2.414, allocations: 280 kB / 0.7196 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003919/2.418, allocations: 0.7591 MB / 0.7204 GB, free: 15.2 MB / 0.5919 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.04481/2.463, allocations: 14.17 MB / 0.7342 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006042/2.469, allocations: 3.867 MB / 0.738 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/2.471, allocations: 1.462 MB / 0.7394 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/2.474, allocations: 1.429 MB / 0.7408 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/2.476, allocations: 1.159 MB / 0.7419 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005644/2.477, allocations: 368 kB / 0.7423 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04089/2.518, allocations: 20.45 MB / 0.7623 GB, free: 4.191 MB / 0.6232 GB Notification: Performance of combineBinaries: time 0.3248/2.843, allocations: 5.105 MB / 0.7672 GB, free: 27.99 MB / 0.6232 GB Notification: Performance of replaceArrayConstructors: time 0.002846/2.845, allocations: 3.063 MB / 0.7702 GB, free: 27.74 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/2.847, allocations: 245.4 kB / 0.7705 GB, free: 27.74 MB / 0.6232 GB Notification: Performance of FrontEnd: time 0.0005589/2.847, allocations: 81.12 kB / 0.7705 GB, free: 27.74 MB / 0.6232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 610 (610) * Number of variables: 610 (609) Notification: Performance of [SIM] Bindings: time 0.01325/2.86, allocations: 11.63 MB / 0.7819 GB, free: 24.59 MB / 0.6232 GB Notification: Performance of [SIM] FunctionAlias: time 0.003949/2.864, allocations: 2.21 MB / 0.7841 GB, free: 24.18 MB / 0.6232 GB Notification: Performance of [SIM] Early Inline: time 0.0109/2.875, allocations: 8.693 MB / 0.7925 GB, free: 23.92 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 1: time 0.003419/2.879, allocations: 1.167 MB / 0.7937 GB, free: 23.48 MB / 0.6232 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.02121/2.9, allocations: 14.21 MB / 0.8076 GB, free: 20.12 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 2: time 0.001211/2.901, allocations: 0.6119 MB / 0.8082 GB, free: 19.89 MB / 0.6232 GB Notification: Performance of [SIM] Remove Stream: time 0.0003719/2.901, allocations: 346 kB / 0.8085 GB, free: 19.8 MB / 0.6232 GB Notification: Performance of [SIM] Detect States: time 0.0008463/2.902, allocations: 0.8383 MB / 0.8093 GB, free: 19.66 MB / 0.6232 GB Notification: Performance of [SIM] Events: time 0.0005144/2.903, allocations: 274.6 kB / 0.8096 GB, free: 19.61 MB / 0.6232 GB Notification: Performance of [SIM] Partitioning: time 0.001595/2.904, allocations: 1.573 MB / 0.8111 GB, free: 19.44 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.004355/2.909, allocations: 3.83 MB / 0.8148 GB, free: 19.19 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002572/2.911, allocations: 3.379 MB / 0.8181 GB, free: 19.19 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.003895/2.915, allocations: 2.425 MB / 0.8205 GB, free: 18.41 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.005139/2.92, allocations: 5.784 MB / 0.8262 GB, free: 16.22 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.0002854/2.921, allocations: 100.6 kB / 0.8263 GB, free: 16.15 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0008147/2.921, allocations: 0.8407 MB / 0.8271 GB, free: 15.63 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.00761/2.929, allocations: 5.595 MB / 0.8325 GB, free: 14.34 MB / 0.6232 GB Notification: Performance of [INI] Tearing: time 0.001446/2.93, allocations: 1.15 MB / 0.8337 GB, free: 13.96 MB / 0.6232 GB Notification: Performance of [SIM] Initialization: time 2.825e-06/2.93, allocations: 0.875 kB / 0.8337 GB, free: 13.96 MB / 0.6232 GB Notification: Performance of [SIM] DAE-Mode: time 0.001663/2.932, allocations: 1.242 MB / 0.8349 GB, free: 13.54 MB / 0.6232 GB Notification: Performance of [SIM] Remove Dummies: time 1.368e-05/2.932, allocations: 4.281 kB / 0.8349 GB, free: 13.54 MB / 0.6232 GB Notification: Performance of [SIM] Tearing: time 0.001022/2.933, allocations: 0.9428 MB / 0.8358 GB, free: 13.22 MB / 0.6232 GB Notification: Performance of [SIM] Categorize: time 3.407e-05/2.933, allocations: 10.77 kB / 0.8358 GB, free: 13.22 MB / 0.6232 GB Notification: Performance of [SIM] Solve: time 0.006743/2.94, allocations: 5.497 MB / 0.8412 GB, free: 10.95 MB / 0.6232 GB Notification: Performance of [SIM] Jacobian: time 0.012/2.952, allocations: 9.804 MB / 0.8508 GB, free: 4.531 MB / 0.6232 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 4 * 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: ................. 37 (36) {PuitsP1.ftype, PuitsP1.fluid1, PuitsP1.fluid, CHPBarkantine.Engine.fluids, CHPBarkantine.Engine.fluid_ws, CHPBarkantine.Engine.Cair.ftype, CHPBarkantine.Engine.Cws1.diff_on_2, CHPBarkantine.ExchangerWaterWater.fluid_c, CHPBarkantine.ExchangerWaterWater.fluid_f, CHPBarkantine.PDC1.fluid, CHPBarkantine.PDC1.C1.diff_on_1, CHPBarkantine.WaterSteamSink.ftype, CHPBarkantine.WaterSteamSink.fluid1, CHPBarkantine.WaterSteamSink.fluid, CHPBarkantine.PDC2.fluid, CHPBarkantine.ExchangerWaterFlueGases.fluid_c, CHPBarkantine.ExchangerWaterFlueGases.fluid_f, CHPBarkantine.silencieux.fluid, CHPBarkantine.silencieux.C1.diff_on_2, CHPBarkantine.silencieux.C2.diff_on_1, CHPBarkantine.FlueGasesSink.ftype, CHPBarkantine.FlueGasesSink.fluid1, CHPBarkantine.FlueGasesSink.fluid, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $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: ........... 103 (scalar:103, 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: ... 7 (linear: 6, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 238 (scalar:238, 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: ... 7 (linear: 6, nonlinear:1) Notification: Performance of backend: time 0.0001586/2.952, allocations: 91.02 kB / 0.8508 GB, free: 4.453 MB / 0.6232 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.isCompatible(CHPBarkantine.Engine.fluids) " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.546042315021623] Failed to read output from testmodel.py, exit status != 0: 3.171710245020222 3.185315609 0.33476964400000003 Calling exit ...