Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTank.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.SimpleExamples.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTank") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 1.009/1.009, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.895e-05/3.898e-05, allocations: 3.156 kB / 237.8 MB, free: 1.793 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.SimpleExamples.TestTank): time 1.92/1.92, allocations: 297.8 MB / 0.523 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7157/2.635, allocations: 196.4 MB / 0.7148 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009415/2.636, allocations: 16.94 kB / 0.7148 GB, free: 2.078 MB / 0.5762 GB [/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/ControlValve.mo:44:3-45:68: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/ControlValve.mo:46:3-47:66: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 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59: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 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47: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 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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67: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.0005064/2.637, allocations: 154.5 kB / 0.7149 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009994/2.638, allocations: 398.6 kB / 0.7153 GB, free: 2.078 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.04867/2.687, allocations: 14.31 MB / 0.7293 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003357/2.69, allocations: 1.771 MB / 0.731 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/2.691, allocations: 0.7972 MB / 0.7318 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/2.692, allocations: 0.6301 MB / 0.7324 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007986/2.693, allocations: 0.7065 MB / 0.7331 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/2.693, allocations: 144.4 kB / 0.7333 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04753/2.741, allocations: 21.83 MB / 0.7546 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.00284/2.744, allocations: 2.123 MB / 0.7566 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.0009225/2.745, allocations: 1.258 MB / 0.7579 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005489/2.745, allocations: 240.4 kB / 0.7581 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0003494/2.746, allocations: 45 kB / 0.7581 GB, free: 14.21 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: 311 (311) * Number of variables: 311 (307) Notification: Performance of Bindings: time 0.006133/2.752, allocations: 6.057 MB / 0.7641 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.001181/2.753, allocations: 1.048 MB / 0.7651 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.005042/2.758, allocations: 4.197 MB / 0.7692 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0004167/2.759, allocations: 328.9 kB / 0.7695 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of Alias: time 0.01062/2.769, allocations: 8.037 MB / 0.7773 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0003576/2.77, allocations: 163.2 kB / 0.7775 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of Detect States: time 0.0005384/2.77, allocations: 431.3 kB / 0.7779 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of Events: time 0.000466/2.771, allocations: 326.8 kB / 0.7782 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0008855/2.771, allocations: 0.7333 MB / 0.7789 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of Causalize: time 0.003796/2.775, allocations: 3.08 MB / 0.7819 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of After Index Reduction Inline: time 0.002064/2.777, allocations: 1.92 MB / 0.7838 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of Inline: time 0.004893/2.782, allocations: 3.375 MB / 0.7871 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of Partitioning: time 0.0002691/2.783, allocations: 135.7 kB / 0.7872 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of Cleanup: time 0.0002085/2.783, allocations: 137.9 kB / 0.7874 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of Causalize: time 0.005373/2.788, allocations: 4.205 MB / 0.7915 GB, free: 5.328 MB / 0.6075 GB Error: Internal error NBDifferentiate.differentiateBuiltinCall2Arg failed for: max Error: Internal error NBInitialization.main failed to apply modules!