Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|housing.T|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00267/0.002675, allocations: 350.7 kB / 15.95 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.189/3.189, allocations: 341.5 MB / 358.2 MB, free: 28.64 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.004755/0.004755, allocations: 229.3 kB / 397.9 MB, free: 6.012 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5958/0.5958, allocations: 76.09 MB / 0.5014 GB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006881/0.0006886, allocations: 8 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1109, allocations: 48.71 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer): time 0.4004/0.5114, allocations: 43.41 MB / 0.6491 GB, free: 14.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03665/0.5481, allocations: 19.91 MB / 0.6686 GB, free: 13.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/0.5505, allocations: 41.81 kB / 0.6686 GB, free: 13.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002974/0.5536, allocations: 0.6223 MB / 0.6692 GB, free: 13.48 MB / 314.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.02019/0.5738, allocations: 4.359 MB / 0.6735 GB, free: 12.69 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01427/0.5881, allocations: 3.012 MB / 0.6764 GB, free: 11.78 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005311/0.5934, allocations: 2.755 MB / 0.6791 GB, free: 10.6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.5957, allocations: 0.9014 MB / 0.68 GB, free: 10.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/0.5985, allocations: 0.9368 MB / 0.6809 GB, free: 9.566 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01475/0.6133, allocations: 6.786 MB / 0.6875 GB, free: 6.613 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000492/0.6139, allocations: 79.94 kB / 0.6876 GB, free: 6.535 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02105/0.6349, allocations: 7.345 MB / 0.6948 GB, free: 15.24 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006747/0.6357, allocations: 289.6 kB / 0.6951 GB, free: 14.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008938/0.6366, allocations: 340.9 kB / 0.6954 GB, free: 14.63 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.6481, allocations: 4.556 MB / 0.6998 GB, free: 10.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.6481, allocations: 2.953 kB / 0.6998 GB, free: 10.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.6481, allocations: 0 / 0.6998 GB, free: 10.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.456e-05/0.6482, allocations: 0 / 0.6998 GB, free: 10.32 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.008187/0.6564, allocations: 2.184 MB / 0.702 GB, free: 8.117 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.6565, allocations: 14.86 kB / 0.702 GB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003824/0.6603, allocations: 397.7 kB / 0.7024 GB, free: 7.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.663, allocations: 0.9021 MB / 0.7032 GB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.6632, allocations: 102.7 kB / 0.7033 GB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003261/0.6635, allocations: 136 kB / 0.7035 GB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005917/0.6694, allocations: 1.684 MB / 0.7051 GB, free: 4.781 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.635e-05/0.6696, allocations: 4 kB / 0.7051 GB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.6698, allocations: 58.84 kB / 0.7052 GB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.714e-05/0.6699, allocations: 54.34 kB / 0.7052 GB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005828/0.6757, allocations: 1.367 MB / 0.7066 GB, free: 3.293 MB / 330.7 MB 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.01706/0.6928, allocations: 7.547 MB / 0.7139 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006006/0.6989, allocations: 0.9033 MB / 0.7148 GB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.7007, allocations: 366.7 kB / 0.7152 GB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09005/0.7908, allocations: 18.58 MB / 0.7333 GB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.636e-05/0.7909, allocations: 43.22 kB / 0.7334 GB, free: 5.133 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 6.843e-06/0.791, allocations: 0 / 0.7334 GB, free: 5.133 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: housing.T = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(pump.medium.p, pump.medium.h, pump.heatTransfer.states[1].phase, 0).T [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed