Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe.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.9216/0.9216, allocations: 153.8 MB / 173.5 MB, free: 4.859 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.TestLumpedStraightPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.591e-05, allocations: 4.109 kB / 251.1 MB, free: 3.887 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.TestLumpedStraightPipe): time 1.932/1.932, allocations: 309.3 MB / 0.5472 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5363/2.468, allocations: 167.4 MB / 0.7107 GB, free: 5.871 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009282/2.469, allocations: 23.81 kB / 0.7107 GB, free: 5.848 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/Volumes/Tank.mo:135:3-136:66:writable] Warning: Connector Ce1 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/Volumes/Tank.mo:137:3-138:74:writable] Warning: Connector Cs2 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/Volumes/Tank.mo:142:3-143:68:writable] Warning: Connector Ce2 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/Volumes/Tank.mo:144:3-145:72:writable] Warning: Connector Cs1 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/Volumes/Tank.mo:135:3-136:66:writable] Warning: Connector Ce1 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/Volumes/Tank.mo:137:3-138:74:writable] Warning: Connector Cs2 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/Volumes/Tank.mo:142:3-143:68:writable] Warning: Connector Ce2 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/Volumes/Tank.mo:144:3-145:72:writable] Warning: Connector Cs1 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). Notification: Performance of NFTyping.typeComponents: time 0.0003913/2.469, allocations: 111.4 kB / 0.7108 GB, free: 5.738 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0008923/2.47, allocations: 301.3 kB / 0.7111 GB, free: 5.441 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.0375/2.508, allocations: 12.39 MB / 0.7232 GB, free: 9.047 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.002766/2.511, allocations: 1.99 MB / 0.7252 GB, free: 7.051 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009326/2.512, allocations: 0.6866 MB / 0.7258 GB, free: 6.352 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/2.513, allocations: 0.7675 MB / 0.7266 GB, free: 5.582 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006662/2.513, allocations: 0.5614 MB / 0.7271 GB, free: 5.02 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/2.513, allocations: 128 kB / 0.7273 GB, free: 4.895 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03346/2.547, allocations: 17.18 MB / 0.744 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.002507/2.549, allocations: 2.214 MB / 0.7462 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0009288/2.55, allocations: 1.269 MB / 0.7474 GB, free: 180 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002453/2.551, allocations: 108 kB / 0.7475 GB, free: 72 kB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0001671/2.551, allocations: 31.81 kB / 0.7476 GB, free: 40 kB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 259 (259) * Number of variables: 259 (251) Notification: Performance of [SIM] Bindings: time 0.005679/2.556, allocations: 5.186 MB / 0.7526 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of [SIM] FunctionAlias: time 0.001248/2.558, allocations: 0.9818 MB / 0.7536 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of [SIM] Early Inline: time 0.004593/2.562, allocations: 4.1 MB / 0.7576 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of [SIM] Simplify 1: time 0.001491/2.564, allocations: 0.8309 MB / 0.7584 GB, free: 4.609 MB / 0.6075 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.008472/2.572, allocations: 5.797 MB / 0.7641 GB, free: 13.87 MB / 0.6232 GB Notification: Performance of [SIM] Simplify 2: time 0.0008495/2.573, allocations: 489.1 kB / 0.7645 GB, free: 13.36 MB / 0.6232 GB Notification: Performance of [SIM] Remove Stream: time 0.0002609/2.573, allocations: 212.1 kB / 0.7647 GB, free: 13.13 MB / 0.6232 GB Notification: Performance of [SIM] Detect States: time 0.000625/2.574, allocations: 0.5101 MB / 0.7652 GB, free: 12.57 MB / 0.6232 GB Notification: Performance of [SIM] Events: time 0.0004553/2.574, allocations: 295.1 kB / 0.7655 GB, free: 12.27 MB / 0.6232 GB Notification: Performance of [SIM] Partitioning: time 0.001324/2.576, allocations: 1.048 MB / 0.7665 GB, free: 11.12 MB / 0.6232 GB Notification: Performance of [SIM] Causalize: time 0.002596/2.578, allocations: 1.947 MB / 0.7684 GB, free: 9.066 MB / 0.6232 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002113/2.581, allocations: 2.014 MB / 0.7704 GB, free: 7.051 MB / 0.6232 GB Notification: Performance of [INI] Simplify: time 0.001823/2.582, allocations: 0.9781 MB / 0.7714 GB, free: 5.984 MB / 0.6232 GB Notification: Performance of [INI] Inline: time 0.003826/2.586, allocations: 2.843 MB / 0.7741 GB, free: 3.133 MB / 0.6232 GB Notification: Performance of [INI] Partitioning: time 0.0001316/2.586, allocations: 60.05 kB / 0.7742 GB, free: 3.059 MB / 0.6232 GB Notification: Performance of [INI] Cleanup: time 0.0004809/2.587, allocations: 435.5 kB / 0.7746 GB, free: 2.633 MB / 0.6232 GB Notification: Performance of [INI] Causalize: time 0.004188/2.591, allocations: 2.657 MB / 0.7772 GB, free: 15.91 MB / 0.6388 GB Notification: Performance of [INI] Tearing: time 0.0008421/2.592, allocations: 497.7 kB / 0.7777 GB, free: 15.46 MB / 0.6388 GB Notification: Performance of [SIM] Initialization: time 2.254e-06/2.592, allocations: 6.438 kB / 0.7777 GB, free: 15.45 MB / 0.6388 GB Notification: Performance of [SIM] DAE-Mode: time 0.001443/2.593, allocations: 0.802 MB / 0.7785 GB, free: 14.62 MB / 0.6388 GB Notification: Performance of [SIM] Remove Dummies: time 1.778e-05/2.593, allocations: 5 kB / 0.7785 GB, free: 14.62 MB / 0.6388 GB Notification: Performance of [SIM] Tearing: time 0.0001555/2.593, allocations: 158.4 kB / 0.7786 GB, free: 14.47 MB / 0.6388 GB Notification: Performance of [SIM] Categorize: time 4.18e-05/2.593, allocations: 7.984 kB / 0.7786 GB, free: 14.46 MB / 0.6388 GB Notification: Performance of [SIM] Solve: time 0.004791/2.598, allocations: 3.027 MB / 0.7816 GB, free: 11.58 MB / 0.6388 GB Notification: Performance of [SIM] Jacobian: time 0.004502/2.603, allocations: 4.521 MB / 0.786 GB, free: 6.555 MB / 0.6388 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 11 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * 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: ............................. 5 (5) {tank1.z, tank1.h, tank2.z, tank2.h, lumpedStraightPipe.Q} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 44 (36) {tank1.fluids, tank1.Ce1.ftype, tank1.Ce2.ftype, tank1.Cs1.ftype, tank2.fluids, tank2.Ce1.ftype, tank2.Cs2.ftype, tank2.Cs1.ftype, lumpedStraightPipe.ftype, lumpedStraightPipe.fluid, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $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: ........... 129 (scalar:129, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:0, if:2, 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: ........... 131 (scalar:131, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:0, if:2, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: Performance of backend: time 0.0001191/2.603, allocations: 79.53 kB / 0.7861 GB, free: 6.484 MB / 0.6388 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.isCompatible(tank1.fluids) " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.441540623956826] Failed to read output from testmodel.py, exit status != 0: 2.978760394034907 2.988838898 0.435388046 Calling exit ...