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.001568/0.001568, allocations: 109.9 kB / 16.41 MB, free: 6.461 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.001741/0.001741, allocations: 189.5 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.302/1.302, allocations: 222.9 MB / 241 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.002052/0.002052, allocations: 288.9 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.9102/0.9102, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 95.84 kB / 0.6822 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3713, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified2): time 0.6423/1.014, allocations: 357.7 MB / 1.116 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.102/1.116, allocations: 75.87 MB / 1.191 GB, free: 80 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0134/1.129, allocations: 433.5 kB / 1.191 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01803/1.147, allocations: 6.427 MB / 1.197 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03757/1.185, allocations: 14.1 MB / 1.211 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02282/1.208, allocations: 10.18 MB / 1.221 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.09326/1.301, allocations: 74.32 MB / 1.294 GB, free: 6.449 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02592/1.327, allocations: 20.05 MB / 1.313 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8682/2.195, allocations: 17.44 MB / 1.33 GB, free: 65.54 MB / 0.9357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02882/2.224, allocations: 16.43 MB / 1.346 GB, free: 63.69 MB / 0.9357 GB Notification: Performance of NFPackage.collectConstants: time 0.008779/2.233, allocations: 1.97 MB / 1.348 GB, free: 63.69 MB / 0.9357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02054/2.253, allocations: 6.063 MB / 1.354 GB, free: 63.69 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.01105/2.264, allocations: 6.518 MB / 1.36 GB, free: 62.96 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02293/2.287, allocations: 11.22 MB / 1.371 GB, free: 60.04 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.04152/2.329, allocations: 31.18 MB / 1.402 GB, free: 56.74 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/2.329, allocations: 3.938 kB / 1.402 GB, free: 56.74 MB / 0.9357 GB Notification: Performance of FrontEnd: time 1.182e-06/2.329, allocations: 0 / 1.402 GB, free: 56.74 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.0008614/2.33, allocations: 0 / 1.402 GB, free: 56.74 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.06868/2.398, allocations: 23.94 MB / 1.425 GB, free: 48.18 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/2.398, allocations: 10.91 kB / 1.425 GB, free: 48.18 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01907/2.418, allocations: 3.194 MB / 1.428 GB, free: 47.13 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04379/2.461, allocations: 20.85 MB / 1.449 GB, free: 42.02 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007025/2.462, allocations: 0.6732 MB / 1.449 GB, free: 42.01 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005369/2.467, allocations: 0.9483 MB / 1.45 GB, free: 41.99 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04194/2.509, allocations: 17.11 MB / 1.467 GB, free: 32.22 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004878/2.51, allocations: 9.438 kB / 1.467 GB, free: 32.21 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004641/2.515, allocations: 338.8 kB / 1.467 GB, free: 32.14 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003907/2.515, allocations: 365.7 kB / 1.468 GB, free: 31.8 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03897/2.554, allocations: 21.54 MB / 1.489 GB, free: 16.94 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.1451/2.699, allocations: 82.97 MB / 1.57 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02441/2.724, allocations: 13.31 MB / 1.583 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0166/2.74, allocations: 9.798 MB / 1.592 GB, free: 5.004 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.08041/2.821, allocations: 35.54 MB / 1.627 GB, free: 1.105 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02088/2.842, allocations: 10.25 MB / 1.637 GB, free: 6.793 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02271/2.864, allocations: 5.808 MB / 1.643 GB, free: 1.141 MB / 1.076 GB Notification: Performance of pre-optimization done (n=588): time 3.088e-05/2.864, allocations: 4 kB / 1.643 GB, free: 1.137 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