Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.SolarThermal.Examples.BigCollectorInstallationWithStorage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Technologies.SolarThermal.Examples.BigCollectorInstallationWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.SolarThermal.Examples.BigCollectorInstallationWithStorage") translateModel(BuildingSystems.Technologies.SolarThermal.Examples.BigCollectorInstallationWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.SolarThermal.Examples.BigCollectorInstallationWithStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 114.4 kB / 16.42 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 187.3 kB / 17.35 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 298.7 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9237/0.9237, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 95.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3759, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.SolarThermal.Examples.BigCollectorInstallationWithStorage): time 0.5918/0.9677, allocations: 282.1 MB / 1.042 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.06817/1.036, allocations: 61.55 MB / 1.103 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01094/1.047, allocations: 369.9 kB / 1.103 GB, free: 15.17 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/SolarThermal/ThermalCollector.mo:44:3-45:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/SolarThermal/ThermalCollectorInSeries.mo:50:3-51:118:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/SolarThermal/ThermalCollectorInParallel.mo:28:3-29:120:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/SolarThermal/ThermalCollector.mo:44:3-45:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/SolarThermal/ThermalCollectorInSeries.mo:50:3-51:118:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.01186/1.059, allocations: 4.803 MB / 1.108 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.02533/1.084, allocations: 10.32 MB / 1.118 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01543/1.1, allocations: 7.095 MB / 1.125 GB, free: 8.922 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.1553/1.255, allocations: 181.2 MB / 1.302 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.949/2.204, allocations: 97.16 MB / 1.396 GB, free: 16.92 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08916/2.293, allocations: 63.45 MB / 1.458 GB, free: 10.89 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06802/2.361, allocations: 51.85 MB / 1.509 GB, free: 200 kB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.02141/2.383, allocations: 7.651 MB / 1.517 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0486/2.431, allocations: 14.25 MB / 1.53 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.03061/2.462, allocations: 18.38 MB / 1.548 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.06598/2.528, allocations: 37 MB / 1.585 GB, free: 9.391 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.1265/2.654, allocations: 119.7 MB / 1.701 GB, free: 3.996 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/2.655, allocations: 4 kB / 1.701 GB, free: 3.992 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.723e-06/2.655, allocations: 3.938 kB / 1.701 GB, free: 3.988 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.002671/2.657, allocations: 0 / 1.701 GB, free: 3.988 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9829 * Number of variables: 9829 Notification: Performance of Generate backend data structure: time 0.8733/3.531, allocations: 68.67 MB / 1.768 GB, free: 479.3 MB / 1.155 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/3.531, allocations: 7.938 kB / 1.768 GB, free: 479.3 MB / 1.155 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0411/3.572, allocations: 7.636 MB / 1.776 GB, free: 476.2 MB / 1.155 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1267/3.698, allocations: 78.08 MB / 1.852 GB, free: 403 MB / 1.155 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00225/3.701, allocations: 2.948 MB / 1.855 GB, free: 400.1 MB / 1.155 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01396/3.715, allocations: 3.818 MB / 1.859 GB, free: 396.3 MB / 1.155 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1625/3.877, allocations: 77.13 MB / 1.934 GB, free: 317.6 MB / 1.155 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002239/3.88, allocations: 234.2 kB / 1.934 GB, free: 317.3 MB / 1.155 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01251/3.892, allocations: 1.587 MB / 1.936 GB, free: 315.8 MB / 1.155 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001273/3.893, allocations: 1.73 MB / 1.938 GB, free: 314.1 MB / 1.155 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1325/4.026, allocations: 73.17 MB / 2.009 GB, free: 240.9 MB / 1.155 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 1.168/5.194, allocations: 302.5 MB / 2.304 GB, free: 338.1 MB / 1.155 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08129/5.275, allocations: 57.48 MB / 2.361 GB, free: 328.7 MB / 1.155 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04013/5.315, allocations: 27.17 MB / 2.387 GB, free: 315 MB / 1.155 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 evalFunc (simulation): time 0.1455/5.461, allocations: 78.4 MB / 2.464 GB, free: 259.8 MB / 1.155 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0401/5.501, allocations: 22.89 MB / 2.486 GB, free: 236.8 MB / 1.155 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01856/5.519, allocations: 1.753 MB / 2.488 GB, free: 236 MB / 1.155 GB Notification: Performance of pre-optimization done (n=2273): time 9.803e-05/5.519, allocations: 0 / 2.488 GB, free: 236 MB / 1.155 GB Warning: The linear system: 1 : collectorInParallel.thermalCollectorInSerie[2].m_flow + collectorInParallel.thermalCollectorInSerie[1].m_flow - collectorInParallel.m_flow = 0.0 2 : (-collectorInParallel.thermalCollectorInSerie[2].m_flow) - collectorInParallel.thermalCollectorInSerie[1].m_flow - collectorInParallel.port_b.m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ collectorInParallel.thermalCollectorInSerie[2].m_flow ; collectorInParallel.thermalCollectorInSerie[1].m_flow ] = [ collectorInParallel.m_flow ; collectorInParallel.port_b.m_flow ] might be structurally or numerically singular for variable collectorInParallel.thermalCollectorInSerie[1].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: collectorInParallel.thermalCollectorInSerie[2].thermalCollector[1].dp = homotopy(BuildingSystems.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(collectorInParallel.thermalCollectorInSerie[2].m_flow, collectorInParallel.thermalCollectorInSerie[2].thermalCollector[1].res.k, collectorInParallel.thermalCollectorInSerie[2].thermalCollector[1].res.m_flow_turbulent), 2.0 * collectorInParallel.thermalCollectorInSerie[2].m_flow / collectorInParallel.thermalCollectorInSerie[2].thermalCollector[1].res.m_flow_nominal_pos) [/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 BuildingSystems.Technologies.SolarThermal.Examples.BigCollectorInstallationWithStorage could not be translated