Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00247/0.00247, allocations: 188.2 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.213/2.213, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 94.88 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.396/0.396, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007056/0.0007062, allocations: 12 kB / 431.5 MB, free: 20.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1507, allocations: 58.86 MB / 490.4 MB, free: 9.211 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003643/0.1545, allocations: 1.326 MB / 491.7 MB, free: 7.867 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002984/0.1575, allocations: 0.8235 MB / 492.5 MB, free: 7.035 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.1577, allocations: 4 kB / 492.5 MB, free: 7.031 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.158, allocations: 23.84 kB / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.1583, allocations: 35.88 kB / 492.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009213/0.1592, allocations: 111.7 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.1596, allocations: 91.8 kB / 492.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1597, allocations: 17.42 kB / 492.8 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1599, allocations: 39.84 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1601, allocations: 47.77 kB / 492.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.1601, allocations: 8 kB / 492.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008947/0.161, allocations: 199.7 kB / 493.1 MB, free: 6.465 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.1612, allocations: 39.84 kB / 493.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1613, allocations: 45.64 kB / 493.2 MB, free: 6.375 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006001/0.1619, allocations: 147.9 kB / 493.3 MB, free: 6.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.162, allocations: 0 / 493.3 MB, free: 6.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.639e-06/0.162, allocations: 7.984 kB / 493.3 MB, free: 6.223 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.162, allocations: 0 / 493.3 MB, free: 6.223 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001133/0.1632, allocations: 450.9 kB / 493.7 MB, free: 5.734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.1633, allocations: 8.031 kB / 493.8 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.1634, allocations: 50.55 kB / 493.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003146/0.1666, allocations: 123.5 kB / 493.9 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005487/0.1672, allocations: 214.8 kB / 494.1 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.1672, allocations: 19.88 kB / 494.2 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.1674, allocations: 15.98 kB / 494.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.1692, allocations: 329.3 kB / 494.5 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1693, allocations: 0 / 494.5 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-05/0.1693, allocations: 7.984 kB / 494.5 MB, free: 4.926 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.36e-05/0.1694, allocations: 19.98 kB / 494.5 MB, free: 4.906 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.1718, allocations: 335.6 kB / 494.8 MB, free: 4.578 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003706/0.1756, allocations: 0.8414 MB / 495.7 MB, free: 3.648 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.1779, allocations: 222.3 kB / 495.9 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/0.178, allocations: 0 / 495.9 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.1781, allocations: 34.56 kB / 495.9 MB, free: 3.379 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 3.226e-06/0.1781, allocations: 0 / 495.9 MB, free: 3.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.003001/0.1811, allocations: 305.6 kB / 496.2 MB, free: 3.074 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.1812, allocations: 55.41 kB / 496.3 MB, free: 3.008 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.1817, allocations: 195.2 kB / 496.5 MB, free: 2.809 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-05/0.1818, allocations: 29.7 kB / 496.5 MB, free: 2.773 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.182, allocations: 197.9 kB / 496.7 MB, free: 2.578 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.1821, allocations: 43.38 kB / 496.7 MB, free: 2.535 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.1822, allocations: 4 kB / 496.7 MB, free: 2.531 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1824, allocations: 318.8 kB / 497.1 MB, free: 2.211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009079/0.1833, allocations: 91.89 kB / 497.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009487/0.1843, allocations: 145.4 kB / 497.3 MB, free: 1.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009367/0.1853, allocations: 100.3 kB / 497.4 MB, free: 1.859 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.1853, allocations: 0 / 497.4 MB, free: 1.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002197/0.1876, allocations: 281.1 kB / 497.7 MB, free: 1.578 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.1877, allocations: 4 kB / 497.7 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.1877, allocations: 3.938 kB / 497.7 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.1877, allocations: 4 kB / 497.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.189, allocations: 80.12 kB / 497.8 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.191, allocations: 1.785 MB / 499.5 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/0.1918, allocations: 31.92 kB / 499.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.292e-05/0.1919, allocations: 11.98 kB / 499.6 MB, free: 15.59 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003339/0.1923, allocations: 145.8 kB / 499.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.1924, allocations: 15.81 kB / 499.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002264/0.1947, allocations: 278.7 kB / 0.4883 GB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.1948, allocations: 0 / 0.4883 GB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1948, allocations: 4 kB / 0.4883 GB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1948, allocations: 4.094 kB / 0.4883 GB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007333/0.1956, allocations: 257.4 kB / 0.4885 GB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.1956, allocations: 4 kB / 0.4885 GB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.1968, allocations: 67.86 kB / 0.4886 GB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.881e-05/0.1968, allocations: 4 kB / 0.4886 GB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-05/0.1969, allocations: 11.97 kB / 0.4886 GB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.1987, allocations: 1.785 MB / 0.4904 GB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.1988, allocations: 0 / 0.4904 GB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.2009, allocations: 331.3 kB / 0.4907 GB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.2011, allocations: 89 kB / 0.4908 GB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.532e-05/0.2012, allocations: 0 / 0.4908 GB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/0.2019, allocations: 19.98 kB / 0.4908 GB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.202, allocations: 11.97 kB / 0.4908 GB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/0.2021, allocations: 7.984 kB / 0.4908 GB, free: 12.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002753/0.2024, allocations: 135.9 kB / 0.4909 GB, free: 12.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.2024, allocations: 4 kB / 0.4909 GB, free: 12.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001047/0.2035, allocations: 63.83 kB / 0.491 GB, free: 12.21 MB / 346.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002827/0.2063, allocations: 0.8801 MB / 0.4919 GB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00252/0.2089, allocations: 252.2 kB / 0.4921 GB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.209, allocations: 4 kB / 0.4921 GB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.2105, allocations: 139.8 kB / 0.4922 GB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.211, allocations: 8 kB / 0.4922 GB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006724/0.2178, allocations: 2.274 MB / 0.4945 GB, free: 8.555 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.2184, allocations: 0.7397 MB / 0.4952 GB, free: 7.789 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/0.2188, allocations: 71.36 kB / 0.4953 GB, free: 7.719 MB / 346.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2189, allocations: 0 / 0.4953 GB, free: 7.719 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.162/3.381, allocations: 5.611 MB / 0.5007 GB, free: 2.109 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat