Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.0149/0.0149, allocations: 175.8 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.906/1.906, allocations: 194.5 MB / 210.3 MB, free: 7.801 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002064/0.002064, allocations: 108.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2456/0.2456, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005235/0.0005235, allocations: 18.47 kB / 406.3 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1113, allocations: 54.87 MB / 461.1 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.799/7.91, allocations: 2.608 GB / 3.058 GB, free: 56.06 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/7.91, allocations: 91.2 kB / 3.059 GB, free: 56.01 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.774/11.68, allocations: 0.6346 GB / 3.693 GB, free: 37.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.296e-06/11.68, allocations: 4.094 kB / 3.693 GB, free: 37.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001682/11.68, allocations: 44.19 kB / 3.693 GB, free: 37.89 MB / 0.4948 GB 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.01344/11.7, allocations: 2.588 MB / 3.696 GB, free: 36.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/11.7, allocations: 9.75 kB / 3.696 GB, free: 36.81 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000908/11.7, allocations: 183.8 kB / 3.696 GB, free: 36.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/11.71, allocations: 0.9469 MB / 3.697 GB, free: 36.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/11.71, allocations: 1.06 MB / 3.698 GB, free: 36.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/11.72, allocations: 106.2 kB / 3.698 GB, free: 36.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000454/11.72, allocations: 114.1 kB / 3.698 GB, free: 36.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/11.73, allocations: 2.292 MB / 3.7 GB, free: 35.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.442e-05/11.73, allocations: 4.906 kB / 3.7 GB, free: 35.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003061/11.73, allocations: 53.78 kB / 3.7 GB, free: 35.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/11.73, allocations: 31.88 kB / 3.7 GB, free: 35.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/11.74, allocations: 2.181 MB / 3.703 GB, free: 35.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01679/11.75, allocations: 9.771 MB / 3.712 GB, free: 29.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007827/11.76, allocations: 1.616 MB / 3.714 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08023/11.84, allocations: 18.85 MB / 3.732 GB, free: 20.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/11.84, allocations: 45.31 kB / 3.732 GB, free: 20.03 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=88): time 5.05e-06/11.84, allocations: 4 kB / 3.732 GB, free: 20.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88): time 0.01953/11.86, allocations: 2.74 MB / 3.735 GB, free: 19.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/11.86, allocations: 274.3 kB / 3.735 GB, free: 19.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/11.86, allocations: 0.7393 MB / 3.736 GB, free: 19.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002915/11.86, allocations: 39.95 kB / 3.736 GB, free: 19.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007479/11.87, allocations: 0.669 MB / 3.736 GB, free: 19.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000534/11.87, allocations: 311.6 kB / 3.737 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/11.87, allocations: 25.06 kB / 3.737 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000142/11.87, allocations: 360.1 kB / 3.737 GB, free: 18.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002761/11.87, allocations: 483.7 kB / 3.738 GB, free: 18.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/11.87, allocations: 1.045 MB / 3.739 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003209/11.88, allocations: 0.5934 MB / 3.739 GB, free: 17.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-05/11.88, allocations: 5.219 kB / 3.739 GB, free: 17.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.006713/11.88, allocations: 1.606 MB / 3.741 GB, free: 17.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003409/11.89, allocations: 6.881 MB / 3.748 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.286e-05/11.89, allocations: 22.94 kB / 3.748 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.163e-05/11.89, allocations: 26.19 kB / 3.748 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002562/11.89, allocations: 396.2 kB / 3.748 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.607e-05/11.89, allocations: 35.59 kB / 3.748 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/11.89, allocations: 231.5 kB / 3.748 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/11.89, allocations: 80.12 kB / 3.748 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/11.89, allocations: 3.906 kB / 3.748 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005964/11.9, allocations: 1.47 MB / 3.75 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/11.9, allocations: 14.25 kB / 3.75 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.103e-05/11.9, allocations: 29.88 kB / 3.75 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002574/11.9, allocations: 394.7 kB / 3.75 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.251e-05/11.9, allocations: 32.36 kB / 3.75 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/11.9, allocations: 202.8 kB / 3.75 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003481/11.9, allocations: 80.44 kB / 3.75 GB, free: 26.21 MB / 0.5105 GB 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.001098/11.9, allocations: 415.5 kB / 3.751 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/11.9, allocations: 118.3 kB / 3.751 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/11.92, allocations: 6.09 MB / 3.757 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.092e-05/11.92, allocations: 80.02 kB / 3.757 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/11.92, allocations: 5 kB / 3.757 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-05/11.92, allocations: 7.547 kB / 3.757 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004705/11.92, allocations: 2.805 MB / 3.76 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.626e-05/11.92, allocations: 0 / 3.76 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/11.92, allocations: 289 kB / 3.76 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.616e-05/11.92, allocations: 7.844 kB / 3.76 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/11.92, allocations: 28.44 kB / 3.76 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/11.92, allocations: 7.719 kB / 3.76 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/11.92, allocations: 0 / 3.76 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006688/11.93, allocations: 2.972 MB / 3.763 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/11.93, allocations: 0.5262 MB / 3.763 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003257/11.93, allocations: 21.16 kB / 3.763 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/11.93, allocations: 133.3 kB / 3.764 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/11.93, allocations: 93.98 kB / 3.764 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-05/11.93, allocations: 37.09 kB / 3.764 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001306/11.93, allocations: 0.666 MB / 3.764 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.12e-07/11.93, allocations: 0 / 3.764 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009231/11.94, allocations: 1.726 MB / 3.766 GB, free: 23.8 MB / 0.5105 GB 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.01744/11.96, allocations: 5.381 MB / 3.771 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007953/11.97, allocations: 2.691 MB / 3.774 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/11.97, allocations: 0 / 3.774 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003037/11.97, allocations: 1.508 MB / 3.775 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005351/11.98, allocations: 0.5706 MB / 3.776 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8238/12.8, allocations: 144.4 MB / 3.917 GB, free: 48.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/12.8, allocations: 1.665 MB / 3.919 GB, free: 47.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004805/12.81, allocations: 1.959 MB / 3.921 GB, free: 47.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/12.81, allocations: 0.8765 MB / 3.921 GB, free: 47.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/12.81, allocations: 1.375 kB / 3.921 GB, free: 47.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2215/13.03, allocations: 76.7 MB / 3.996 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002963/13.03, allocations: 232.8 kB / 3.996 GB, free: 44.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.216/19.25, allocations: 0 / 3.996 GB, free: 44.21 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics_res.mat does not exist to compare? outputFormat=mat