Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadModel(ModelicaTest): time 1.817/1.817, allocations: 209.2 MB / 225.4 MB, free: 0.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.0004253, allocations: 8 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3316, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor): time 0.06085/0.3925, allocations: 39.08 MB / 370.9 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03717/0.4297, allocations: 18.6 MB / 389.5 MB, free: 4.738 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.4318, allocations: 43.69 kB / 389.5 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002993/0.4349, allocations: 0.6453 MB / 390.2 MB, free: 4.047 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01833/0.4532, allocations: 4.394 MB / 394.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0124/0.4657, allocations: 2.997 MB / 397.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00464/0.4703, allocations: 1.821 MB / 399.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.4723, allocations: 0.8832 MB / 400.3 MB, free: 9.898 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002779/0.4751, allocations: 0.938 MB / 401.2 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01687/0.492, allocations: 6.506 MB / 407.7 MB, free: 2.445 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004059/0.4924, allocations: 76 kB / 407.8 MB, free: 2.371 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02136/0.5138, allocations: 7.484 MB / 415.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004774/0.5143, allocations: 267 kB / 415.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005938/0.5149, allocations: 340.9 kB / 415.9 MB, free: 10.28 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.5258, allocations: 4.478 MB / 420.4 MB, free: 5.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5259, allocations: 0 / 420.4 MB, free: 5.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.5259, allocations: 4 kB / 420.4 MB, free: 5.785 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.69e-05/0.5259, allocations: 3.938 kB / 420.4 MB, free: 5.781 MB / 346.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.007112/0.533, allocations: 2.14 MB / 422.5 MB, free: 3.586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5331, allocations: 12.03 kB / 422.5 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003418/0.5365, allocations: 385.8 kB / 422.9 MB, free: 3.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/0.539, allocations: 0.8871 MB / 423.8 MB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.5392, allocations: 110.5 kB / 423.9 MB, free: 2.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002841/0.5395, allocations: 139.8 kB / 424 MB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005375/0.5449, allocations: 1.66 MB / 425.7 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-05/0.545, allocations: 3.984 kB / 425.7 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.5452, allocations: 60 kB / 425.8 MB, free: 196 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.4e-05/0.5453, allocations: 54.25 kB / 425.8 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005488/0.5508, allocations: 1.348 MB / 427.2 MB, free: 14.78 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.01318/0.564, allocations: 7.603 MB / 434.8 MB, free: 6.609 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003967/0.568, allocations: 0.9342 MB / 435.7 MB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0611/0.6291, allocations: 18.57 MB / 454.3 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.097e-05/0.6292, allocations: 47.05 kB / 454.3 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 3.898e-06/0.6293, allocations: 0 / 454.3 MB, free: 0.7852 MB / 378.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