Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003694/0.0037, allocations: 371.5 kB / 15.97 MB, free: 6.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.997/3.997, allocations: 388.9 MB / 405.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005219/0.005218, allocations: 218.6 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5881/0.5881, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006275/0.0006278, allocations: 10.69 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09424/0.0949, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer): time 0.3836/0.4786, allocations: 43.66 MB / 0.7227 GB, free: 14.76 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04397/0.5226, allocations: 20.02 MB / 0.7423 GB, free: 14.08 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003234/0.5259, allocations: 46.41 kB / 0.7423 GB, free: 14.06 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00307/0.5291, allocations: 0.6183 MB / 0.7429 GB, free: 13.89 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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.2+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.2+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.2+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.02029/0.5494, allocations: 4.397 MB / 0.7472 GB, free: 12.6 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0132/0.5626, allocations: 3.042 MB / 0.7502 GB, free: 11.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004822/0.5675, allocations: 2.776 MB / 0.7529 GB, free: 9.773 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.5694, allocations: 0.9032 MB / 0.7538 GB, free: 9.215 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002763/0.5722, allocations: 0.9284 MB / 0.7547 GB, free: 8.746 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01738/0.5896, allocations: 6.872 MB / 0.7614 GB, free: 7.055 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005848/0.5902, allocations: 75.25 kB / 0.7615 GB, free: 7.055 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02213/0.6124, allocations: 7.472 MB / 0.7688 GB, free: 15.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000791/0.6132, allocations: 285.2 kB / 0.7691 GB, free: 15.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009943/0.6143, allocations: 348.8 kB / 0.7694 GB, free: 15.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.6263, allocations: 4.609 MB / 0.7739 GB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.6263, allocations: 0 / 0.7739 GB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.6263, allocations: 0 / 0.7739 GB, free: 10.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.823e-05/0.6264, allocations: 0 / 0.7739 GB, free: 10.84 MB / 362.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.009193/0.6356, allocations: 2.203 MB / 0.776 GB, free: 8.598 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.841e-05/0.6357, allocations: 8.031 kB / 0.7761 GB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004001/0.6397, allocations: 420.7 kB / 0.7765 GB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/0.6423, allocations: 0.8995 MB / 0.7773 GB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.6425, allocations: 102.7 kB / 0.7774 GB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003076/0.6428, allocations: 139.9 kB / 0.7776 GB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005679/0.6485, allocations: 1.684 MB / 0.7792 GB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.659e-05/0.6486, allocations: 7.938 kB / 0.7792 GB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002047/0.6488, allocations: 55.95 kB / 0.7793 GB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.091e-05/0.6489, allocations: 46.36 kB / 0.7793 GB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005645/0.6546, allocations: 1.375 MB / 0.7807 GB, free: 3.754 MB / 362.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.01459/0.6692, allocations: 7.56 MB / 0.788 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/0.6733, allocations: 0.8942 MB / 0.7889 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.6746, allocations: 379.3 kB / 0.7893 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08617/0.7608, allocations: 18.63 MB / 0.8075 GB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.277e-05/0.7609, allocations: 39.22 kB / 0.8075 GB, free: 5.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 5.57e-06/0.7609, allocations: 0 / 0.8075 GB, free: 5.527 MB / 394.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