Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01088/0.01088, allocations: 107.2 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.00118/0.00118, allocations: 172.1 kB / 15.93 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.688/1.688, allocations: 170.9 MB / 187.5 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2523/0.2523, allocations: 38.08 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004654, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08899/0.08949, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor): time 0.06437/0.1539, allocations: 39.08 MB / 411.4 MB, free: 5.672 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03759/0.1915, allocations: 18.58 MB / 430 MB, free: 3.047 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.1935, allocations: 47.69 kB / 430 MB, free: 3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003062/0.1967, allocations: 0.6453 MB / 430.7 MB, free: 2.352 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3093/0.506, allocations: 4.395 MB / 435 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01662/0.5226, allocations: 2.993 MB / 438 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005842/0.5285, allocations: 1.723 MB / 439.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/0.5312, allocations: 0.8806 MB / 440.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.5345, allocations: 0.9249 MB / 441.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01874/0.5533, allocations: 6.534 MB / 448.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004873/0.5539, allocations: 74.5 kB / 448.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0204/0.5743, allocations: 7.474 MB / 455.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006798/0.575, allocations: 268.7 kB / 455.9 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009729/0.576, allocations: 342.4 kB / 456.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.5866, allocations: 4.456 MB / 460.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5866, allocations: 0 / 460.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5866, allocations: 0 / 460.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.956e-05/0.5867, allocations: 0 / 460.7 MB, free: 11.31 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.007477/0.5942, allocations: 2.145 MB / 462.8 MB, free: 9.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.5943, allocations: 13.69 kB / 462.9 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005022/0.5948, allocations: 191.4 kB / 463 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004308/0.5991, allocations: 391.4 kB / 463.4 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/0.6017, allocations: 0.9078 MB / 464.3 MB, free: 9.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.6019, allocations: 103 kB / 464.4 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.6022, allocations: 123.6 kB / 464.6 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005341/0.6076, allocations: 1.652 MB / 466.2 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.891e-05/0.6077, allocations: 2.906 kB / 466.2 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/0.6079, allocations: 63.11 kB / 466.3 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-05/0.608, allocations: 50.06 kB / 466.3 MB, free: 8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005438/0.6134, allocations: 1.346 MB / 467.7 MB, free: 7.027 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.01195/0.6254, allocations: 7.606 MB / 475.3 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004203/0.6297, allocations: 0.9184 MB / 476.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06328/0.693, allocations: 18.57 MB / 494.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.263e-05/0.6931, allocations: 46.06 kB / 494.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=68): time 6.432e-06/0.6932, allocations: 3.984 kB / 494.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=92): time 0.08263/0.7758, allocations: 6.429 MB / 0.4895 GB, free: 5.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2576/1.033, allocations: 48.32 MB / 0.5367 GB, free: 5.77 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Electrical/Machines.mo:12803:7-12804:76:writable] Warning: Parameter motor.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=motor.Jr) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/1.035, allocations: 0.8961 MB / 0.5376 GB, free: 5.078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002094/1.036, allocations: 42.7 kB / 0.5376 GB, free: 5.043 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006917/1.036, allocations: 0.7051 MB / 0.5383 GB, free: 4.523 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004248/1.037, allocations: 330.2 kB / 0.5386 GB, free: 4.254 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/1.037, allocations: 25.06 kB / 0.5386 GB, free: 4.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/1.037, allocations: 360.5 kB / 0.539 GB, free: 3.914 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/1.039, allocations: 483.5 kB / 0.5394 GB, free: 3.598 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/1.041, allocations: 0.9602 MB / 0.5404 GB, free: 2.605 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002203/1.043, allocations: 0.5976 MB / 0.541 GB, free: 2.234 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/1.043, allocations: 8 kB / 0.541 GB, free: 2.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006178/1.05, allocations: 1.782 MB / 0.5427 GB, free: 1.004 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002569/1.052, allocations: 6.36 MB / 0.5489 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.212e-05/1.052, allocations: 16 kB / 0.5489 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01088/1.063, allocations: 1.176 MB / 0.5501 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/1.065, allocations: 315.1 kB / 0.5504 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004463/1.07, allocations: 1.756 MB / 0.5521 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/1.072, allocations: 116.4 kB / 0.5522 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/1.072, allocations: 74.55 kB / 0.5523 GB, free: 7.238 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/1.072, allocations: 4 kB / 0.5523 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007543/1.08, allocations: 1.815 MB / 0.554 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/1.08, allocations: 16 kB / 0.5541 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006504/1.086, allocations: 0.79 MB / 0.5548 GB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/1.088, allocations: 312.9 kB / 0.5551 GB, free: 5.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/1.093, allocations: 1.728 MB / 0.5568 GB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/1.095, allocations: 111.3 kB / 0.5569 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002583/1.095, allocations: 83.34 kB / 0.557 GB, free: 3.383 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.001097/1.096, allocations: 426 kB / 0.5574 GB, free: 3.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/1.096, allocations: 114.6 kB / 0.5575 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/1.108, allocations: 3.888 MB / 0.5613 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.929e-05/1.108, allocations: 43.95 kB / 0.5614 GB, free: 380 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.108, allocations: 6.906 kB / 0.5614 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/1.108, allocations: 3.984 kB / 0.5614 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/1.122, allocations: 5.938 MB / 0.5672 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/1.122, allocations: 0 / 0.5672 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/1.123, allocations: 150.3 kB / 0.5673 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008899/1.132, allocations: 1.73 MB / 0.569 GB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/1.132, allocations: 31.98 kB / 0.569 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005593/1.138, allocations: 2.467 MB / 0.5714 GB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3668/1.505, allocations: 25.29 MB / 0.5961 GB, free: 152.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/1.517, allocations: 3.957 MB / 0.6 GB, free: 151.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.518, allocations: 385.4 kB / 0.6004 GB, free: 151.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/1.518, allocations: 19.23 kB / 0.6004 GB, free: 151.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.52, allocations: 98.14 kB / 0.6005 GB, free: 151.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/1.52, allocations: 76.72 kB / 0.6006 GB, free: 151.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.52, allocations: 36.91 kB / 0.6006 GB, free: 151.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001352/1.521, allocations: 0.666 MB / 0.6012 GB, free: 151.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.521, allocations: 0 / 0.6012 GB, free: 151.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01653/1.538, allocations: 3.899 MB / 0.605 GB, free: 151.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 ($STATESET1.x,motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 21 ($cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.04237/1.58, allocations: 7.189 MB / 0.6121 GB, free: 148.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008649/1.589, allocations: 2.449 MB / 0.6145 GB, free: 147.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.589, allocations: 0 / 0.6145 GB, free: 147.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003371/1.593, allocations: 1.135 MB / 0.6156 GB, free: 147.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/1.596, allocations: 405.2 kB / 0.616 GB, free: 147.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/1.617, allocations: 17.84 MB / 0.6334 GB, free: 132.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.618, allocations: 1.429 MB / 0.6348 GB, free: 131.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00263/1.621, allocations: 0.739 MB / 0.6355 GB, free: 131.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/1.622, allocations: 0.6955 MB / 0.6362 GB, free: 130.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.272e-06/1.622, allocations: 0 / 0.6362 GB, free: 130.8 MB / 458.7 MB [CodegenUtil.tpl:197:14-197:14:writable] Error: Template error: initial value of unknown type: motor.Jr.