Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2.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.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 114.7 kB / 16.42 MB, free: 6.465 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.001102/0.001103, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.297/1.297, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002115/0.002115, allocations: 298.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9418/0.9418, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 95.86 kB / 0.6822 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.392, allocations: 86.98 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified2): time 0.667/1.059, allocations: 357.7 MB / 1.116 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.1042/1.163, allocations: 75.87 MB / 1.191 GB, free: 52 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01334/1.177, allocations: 433.5 kB / 1.191 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01659/1.193, allocations: 6.56 MB / 1.197 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03743/1.231, allocations: 14.76 MB / 1.212 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0225/1.253, allocations: 10.19 MB / 1.222 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.09582/1.349, allocations: 74.41 MB / 1.294 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02663/1.376, allocations: 20.04 MB / 1.314 GB, free: 1.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8406/2.216, allocations: 17.47 MB / 1.331 GB, free: 66.16 MB / 0.9357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02771/2.244, allocations: 16.43 MB / 1.347 GB, free: 64.12 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.008194/2.252, allocations: 1.973 MB / 1.349 GB, free: 64.12 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01842/2.271, allocations: 6.063 MB / 1.355 GB, free: 64.12 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.009457/2.28, allocations: 6.524 MB / 1.361 GB, free: 63.39 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02019/2.3, allocations: 11.22 MB / 1.372 GB, free: 60.48 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.0389/2.339, allocations: 31.18 MB / 1.403 GB, free: 57.16 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/2.339, allocations: 2.906 kB / 1.403 GB, free: 57.16 MB / 0.9357 GB Notification: Performance of FrontEnd: time 1.693e-06/2.339, allocations: 0 / 1.403 GB, free: 57.16 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.0008319/2.34, allocations: 0 / 1.403 GB, free: 57.16 MB / 0.9357 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.06581/2.406, allocations: 23.94 MB / 1.426 GB, free: 48.61 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/2.406, allocations: 10.31 kB / 1.426 GB, free: 48.61 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/2.423, allocations: 3.19 MB / 1.429 GB, free: 47.56 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04094/2.464, allocations: 20.86 MB / 1.45 GB, free: 42.4 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006001/2.465, allocations: 0.6772 MB / 1.45 GB, free: 42.38 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005242/2.47, allocations: 0.9428 MB / 1.451 GB, free: 42.36 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03461/2.504, allocations: 17.11 MB / 1.468 GB, free: 32.23 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001671/2.505, allocations: 15.69 kB / 1.468 GB, free: 32.23 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001411/2.506, allocations: 327.4 kB / 1.468 GB, free: 32.16 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002348/2.506, allocations: 374.5 kB / 1.469 GB, free: 31.81 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03023/2.536, allocations: 21.54 MB / 1.49 GB, free: 16.95 MB / 0.9357 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.1269/2.663, allocations: 82.97 MB / 1.571 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02258/2.686, allocations: 13.31 MB / 1.584 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0152/2.701, allocations: 9.81 MB / 1.593 GB, free: 5.258 MB / 1.029 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.07641/2.778, allocations: 35.53 MB / 1.628 GB, free: 1.367 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01932/2.797, allocations: 10.24 MB / 1.638 GB, free: 7.062 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02191/2.819, allocations: 5.817 MB / 1.644 GB, free: 1.402 MB / 1.076 GB Notification: Performance of pre-optimization done (n=588): time 2.584e-05/2.819, allocations: 0 / 1.644 GB, free: 1.402 MB / 1.076 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: valSouth2[1].dp = valSouth2[2].port_a.p - valSouth1[1].port_b.p [/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.Fluid.Examples.FlowSystem.Simplified2 could not be translated