Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadModel(ModelicaTest): time 2.469/2.469, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006124/0.0006124, allocations: 16 kB / 315 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3742, allocations: 54.87 MB / 369.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor): time 0.0653/0.4396, allocations: 39.33 MB / 409.2 MB, free: 3.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03991/0.4795, allocations: 18.71 MB / 427.9 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.4819, allocations: 47.69 kB / 427.9 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002896/0.4848, allocations: 0.6453 MB / 428.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02019/0.5051, allocations: 4.437 MB / 433 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01388/0.519, allocations: 3.03 MB / 436 MB, free: 8.387 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005127/0.5241, allocations: 1.829 MB / 437.9 MB, free: 6.551 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001873/0.526, allocations: 0.8871 MB / 438.7 MB, free: 5.641 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/0.5287, allocations: 0.9419 MB / 439.7 MB, free: 4.695 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01745/0.5461, allocations: 6.595 MB / 446.3 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004705/0.5467, allocations: 76 kB / 446.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02348/0.5702, allocations: 7.601 MB / 454 MB, free: 6.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005253/0.5708, allocations: 270.9 kB / 454.2 MB, free: 6.145 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007385/0.5715, allocations: 340.9 kB / 454.6 MB, free: 5.805 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01295/0.5845, allocations: 4.521 MB / 459.1 MB, free: 1.273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5846, allocations: 4 kB / 459.1 MB, free: 1.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.5846, allocations: 0 / 459.1 MB, free: 1.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.499e-05/0.5846, allocations: 0 / 459.1 MB, free: 1.27 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.008549/0.5932, allocations: 2.164 MB / 461.2 MB, free: 15.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.5933, allocations: 12.03 kB / 461.3 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.5969, allocations: 409.6 kB / 461.7 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/0.5997, allocations: 0.8949 MB / 462.5 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.5999, allocations: 106.6 kB / 462.7 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/0.6002, allocations: 124 kB / 462.8 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005976/0.6062, allocations: 1.66 MB / 464.4 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.13e-05/0.6063, allocations: 3.906 kB / 464.4 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/0.6065, allocations: 63.92 kB / 464.5 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.289e-05/0.6066, allocations: 50.25 kB / 464.5 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005846/0.6125, allocations: 1.355 MB / 465.9 MB, free: 10.23 MB / 394.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.01464/0.6272, allocations: 7.618 MB / 473.5 MB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004175/0.6314, allocations: 0.9281 MB / 474.5 MB, free: 1.102 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3945/1.026, allocations: 18.61 MB / 493.1 MB, free: 55.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.272e-05/1.026, allocations: 41.53 kB / 493.1 MB, free: 55.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=68): time 3.727e-06/1.026, allocations: 0 / 493.1 MB, free: 55.38 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: Valve.dp = -100000.0 + pump.medium.p [/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:7904:5-7904:89:writable] Error: Internal error Transformation module sort components failed