Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01009/0.01009, allocations: 164.9 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.615/1.615, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002698/0.002698, allocations: 103.4 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5049/0.5049, allocations: 38.05 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004539, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1119, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.125, allocations: 309.6 MB / 0.7044 GB, free: 36.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/1.125, allocations: 84.23 kB / 0.7045 GB, free: 36.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7943/1.919, allocations: 163.6 MB / 0.8643 GB, free: 46.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.919, allocations: 4 kB / 0.8643 GB, free: 46.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.497e-05/1.92, allocations: 16 kB / 0.8643 GB, free: 46.74 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003959/1.924, allocations: 1.143 MB / 0.8654 GB, free: 45.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.924, allocations: 12.03 kB / 0.8654 GB, free: 45.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002728/1.924, allocations: 102.5 kB / 0.8655 GB, free: 45.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005078/1.924, allocations: 102.2 kB / 0.8656 GB, free: 45.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/1.926, allocations: 0.6206 MB / 0.8662 GB, free: 44.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/1.926, allocations: 41.31 kB / 0.8663 GB, free: 44.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/1.926, allocations: 55.94 kB / 0.8663 GB, free: 44.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/1.929, allocations: 0.8329 MB / 0.8671 GB, free: 43.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/1.929, allocations: 0 / 0.8671 GB, free: 43.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/1.929, allocations: 29.02 kB / 0.8671 GB, free: 43.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/1.929, allocations: 25 kB / 0.8672 GB, free: 43.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/1.931, allocations: 0.7884 MB / 0.8679 GB, free: 42.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006526/1.938, allocations: 3.304 MB / 0.8712 GB, free: 39.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/1.94, allocations: 480.9 kB / 0.8716 GB, free: 38.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004004/1.94, allocations: 0.5704 MB / 0.8722 GB, free: 38.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/1.94, allocations: 40.44 kB / 0.8722 GB, free: 38.14 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001198/1.941, allocations: 127.4 kB / 0.8723 GB, free: 38.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 3.236e-06/1.941, allocations: 0 / 0.8723 GB, free: 38.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=71): time 0.07643/2.018, allocations: 7.43 MB / 0.8796 GB, free: 30.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/2.018, allocations: 119.5 kB / 0.8797 GB, free: 30.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008471/2.019, allocations: 499.3 kB / 0.8802 GB, free: 29.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002381/2.019, allocations: 37.7 kB / 0.8802 GB, free: 29.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/2.019, allocations: 379.6 kB / 0.8806 GB, free: 29.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/2.02, allocations: 244.4 kB / 0.8808 GB, free: 29.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/2.02, allocations: 20 kB / 0.8808 GB, free: 29.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/2.02, allocations: 378.8 kB / 0.8812 GB, free: 28.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/2.022, allocations: 485.6 kB / 0.8817 GB, free: 28.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/2.024, allocations: 0.7314 MB / 0.8824 GB, free: 27.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/2.027, allocations: 0.534 MB / 0.8829 GB, free: 26.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/2.027, allocations: 7.953 kB / 0.8829 GB, free: 26.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.006062/2.033, allocations: 1.501 MB / 0.8844 GB, free: 25.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005959/2.034, allocations: 2.963 MB / 0.8873 GB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/2.034, allocations: 8 kB / 0.8873 GB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/2.046, allocations: 1.221 MB / 0.8885 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/2.048, allocations: 259.5 kB / 0.8887 GB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003547/2.052, allocations: 1.631 MB / 0.8903 GB, free: 19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/2.054, allocations: 123.9 kB / 0.8904 GB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/2.054, allocations: 63.94 kB / 0.8905 GB, free: 18.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/2.054, allocations: 4 kB / 0.8905 GB, free: 18.81 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006292/2.061, allocations: 1.406 MB / 0.8919 GB, free: 17.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/2.061, allocations: 8 kB / 0.8919 GB, free: 17.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003323/2.064, allocations: 429.9 kB / 0.8923 GB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/2.066, allocations: 275.5 kB / 0.8925 GB, free: 16.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004868/2.071, allocations: 2.691 MB / 0.8952 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/2.073, allocations: 112 kB / 0.8953 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/2.074, allocations: 63.94 kB / 0.8953 GB, free: 13.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 77 * 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 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.000708/2.074, allocations: 304.5 kB / 0.8956 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/2.075, allocations: 79.06 kB / 0.8957 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0082/2.083, allocations: 1.822 MB / 0.8975 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/2.083, allocations: 19.94 kB / 0.8975 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/2.083, allocations: 0 / 0.8975 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/2.083, allocations: 3.984 kB / 0.8975 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/2.094, allocations: 2.759 MB / 0.9002 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/2.094, allocations: 0 / 0.9002 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/2.096, allocations: 187.8 kB / 0.9004 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0103/2.106, allocations: 1.181 MB / 0.9015 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/2.106, allocations: 31.97 kB / 0.9016 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/2.109, allocations: 1.554 MB / 0.9031 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/2.109, allocations: 4 kB / 0.9031 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00931/2.118, allocations: 2.209 MB / 0.9052 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007143/2.119, allocations: 259.8 kB / 0.9055 GB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/2.119, allocations: 16 kB / 0.9055 GB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/2.121, allocations: 115.9 kB / 0.9056 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/2.121, allocations: 65.08 kB / 0.9057 GB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/2.121, allocations: 39.97 kB / 0.9057 GB, free: 2.855 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006582/2.122, allocations: 383.1 kB / 0.9061 GB, free: 2.488 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.122, allocations: 0 / 0.9061 GB, free: 2.488 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003153/2.125, allocations: 0.6676 MB / 0.9067 GB, free: 1.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 6,3 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.3123/2.437, allocations: 3.221 MB / 0.9099 GB, free: 76.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01094/2.448, allocations: 2.113 MB / 0.9119 GB, free: 76.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/2.448, allocations: 4.531 kB / 0.9119 GB, free: 76.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003021/2.451, allocations: 0.6612 MB / 0.9126 GB, free: 76.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/2.454, allocations: 301.6 kB / 0.9129 GB, free: 76.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008238/2.462, allocations: 7.806 MB / 0.9205 GB, free: 69.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/2.463, allocations: 0.9949 MB / 0.9215 GB, free: 69.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001984/2.465, allocations: 255.3 kB / 0.9217 GB, free: 69.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007751/2.466, allocations: 324.9 kB / 0.922 GB, free: 69.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/2.466, allocations: 0 / 0.922 GB, free: 69.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08834/2.554, allocations: 32.8 MB / 0.9541 GB, free: 67.86 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/2.554, allocations: 275.1 kB / 0.9543 GB, free: 67.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.995/6.549, allocations: 0 / 0.9543 GB, free: 67.5 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat