Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFan.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFan") translateModel(ThermoSysPro.Examples.SimpleExamples.TestFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8513/0.8513, allocations: 150.9 MB / 167.2 MB, free: 14.49 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003806, allocations: 19.5 kB / 237.8 MB, free: 1.754 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06769/0.06808, allocations: 31.35 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): time 1.7/1.768, allocations: 299.3 MB / 0.5551 GB, free: 8.508 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1689/1.937, allocations: 152.5 MB / 0.704 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/1.938, allocations: 16 kB / 0.704 GB, free: 15.43 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/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/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.001068/1.939, allocations: 219.9 kB / 0.7042 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/1.941, allocations: 499.5 kB / 0.7047 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004129/1.945, allocations: 1.515 MB / 0.7062 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003016/1.948, allocations: 2.372 MB / 0.7085 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/1.949, allocations: 1.278 MB / 0.7097 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/1.951, allocations: 0.888 MB / 0.7106 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/1.953, allocations: 1.062 MB / 0.7116 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003221/1.953, allocations: 248 kB / 0.7119 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/1.955, allocations: 1.197 MB / 0.713 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003871/1.956, allocations: 0.5025 MB / 0.7135 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000907/1.957, allocations: 1.038 MB / 0.7145 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003034/1.96, allocations: 2.898 MB / 0.7174 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/1.96, allocations: 0 / 0.7174 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/1.96, allocations: 0 / 0.7174 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.947e-05/1.96, allocations: 4 kB / 0.7174 GB, free: 1.648 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.2271/2.187, allocations: 2.243 MB / 0.7196 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.747e-05/2.187, allocations: 8.781 kB / 0.7196 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006221/2.188, allocations: 218.6 kB / 0.7198 GB, free: 222.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/2.189, allocations: 0.7301 MB / 0.7205 GB, free: 222.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/2.189, allocations: 206.7 kB / 0.7207 GB, free: 222.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004971/2.189, allocations: 227.7 kB / 0.7209 GB, free: 222.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003873/2.193, allocations: 2.347 MB / 0.7232 GB, free: 221.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/2.193, allocations: 9.125 kB / 0.7232 GB, free: 221.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/2.194, allocations: 86.38 kB / 0.7233 GB, free: 221.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.684e-05/2.194, allocations: 50.78 kB / 0.7233 GB, free: 221.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003734/2.197, allocations: 2.08 MB / 0.7254 GB, free: 221.8 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.01085/2.208, allocations: 14.48 MB / 0.7395 GB, free: 210.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/2.21, allocations: 1.103 MB / 0.7406 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/2.211, allocations: 0.8227 MB / 0.7414 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006137/2.212, allocations: 0.4892 MB / 0.7419 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/2.213, allocations: 0.7948 MB / 0.7427 GB, free: 210.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=129): time 4.298e-06/2.213, allocations: 3.969 kB / 0.7427 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 could not be translated