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.8112/0.8112, allocations: 150.9 MB / 167.2 MB, free: 14.6 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 15.55 kB / 237.8 MB, free: 1.66 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05733/0.0577, allocations: 31.35 MB / 269.1 MB, free: 7.039 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.617/1.675, allocations: 299.3 MB / 0.5551 GB, free: 8.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1525/1.827, allocations: 152.4 MB / 0.7039 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/1.828, allocations: 16 kB / 0.7039 GB, free: 15.46 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.001061/1.83, allocations: 213.7 kB / 0.7042 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/1.832, allocations: 499.4 kB / 0.7046 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005114/1.837, allocations: 1.496 MB / 0.7061 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003407/1.84, allocations: 2.337 MB / 0.7084 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/1.842, allocations: 1.244 MB / 0.7096 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/1.843, allocations: 0.8763 MB / 0.7104 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/1.845, allocations: 1.047 MB / 0.7115 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005369/1.845, allocations: 240 kB / 0.7117 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/1.848, allocations: 1.193 MB / 0.7129 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007014/1.849, allocations: 0.4985 MB / 0.7133 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001553/1.85, allocations: 1.027 MB / 0.7143 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003531/1.854, allocations: 2.863 MB / 0.7171 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/1.854, allocations: 0 / 0.7171 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/1.854, allocations: 4 kB / 0.7171 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.015e-05/1.854, allocations: 0 / 0.7171 GB, free: 1.855 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.2033/2.057, allocations: 2.201 MB / 0.7193 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/2.057, allocations: 8.344 kB / 0.7193 GB, free: 222.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007005/2.058, allocations: 218 kB / 0.7195 GB, free: 222.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/2.059, allocations: 0.7201 MB / 0.7202 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/2.06, allocations: 204.6 kB / 0.7204 GB, free: 222.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006704/2.06, allocations: 226 kB / 0.7206 GB, free: 222.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004579/2.065, allocations: 2.326 MB / 0.7229 GB, free: 221.6 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.564e-05/2.065, allocations: 8.812 kB / 0.7229 GB, free: 221.6 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002209/2.065, allocations: 85.25 kB / 0.723 GB, free: 221.6 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-05/2.065, allocations: 52.28 kB / 0.723 GB, free: 221.6 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003779/2.069, allocations: 2.019 MB / 0.725 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.01138/2.08, allocations: 14.6 MB / 0.7393 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/2.082, allocations: 1.049 MB / 0.7403 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/2.083, allocations: 0.7946 MB / 0.7411 GB, free: 210.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005786/2.084, allocations: 495.2 kB / 0.7415 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/2.085, allocations: 0.7527 MB / 0.7423 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=127): time 3.657e-06/2.085, allocations: 0 / 0.7423 GB, free: 209.8 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