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 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8591/0.8591, allocations: 150.9 MB / 167.2 MB, free: 14.29 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/2.859e-05, allocations: 2.938 kB / 237.7 MB, free: 1.863 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestLumpedStraightPipe): time 1.915/1.915, allocations: 296.9 MB / 0.5221 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7718/2.686, allocations: 190.3 MB / 0.708 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/2.688, allocations: 17.09 kB / 0.708 GB, free: 2.18 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0004461/2.688, allocations: 118.7 kB / 0.7081 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008565/2.689, allocations: 308 kB / 0.7084 GB, free: 2.18 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.04392/2.733, allocations: 12.41 MB / 0.7205 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002973/2.736, allocations: 1.648 MB / 0.7221 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009285/2.737, allocations: 0.5792 MB / 0.7227 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009868/2.738, allocations: 0.5821 MB / 0.7233 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007571/2.739, allocations: 0.6256 MB / 0.7239 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/2.739, allocations: 128 kB / 0.724 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04051/2.779, allocations: 18.47 MB / 0.742 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.00237/2.782, allocations: 1.821 MB / 0.7438 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0006127/2.782, allocations: 1.033 MB / 0.7448 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004443/2.783, allocations: 193.8 kB / 0.745 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0003089/2.783, allocations: 35.88 kB / 0.745 GB, free: 0.7266 MB / 0.5762 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 Bindings: time 0.004834/2.788, allocations: 5.12 MB / 0.75 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0009604/2.789, allocations: 0.8486 MB / 0.7509 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.0041/2.793, allocations: 3.863 MB / 0.7546 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0004724/2.794, allocations: 329.4 kB / 0.755 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of Alias: time 0.008428/2.802, allocations: 6.37 MB / 0.7612 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0004096/2.802, allocations: 211.4 kB / 0.7614 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of Detect States: time 0.000647/2.803, allocations: 479.5 kB / 0.7618 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of Events: time 0.000508/2.804, allocations: 351.2 kB / 0.7622 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.001026/2.805, allocations: 0.8044 MB / 0.763 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of Causalize: time 0.003308/2.808, allocations: 2.811 MB / 0.7657 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.002283/2.81, allocations: 1.961 MB / 0.7676 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of Inline: time 0.003957/2.814, allocations: 3.029 MB / 0.7706 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0001968/2.814, allocations: 123.6 kB / 0.7707 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0001633/2.815, allocations: 143.8 kB / 0.7708 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of Causalize: time 0.004958/2.82, allocations: 4.002 MB / 0.7747 GB, free: 2.508 MB / 0.5919 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!