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.001175/0.001175, allocations: 114.8 kB / 16.42 MB, free: 6.496 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.0009673/0.0009673, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.285/1.285, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002092, allocations: 302 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9169/0.9169, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 95.86 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3807, allocations: 86.97 MB / 0.767 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.SolarThermal.Examples.BigCollectorInstallationWithStorage): time 0.6156/0.9963, allocations: 282.1 MB / 1.042 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.07371/1.07, allocations: 61.55 MB / 1.103 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01125/1.081, allocations: 373.9 kB / 1.103 GB, free: 15.27 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.01297/1.094, allocations: 4.897 MB / 1.108 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.02781/1.122, allocations: 10.82 MB / 1.118 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01703/1.139, allocations: 7.125 MB / 1.125 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.1603/1.3, allocations: 181.5 MB / 1.302 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.9491/2.249, allocations: 97.17 MB / 1.397 GB, free: 17.05 MB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09094/2.34, allocations: 63.48 MB / 1.459 GB, free: 11.02 MB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07079/2.41, allocations: 51.85 MB / 1.51 GB, free: 184 kB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.0236/2.434, allocations: 7.652 MB / 1.517 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0514/2.486, allocations: 14.25 MB / 1.531 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.03232/2.518, allocations: 18.37 MB / 1.549 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0709/2.589, allocations: 36.86 MB / 1.585 GB, free: 8.188 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.1338/2.723, allocations: 119.7 MB / 1.702 GB, free: 3.008 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/2.723, allocations: 0 / 1.702 GB, free: 3.008 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.462e-06/2.723, allocations: 0 / 1.702 GB, free: 3.008 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.002663/2.725, allocations: 0 / 1.702 GB, free: 3.008 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.8607/3.586, allocations: 68.68 MB / 1.769 GB, free: 479.8 MB / 1.155 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/3.586, allocations: 7.75 kB / 1.769 GB, free: 479.8 MB / 1.155 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0416/3.628, allocations: 7.639 MB / 1.777 GB, free: 476.8 MB / 1.155 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1277/3.756, allocations: 78.09 MB / 1.853 GB, free: 402.2 MB / 1.155 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002151/3.758, allocations: 2.947 MB / 1.856 GB, free: 399.3 MB / 1.155 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01419/3.772, allocations: 3.809 MB / 1.86 GB, free: 395.5 MB / 1.155 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.155/3.927, allocations: 77.13 MB / 1.935 GB, free: 316.8 MB / 1.155 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002034/3.929, allocations: 238.1 kB / 1.935 GB, free: 316.5 MB / 1.155 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01242/3.941, allocations: 1.592 MB / 1.937 GB, free: 315 MB / 1.155 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001107/3.943, allocations: 1.722 MB / 1.938 GB, free: 313.3 MB / 1.155 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1266/4.069, allocations: 73.17 MB / 2.01 GB, free: 240.1 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 0.8198/4.889, allocations: 302.5 MB / 2.305 GB, free: 347.8 MB / 1.155 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08164/4.971, allocations: 57.49 MB / 2.361 GB, free: 339.5 MB / 1.155 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03982/5.011, allocations: 27.18 MB / 2.388 GB, free: 326 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.142/5.153, allocations: 78.39 MB / 2.464 GB, free: 274 MB / 1.155 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03839/5.191, allocations: 22.9 MB / 2.487 GB, free: 251 MB / 1.155 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.017/5.208, allocations: 1.752 MB / 2.489 GB, free: 250.2 MB / 1.155 GB Notification: Performance of pre-optimization done (n=2273): time 4.259e-05/5.208, allocations: 2.375 kB / 2.489 GB, free: 250.2 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