Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFan_Qin.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.Examples.SimpleExamples.TestFan_Qin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFan_Qin") translateModel(ThermoSysPro.Examples.SimpleExamples.TestFan_Qin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFan_Qin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8171/0.8171, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.000333, allocations: 19.81 kB / 237.8 MB, free: 1.758 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05362/0.05396, allocations: 31.35 MB / 269.1 MB, free: 7.004 MB / 222.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.Examples.SimpleExamples.TestFan_Qin): time 1.635/1.689, allocations: 299.2 MB / 0.555 GB, free: 8.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1623/1.852, allocations: 152.4 MB / 0.7039 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/1.853, allocations: 12 kB / 0.7039 GB, free: 15.17 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/SourcePQ.mo:18:3-19:83:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/Sink.mo:15:3-17:16:writable] Warning: Connector C is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeATh.mo:49:3-51:16:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeATh.mo:52:3-54:16:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeATh.mo:55:3-56:83:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeATh.mo:59:3-60:83:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Machines/StaticFan.mo:57:3-59:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Machines/StaticFan.mo:60:3-62:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/CheckValve.mo:27:3-28:49:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/CheckValve.mo:29:3-30:47:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeCTh.mo:49:3-51:16:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeCTh.mo:52:3-53:83:writable] Warning: Connector Cs is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeCTh.mo:56:3-57:83:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeCTh.mo:58:3-60:16:writable] Warning: Connector Ce3 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:18:3-20:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/SingularPressureLoss.mo:21:3-23:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Machines/StaticFan.mo:57:3-59:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Machines/StaticFan.mo:60:3-62:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/CheckValve.mo:27:3-28:49:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/PressureLosses/CheckValve.mo:29:3-30:47:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Junctions/Mixer2.mo:24:3-26:24:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Junctions/Mixer2.mo:27:3-28:52:writable] Warning: Connector Cs is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Junctions/Mixer2.mo:30:3-32:17:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeDTh.mo:48:3-50:16:writable] Warning: Connector Ce is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeDTh.mo:51:3-52:83:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeDTh.mo:53:3-55:16:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Volumes/VolumeDTh.mo:56:3-57:83:writable] Warning: Connector Cs3 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Sensors/TemperatureSensor.mo:10:3-12:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Sensors/TemperatureSensor.mo:13:3-15:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Sensors/TemperatureSensor.mo:10:3-12:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/Sensors/TemperatureSensor.mo:13:3-15:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (7) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0009074/1.854, allocations: 224 kB / 0.7041 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/1.855, allocations: 0.4916 MB / 0.7046 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003694/1.859, allocations: 1.492 MB / 0.7061 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002845/1.862, allocations: 2.345 MB / 0.7084 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001662/1.863, allocations: 1.26 MB / 0.7096 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/1.864, allocations: 0.8803 MB / 0.7105 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/1.866, allocations: 1.058 MB / 0.7115 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003575/1.866, allocations: 244 kB / 0.7117 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/1.868, allocations: 1.191 MB / 0.7129 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004648/1.869, allocations: 0.4986 MB / 0.7134 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009062/1.87, allocations: 1.031 MB / 0.7144 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00299/1.873, allocations: 2.871 MB / 0.7172 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.873, allocations: 0 / 0.7172 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.462e-06/1.873, allocations: 4 kB / 0.7172 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.508e-05/1.873, allocations: 0 / 0.7172 GB, free: 1.508 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.1832/2.056, allocations: 2.219 MB / 0.7194 GB, free: 223 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/2.056, allocations: 8.844 kB / 0.7194 GB, free: 223 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003618/2.056, allocations: 223.2 kB / 0.7196 GB, free: 222.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/2.057, allocations: 0.7215 MB / 0.7203 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/2.057, allocations: 206.4 kB / 0.7205 GB, free: 222.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004339/2.058, allocations: 222.5 kB / 0.7207 GB, free: 222.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003123/2.061, allocations: 2.354 MB / 0.723 GB, free: 222 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/2.061, allocations: 7.469 kB / 0.723 GB, free: 222 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/2.061, allocations: 85.66 kB / 0.7231 GB, free: 222 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/2.061, allocations: 51.34 kB / 0.7231 GB, free: 222 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003059/2.064, allocations: 2.049 MB / 0.7251 GB, free: 222 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00903/2.073, allocations: 14.52 MB / 0.7393 GB, free: 210.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/2.075, allocations: 1.095 MB / 0.7404 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/2.076, allocations: 0.8056 MB / 0.7412 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005117/2.076, allocations: 497 kB / 0.7416 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/2.078, allocations: 0.8356 MB / 0.7425 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=128): time 3.697e-06/2.078, allocations: 0 / 0.7425 GB, free: 210.2 MB / 0.5919 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume2S.T Please use -d=bltdump for more information. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: staticFan1.rho = ThermoSysPro.Properties.FlueGases.FlueGases_rho(staticFan1.P, staticFan1.T, dynamicExchanger1.Xco2, dynamicExchanger1.Xh2o, dynamicExchanger1.Xo2, dynamicExchanger1.Xso2) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model ThermoSysPro.Examples.SimpleExamples.TestFan_Qin could not be translated