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.8654/0.8654, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003873, allocations: 17.48 kB / 237.8 MB, free: 1.766 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06462/0.06503, allocations: 31.36 MB / 269.1 MB, free: 7.027 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.683/1.748, allocations: 299.4 MB / 0.5552 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.173/1.921, allocations: 152.4 MB / 0.7041 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/1.922, allocations: 8 kB / 0.7041 GB, free: 15.49 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.001135/1.923, allocations: 225.5 kB / 0.7043 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/1.925, allocations: 495.4 kB / 0.7048 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004397/1.93, allocations: 1.503 MB / 0.7062 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003493/1.933, allocations: 2.36 MB / 0.7085 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00191/1.935, allocations: 1.26 MB / 0.7098 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/1.936, allocations: 0.8725 MB / 0.7106 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/1.938, allocations: 1.062 MB / 0.7116 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000598/1.939, allocations: 244 kB / 0.7119 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/1.942, allocations: 1.189 MB / 0.713 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007754/1.943, allocations: 0.4947 MB / 0.7135 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001625/1.944, allocations: 1.038 MB / 0.7145 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003788/1.948, allocations: 2.876 MB / 0.7173 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.948, allocations: 0 / 0.7173 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.128e-06/1.948, allocations: 3.984 kB / 0.7174 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.605e-05/1.948, allocations: 0 / 0.7174 GB, free: 1.805 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.2021/2.15, allocations: 2.275 MB / 0.7196 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/2.15, allocations: 7.938 kB / 0.7196 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/2.151, allocations: 227.2 kB / 0.7198 GB, free: 222.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008606/2.151, allocations: 0.7285 MB / 0.7205 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/2.152, allocations: 204.8 kB / 0.7207 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004724/2.152, allocations: 223.7 kB / 0.7209 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003492/2.156, allocations: 2.352 MB / 0.7232 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/2.156, allocations: 9.344 kB / 0.7232 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/2.156, allocations: 81.75 kB / 0.7233 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/2.156, allocations: 52.52 kB / 0.7234 GB, free: 221.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003377/2.159, allocations: 2.053 MB / 0.7254 GB, free: 221.6 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.009729/2.169, allocations: 14.55 MB / 0.7396 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/2.171, allocations: 1.092 MB / 0.7406 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/2.172, allocations: 0.8056 MB / 0.7414 GB, free: 210.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005684/2.172, allocations: 0.4883 MB / 0.7419 GB, free: 210 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001216/2.174, allocations: 0.8306 MB / 0.7427 GB, free: 210 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=128): time 3.627e-06/2.174, allocations: 0 / 0.7427 GB, free: 210 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