Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFan_Pin.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_Pin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFan_Pin") translateModel(ThermoSysPro.Examples.SimpleExamples.TestFan_Pin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestFan_Pin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8658/0.8658, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 21.34 kB / 237.8 MB, free: 1.746 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05787/0.05824, allocations: 31.35 MB / 269.1 MB, free: 7.008 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_Pin): time 1.732/1.791, allocations: 299.3 MB / 0.5551 GB, free: 8.594 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1725/1.963, allocations: 152.4 MB / 0.704 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/1.965, allocations: 8 kB / 0.704 GB, free: 15.54 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/FlueGases/BoundaryConditions/SourceP.mo:17:3-18: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/SinkP.mo:16:3-18: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.001147/1.966, allocations: 222.1 kB / 0.7042 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002093/1.968, allocations: 495.4 kB / 0.7047 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004787/1.973, allocations: 1.492 MB / 0.7062 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00356/1.976, allocations: 2.341 MB / 0.7084 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/1.978, allocations: 1.258 MB / 0.7097 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/1.98, allocations: 0.8763 MB / 0.7105 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/1.982, allocations: 1.047 MB / 0.7115 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006873/1.982, allocations: 240 kB / 0.7118 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/1.985, allocations: 1.197 MB / 0.7129 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004927/1.986, allocations: 0.4947 MB / 0.7134 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001146/1.987, allocations: 1.023 MB / 0.7144 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003426/1.991, allocations: 2.867 MB / 0.7172 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.991, allocations: 4 kB / 0.7172 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.154e-06/1.991, allocations: 0 / 0.7172 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.575e-05/1.991, allocations: 0 / 0.7172 GB, free: 1.918 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: 507 * Number of variables: 507 Notification: Performance of Generate backend data structure: time 0.2085/2.199, allocations: 2.2 MB / 0.7194 GB, free: 223.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/2.199, allocations: 9.188 kB / 0.7194 GB, free: 223.3 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004731/2.2, allocations: 218.6 kB / 0.7196 GB, free: 223.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009458/2.201, allocations: 0.7209 MB / 0.7203 GB, free: 222.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/2.201, allocations: 204.1 kB / 0.7205 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004697/2.201, allocations: 224.6 kB / 0.7207 GB, free: 222.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003783/2.205, allocations: 2.32 MB / 0.723 GB, free: 222.4 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/2.205, allocations: 9.75 kB / 0.723 GB, free: 222.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/2.205, allocations: 86.81 kB / 0.7231 GB, free: 222.4 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/2.205, allocations: 53.62 kB / 0.7231 GB, free: 222.4 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003345/2.209, allocations: 2.018 MB / 0.7251 GB, free: 222.3 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.01062/2.219, allocations: 14.6 MB / 0.7393 GB, free: 211 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/2.221, allocations: 1.066 MB / 0.7404 GB, free: 211 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001075/2.222, allocations: 0.782 MB / 0.7412 GB, free: 211 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006052/2.223, allocations: 500 kB / 0.7416 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/2.224, allocations: 0.7498 MB / 0.7424 GB, free: 210.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=127): time 4.919e-06/2.224, allocations: 0 / 0.7424 GB, free: 210.5 MB / 0.5919 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: 0.0 = if singularPressureLossFlueGases2.ouvert then singularPressureLossFlueGases2.deltaP + (-0.5) * singularPressureLossFlueGases2.k * ThermoSysPro.Functions.ThermoSquare(singularPressureLossFlueGases1.Q, singularPressureLossFlueGases2.eps) / singularPressureLossFlueGases2.rho else singularPressureLossFlueGases1.Q - singularPressureLossFlueGases2.Qmin [/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_Pin could not be translated