Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.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.Valves.TestValveCharacteristics,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveCharacteristics",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.01045/0.01045, allocations: 166.5 kB / 15.11 MB, free: 5.973 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.626/1.626, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001993/0.001992, allocations: 111.3 kB / 226.2 MB, free: 10.1 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.47/0.47, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005024/0.0005023, allocations: 12 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.973/8.089, allocations: 2.497 GB / 2.899 GB, free: 37.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/8.089, allocations: 88.75 kB / 2.9 GB, free: 37.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.658/11.75, allocations: 0.6208 GB / 3.52 GB, free: 31.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.847e-06/11.75, allocations: 0 / 3.52 GB, free: 31.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001694/11.75, allocations: 42.75 kB / 3.52 GB, free: 31.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01199/11.76, allocations: 2.512 MB / 3.523 GB, free: 29.97 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/11.76, allocations: 11.69 kB / 3.523 GB, free: 29.97 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008593/11.76, allocations: 179.8 kB / 3.523 GB, free: 29.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/11.77, allocations: 0.9042 MB / 3.524 GB, free: 29.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003651/11.78, allocations: 1.055 MB / 3.525 GB, free: 29.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/11.78, allocations: 107 kB / 3.525 GB, free: 29.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004229/11.78, allocations: 113.3 kB / 3.525 GB, free: 29.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009631/11.79, allocations: 2.29 MB / 3.527 GB, free: 29.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.792e-05/11.79, allocations: 7.344 kB / 3.527 GB, free: 29.06 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003086/11.79, allocations: 54.81 kB / 3.527 GB, free: 29.06 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/11.79, allocations: 34.7 kB / 3.527 GB, free: 29.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/11.8, allocations: 2.18 MB / 3.53 GB, free: 29.04 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02014/11.82, allocations: 9.767 MB / 3.539 GB, free: 22.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/11.83, allocations: 1.627 MB / 3.541 GB, free: 22.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09318/11.92, allocations: 18.82 MB / 3.559 GB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.034e-05/11.92, allocations: 50.44 kB / 3.559 GB, free: 12.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=88): time 4.989e-06/11.92, allocations: 0 / 3.559 GB, free: 12.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.02018/11.94, allocations: 2.743 MB / 3.562 GB, free: 12.83 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/11.94, allocations: 275.8 kB / 3.562 GB, free: 12.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/11.94, allocations: 0.7386 MB / 3.563 GB, free: 12.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002999/11.94, allocations: 42.7 kB / 3.563 GB, free: 12.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007705/11.95, allocations: 0.6739 MB / 3.564 GB, free: 11.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005867/11.95, allocations: 306.3 kB / 3.564 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/11.95, allocations: 21.59 kB / 3.564 GB, free: 11.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000687/11.95, allocations: 364.3 kB / 3.564 GB, free: 27.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002644/11.95, allocations: 480.6 kB / 3.565 GB, free: 27.47 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003592/11.95, allocations: 1.036 MB / 3.566 GB, free: 26.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/11.96, allocations: 0.5955 MB / 3.566 GB, free: 26.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.82e-05/11.96, allocations: 7.766 kB / 3.566 GB, free: 26.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.008988/11.97, allocations: 1.601 MB / 3.568 GB, free: 26.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00393/11.97, allocations: 6.887 MB / 3.575 GB, free: 19.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.491e-05/11.97, allocations: 14.06 kB / 3.575 GB, free: 19.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.057e-05/11.97, allocations: 33.2 kB / 3.575 GB, free: 19.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/11.97, allocations: 393.7 kB / 3.575 GB, free: 19.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.682e-05/11.97, allocations: 38.44 kB / 3.575 GB, free: 19.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/11.98, allocations: 238 kB / 3.575 GB, free: 19.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005306/11.98, allocations: 80.14 kB / 3.575 GB, free: 19.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/11.98, allocations: 4.031 kB / 3.575 GB, free: 19.12 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007563/11.99, allocations: 1.464 MB / 3.577 GB, free: 18.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.905e-05/11.99, allocations: 18.31 kB / 3.577 GB, free: 18.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.521e-05/11.99, allocations: 28.09 kB / 3.577 GB, free: 18.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/11.99, allocations: 386.2 kB / 3.577 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-05/11.99, allocations: 35.22 kB / 3.577 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003227/11.99, allocations: 201.6 kB / 3.577 GB, free: 18.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000558/11.99, allocations: 86.86 kB / 3.577 GB, free: 18.87 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 16 (source2.medium.phase,sink2.medium.phase,source1.medium.phase,sink1.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase,valve_equalPercentage.state_b.phase,valve_equalPercentage.state_a.phase,valve_quadratic.state_b.phase,valve_quadratic.state_a.phase,valve_constant.state_b.phase,valve_constant.state_a.phase,valve_linear.state_b.phase,valve_linear.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001707/11.99, allocations: 410.8 kB / 3.578 GB, free: 18.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005764/12, allocations: 122.9 kB / 3.578 GB, free: 18.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01635/12.01, allocations: 6.093 MB / 3.584 GB, free: 17.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001229/12.01, allocations: 82 kB / 3.584 GB, free: 17.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/12.01, allocations: 0 / 3.584 GB, free: 17.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.646e-05/12.01, allocations: 11.05 kB / 3.584 GB, free: 17.92 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006853/12.02, allocations: 2.791 MB / 3.587 GB, free: 17.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.825e-05/12.02, allocations: 4 kB / 3.587 GB, free: 17.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/12.02, allocations: 291.3 kB / 3.587 GB, free: 17.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.309e-05/12.02, allocations: 11.47 kB / 3.587 GB, free: 17.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/12.02, allocations: 26.19 kB / 3.587 GB, free: 17.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/12.02, allocations: 3.625 kB / 3.587 GB, free: 17.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/12.02, allocations: 0 / 3.587 GB, free: 17.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00681/12.03, allocations: 2.963 MB / 3.59 GB, free: 16.15 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/12.03, allocations: 0.535 MB / 3.59 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000465/12.03, allocations: 27.39 kB / 3.59 GB, free: 15.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/12.03, allocations: 136.5 kB / 3.591 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/12.03, allocations: 96.62 kB / 3.591 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/12.03, allocations: 34.25 kB / 3.591 GB, free: 15.69 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001408/12.03, allocations: 0.6706 MB / 3.591 GB, free: 15.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.182e-06/12.03, allocations: 0 / 3.591 GB, free: 15.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009/12.04, allocations: 1.716 MB / 3.593 GB, free: 15.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($cse2.phase,$cse2.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse38.phase,$cse38.region,source1.medium.phase,sink1.medium.phase,source2.medium.phase,sink2.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01873/12.06, allocations: 5.376 MB / 3.598 GB, free: 12.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008626/12.07, allocations: 2.685 MB / 3.601 GB, free: 11.96 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/12.07, allocations: 3.938 kB / 3.601 GB, free: 11.96 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00333/12.07, allocations: 1.515 MB / 3.602 GB, free: 11.28 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005624/12.08, allocations: 0.5725 MB / 3.603 GB, free: 11.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8747/12.96, allocations: 142.2 MB / 3.742 GB, free: 17.92 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/12.96, allocations: 1.666 MB / 3.743 GB, free: 17.15 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005334/12.96, allocations: 1.965 MB / 3.745 GB, free: 17.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001884/12.96, allocations: 0.8793 MB / 3.746 GB, free: 17.07 MB / 474.7 MB Notification: Performance of SimCode: time 1.654e-06/12.96, allocations: 0 / 3.746 GB, free: 17.07 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.574/13.54, allocations: 76.52 MB / 3.821 GB, free: 54.13 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/13.54, allocations: 244.2 kB / 3.821 GB, free: 53.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.956/19.49, allocations: 1.656 kB / 3.821 GB, free: 53.89 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics_res.mat does not exist to compare? outputFormat=mat