Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009451/0.0009451, allocations: 96.06 kB / 17 MB, free: 6.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 194.5 kB / 17.9 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 45.92 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004144, allocations: 8 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1807, allocations: 63.48 MB / 481.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003343/0.1841, allocations: 1.49 MB / 483.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.1872, allocations: 1.283 MB / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.705e-05/0.1873, allocations: 0 / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.1876, allocations: 31.83 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.1878, allocations: 43.69 kB / 484.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007137/0.1885, allocations: 211.3 kB / 484.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1887, allocations: 103.4 kB / 484.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.107e-05/0.1888, allocations: 5.125 kB / 484.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.1891, allocations: 39.8 kB / 484.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.1892, allocations: 51.75 kB / 484.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.1893, allocations: 4 kB / 484.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.1904, allocations: 495 kB / 485.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.796e-05/0.1905, allocations: 11.88 kB / 485.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.1905, allocations: 41.64 kB / 485.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004619/0.191, allocations: 223.7 kB / 485.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.191, allocations: 0 / 485.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.191, allocations: 0 / 485.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.191, allocations: 0 / 485.7 MB, free: 1.172 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006932/0.1917, allocations: 431 kB / 486.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1918, allocations: 8.031 kB / 486.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.99e-05/0.1919, allocations: 46.55 kB / 486.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.1919, allocations: 7.906 kB / 486.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.1922, allocations: 182.8 kB / 486.3 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1922, allocations: 12 kB / 486.3 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.1923, allocations: 12 kB / 486.4 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004325/0.1927, allocations: 149.5 kB / 486.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1927, allocations: 0 / 486.5 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.1928, allocations: 4 kB / 486.5 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1928, allocations: 4 kB / 486.5 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.1933, allocations: 143.8 kB / 486.7 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.1946, allocations: 0.5221 MB / 487.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.195, allocations: 98.66 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.1952, allocations: 56.83 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.1953, allocations: 7.922 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1953, allocations: 38.56 kB / 487.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.854e-06/0.1953, allocations: 4 kB / 487.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007154/0.1961, allocations: 181.5 kB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1961, allocations: 51.41 kB / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1962, allocations: 117.9 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1963, allocations: 25.7 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.1964, allocations: 107.8 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.1964, allocations: 47.39 kB / 487.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/0.1965, allocations: 0 / 487.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1966, allocations: 322.8 kB / 488.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.1968, allocations: 47.97 kB / 488.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.1971, allocations: 81.06 kB / 488.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.1973, allocations: 55.97 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1973, allocations: 0 / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005289/0.1978, allocations: 169.8 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1979, allocations: 7.984 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1979, allocations: 4 kB / 488.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1979, allocations: 0 / 488.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.1982, allocations: 51.91 kB / 488.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004692/0.1987, allocations: 0.59 MB / 489.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.1989, allocations: 19.86 kB / 489.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.1989, allocations: 12 kB / 489.2 MB, free: 13.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.1991, allocations: 117.8 kB / 489.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/0.1991, allocations: 8 kB / 489.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006341/0.1998, allocations: 186.3 kB / 489.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.1998, allocations: 0 / 489.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1998, allocations: 0 / 489.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.1998, allocations: 7.953 kB / 489.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.2002, allocations: 213.5 kB / 489.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.2002, allocations: 4 kB / 489.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.2005, allocations: 47.91 kB / 489.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2006, allocations: 0 / 489.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.2006, allocations: 4 kB / 489.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004189/0.201, allocations: 0.5899 MB / 490.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.201, allocations: 0 / 490.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000712/0.2018, allocations: 315.4 kB / 490.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.2019, allocations: 89.03 kB / 490.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.2019, allocations: 4 kB / 490.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.2021, allocations: 15.94 kB / 490.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.2022, allocations: 11.98 kB / 490.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.2022, allocations: 12 kB / 490.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.45e-05/0.2023, allocations: 95.2 kB / 490.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2023, allocations: 0 / 490.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006105/0.2029, allocations: 71.92 kB / 491 MB, free: 11.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001357/0.2043, allocations: 0.9184 MB / 491.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005574/0.2048, allocations: 136.2 kB / 492.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2049, allocations: 0 / 492.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.2052, allocations: 75.91 kB / 492.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.2056, allocations: 16.16 kB / 492.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.2076, allocations: 0.8285 MB / 493 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.208, allocations: 0.7043 MB / 493.7 MB, free: 8.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.2081, allocations: 24.94 kB / 493.7 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.392e-05/0.2082, allocations: 39.42 kB / 493.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2083, allocations: 0 / 493.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.2268, allocations: 3.507 MB / 497.2 MB, free: 5.336 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003329/0.2271, allocations: 265.8 kB / 497.5 MB, free: 4.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.348, allocations: 3.938 kB / 497.5 MB, free: 4.98 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat