Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01076/0.01077, allocations: 107.6 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001164/0.001164, allocations: 185.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.878/1.878, allocations: 194.5 MB / 211.3 MB, free: 10.98 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2952/0.2952, allocations: 40.04 MB / 296.5 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006414/0.0006417, allocations: 16 kB / 361.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1207, allocations: 54.88 MB / 416 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer): time 0.46/0.5808, allocations: 39.41 MB / 455.4 MB, free: 32.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03128/0.6122, allocations: 18.73 MB / 474.2 MB, free: 32.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001944/0.6141, allocations: 44.88 kB / 474.2 MB, free: 32.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002659/0.6168, allocations: 0.6545 MB / 474.9 MB, free: 32.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01784/0.6347, allocations: 4.442 MB / 479.3 MB, free: 30.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01391/0.6487, allocations: 3.034 MB / 482.3 MB, free: 29.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004026/0.6527, allocations: 1.755 MB / 484.1 MB, free: 29.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.6544, allocations: 0.8979 MB / 485 MB, free: 28.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.6571, allocations: 0.9485 MB / 485.9 MB, free: 28.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0176/0.6748, allocations: 6.627 MB / 492.6 MB, free: 27.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004083/0.6752, allocations: 73.16 kB / 492.6 MB, free: 27.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02264/0.6979, allocations: 7.693 MB / 0.4886 GB, free: 25.83 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005862/0.6985, allocations: 268 kB / 0.4889 GB, free: 25.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008396/0.6994, allocations: 345.2 kB / 0.4892 GB, free: 25.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.7115, allocations: 4.56 MB / 0.4936 GB, free: 24.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7116, allocations: 0 / 0.4936 GB, free: 24.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.7116, allocations: 0 / 0.4936 GB, free: 24.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.463e-05/0.7117, allocations: 1.25 kB / 0.4937 GB, free: 24.57 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.008717/0.7204, allocations: 2.179 MB / 0.4958 GB, free: 23.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.7204, allocations: 16.78 kB / 0.4958 GB, free: 23.12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004312/0.7209, allocations: 194.4 kB / 0.496 GB, free: 22.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00373/0.7246, allocations: 412.1 kB / 0.4964 GB, free: 22.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.7272, allocations: 0.9065 MB / 0.4973 GB, free: 22.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.7274, allocations: 106.3 kB / 0.4974 GB, free: 22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/0.7277, allocations: 135.7 kB / 0.4975 GB, free: 21.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005137/0.7328, allocations: 1.669 MB / 0.4991 GB, free: 20.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.858e-05/0.7329, allocations: 6.875 kB / 0.4991 GB, free: 20.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/0.7331, allocations: 54.28 kB / 0.4992 GB, free: 20.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.714e-05/0.7332, allocations: 51.05 kB / 0.4992 GB, free: 20.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00503/0.7383, allocations: 1.372 MB / 0.5006 GB, free: 20.18 MB / 378.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.01115/0.7494, allocations: 7.579 MB / 0.508 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003582/0.753, allocations: 0.896 MB / 0.5088 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06074/0.8138, allocations: 18.63 MB / 0.527 GB, free: 9.156 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.565e-05/0.8139, allocations: 39.22 kB / 0.5271 GB, free: 9.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 3.717e-06/0.8139, allocations: 0 / 0.5271 GB, free: 9.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.06495/0.8789, allocations: 5.872 MB / 0.5328 GB, free: 3.105 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2773/1.156, allocations: 47.92 MB / 0.5796 GB, free: 2.383 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/1.158, allocations: 0.887 MB / 0.5805 GB, free: 1.477 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002196/1.158, allocations: 41.7 kB / 0.5805 GB, free: 1.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00073/1.159, allocations: 0.7082 MB / 0.5812 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004877/1.16, allocations: 339.4 kB / 0.5815 GB, free: 384 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/1.16, allocations: 28.03 kB / 0.5816 GB, free: 356 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/1.16, allocations: 357.9 kB / 0.5819 GB, free: 15.99 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/1.162, allocations: 479.7 kB / 0.5824 GB, free: 15.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/1.164, allocations: 0.9714 MB / 0.5833 GB, free: 14.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/1.167, allocations: 0.6081 MB / 0.5839 GB, free: 13.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/1.167, allocations: 4 kB / 0.5839 GB, free: 13.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.00656/1.173, allocations: 1.77 MB / 0.5856 GB, free: 11.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002777/1.176, allocations: 6.27 MB / 0.5918 GB, free: 5.172 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.75e-05/1.176, allocations: 16 kB / 0.5918 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009795/1.186, allocations: 1.071 MB / 0.5928 GB, free: 4.078 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/1.188, allocations: 307.5 kB / 0.5931 GB, free: 3.777 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/1.192, allocations: 1.616 MB / 0.5947 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/1.194, allocations: 135.8 kB / 0.5948 GB, free: 1.977 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/1.195, allocations: 83.97 kB / 0.5949 GB, free: 1.895 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.195, allocations: 4 kB / 0.5949 GB, free: 1.891 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008166/1.203, allocations: 1.856 MB / 0.5967 GB, free: 28 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/1.203, allocations: 16 kB / 0.5967 GB, free: 12 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006038/1.209, allocations: 0.7317 MB / 0.5974 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/1.211, allocations: 311.5 kB / 0.5977 GB, free: 14.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/1.214, allocations: 1.596 MB / 0.5993 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/1.217, allocations: 131.9 kB / 0.5994 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/1.217, allocations: 79.97 kB / 0.5995 GB, free: 13.11 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (149): * Single equations (assignments): 145 * Array equations: 2 * 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 8,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.001119/1.218, allocations: 425 kB / 0.5999 GB, free: 12.69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/1.219, allocations: 114.6 kB / 0.6 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009564/1.228, allocations: 3.711 MB / 0.6036 GB, free: 8.852 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007988/1.236, allocations: 3.177 MB / 0.6067 GB, free: 5.656 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.236, allocations: 3.953 kB / 0.6067 GB, free: 5.652 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.023e-05/1.236, allocations: 8.016 kB / 0.6067 GB, free: 5.645 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/1.251, allocations: 6.005 MB / 0.6126 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/1.252, allocations: 8 kB / 0.6126 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/1.253, allocations: 175.9 kB / 0.6128 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008383/1.261, allocations: 1.582 MB / 0.6143 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002316/1.262, allocations: 35.92 kB / 0.6144 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005188/1.267, allocations: 2.42 MB / 0.6167 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4641/1.731, allocations: 24.77 MB / 0.6409 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.745, allocations: 3.919 MB / 0.6447 GB, free: 132.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.747, allocations: 394.7 kB / 0.6451 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005293/1.747, allocations: 22.59 kB / 0.6451 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002404/1.75, allocations: 98.77 kB / 0.6452 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003816/1.75, allocations: 73.83 kB / 0.6453 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001763/1.75, allocations: 37.55 kB / 0.6453 GB, free: 132.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001854/1.752, allocations: 0.6375 MB / 0.646 GB, free: 131.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.752, allocations: 0 / 0.646 GB, free: 131.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02581/1.778, allocations: 3.957 MB / 0.6498 GB, free: 131.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],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,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.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 (82): * Single equations (assignments): 74 * 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 6,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.04743/1.825, allocations: 6.989 MB / 0.6567 GB, free: 129.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008389/1.834, allocations: 2.471 MB / 0.6591 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.834, allocations: 1.062 kB / 0.6591 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003604/1.838, allocations: 1.173 MB / 0.6602 GB, free: 127.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/1.841, allocations: 402.5 kB / 0.6606 GB, free: 127.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/1.866, allocations: 17.93 MB / 0.6781 GB, free: 112.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/1.867, allocations: 1.443 MB / 0.6795 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002715/1.87, allocations: 0.7109 MB / 0.6802 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/1.872, allocations: 0.7072 MB / 0.6809 GB, free: 111.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/1.872, allocations: 0 / 0.6809 GB, free: 111.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7717/2.643, allocations: 189 MB / 0.8654 GB, free: 40.78 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/2.644, allocations: 288.3 kB / 0.8657 GB, free: 40.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.74/21.39, allocations: 0 / 0.8657 GB, free: 40.43 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat