Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001584, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.00114/0.00114, allocations: 94.09 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5132/0.5132, allocations: 43.56 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004713, allocations: 12 kB / 431.5 MB, free: 5.805 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.129, allocations: 58.85 MB / 490.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4726/0.6016, allocations: 93.01 MB / 0.5697 GB, free: 9.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003957/0.6021, allocations: 99.94 kB / 0.5698 GB, free: 9.332 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04002/0.6421, allocations: 7.705 MB / 0.5773 GB, free: 1.645 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6422, allocations: 0 / 0.5773 GB, free: 1.645 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.6422, allocations: 4 kB / 0.5773 GB, free: 1.641 MB / 394.7 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.0008003/0.643, allocations: 458.5 kB / 0.5777 GB, free: 1.148 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.6431, allocations: 12.03 kB / 0.5778 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.916e-05/0.6431, allocations: 42.56 kB / 0.5778 GB, free: 1.086 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.6432, allocations: 19.25 kB / 0.5778 GB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.6434, allocations: 172.1 kB / 0.578 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.6434, allocations: 8 kB / 0.578 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.6435, allocations: 15.94 kB / 0.578 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004946/0.644, allocations: 141.6 kB / 0.5781 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.644, allocations: 0 / 0.5781 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.644, allocations: 8 kB / 0.5781 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.644, allocations: 5.031 kB / 0.5782 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000522/0.6446, allocations: 139.9 kB / 0.5783 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.6459, allocations: 0.5362 MB / 0.5788 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.6464, allocations: 110.5 kB / 0.5789 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.6465, allocations: 4 kB / 0.5789 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.6465, allocations: 34.5 kB / 0.5789 GB, free: 15.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 2.525e-06/0.6465, allocations: 0 / 0.5789 GB, free: 15.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008173/0.6473, allocations: 174.1 kB / 0.5791 GB, free: 15.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.6474, allocations: 59.34 kB / 0.5792 GB, free: 15.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.6475, allocations: 101.2 kB / 0.5793 GB, free: 15.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.6476, allocations: 33.7 kB / 0.5793 GB, free: 15.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.6477, allocations: 178.2 kB / 0.5795 GB, free: 15.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.6477, allocations: 39.61 kB / 0.5795 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.6478, allocations: 4 kB / 0.5795 GB, free: 15.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.648, allocations: 327.7 kB / 0.5798 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.6482, allocations: 43.97 kB / 0.5799 GB, free: 14.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.6484, allocations: 85.11 kB / 0.5799 GB, free: 14.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.6487, allocations: 52.36 kB / 0.58 GB, free: 14.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6487, allocations: 0 / 0.58 GB, free: 14.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006053/0.6493, allocations: 166 kB / 0.5802 GB, free: 14.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.6494, allocations: 4 kB / 0.5802 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.6494, allocations: 4 kB / 0.5802 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.6494, allocations: 8.094 kB / 0.5802 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.6499, allocations: 51.95 kB / 0.5802 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000486/0.6504, allocations: 0.5898 MB / 0.5808 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.6506, allocations: 25.41 kB / 0.5808 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.6506, allocations: 15.94 kB / 0.5808 GB, free: 13.77 MB / 410.7 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.0001566/0.6508, allocations: 121.9 kB / 0.581 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.6509, allocations: 7.906 kB / 0.581 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007381/0.6516, allocations: 182.2 kB / 0.5811 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.6516, allocations: 0 / 0.5811 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6516, allocations: 0 / 0.5811 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.6517, allocations: 3.953 kB / 0.5811 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.6521, allocations: 221.5 kB / 0.5813 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.6521, allocations: 0 / 0.5813 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.6525, allocations: 51.95 kB / 0.5814 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.6525, allocations: 0 / 0.5814 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.6525, allocations: 0 / 0.5814 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004124/0.653, allocations: 0.5907 MB / 0.582 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.653, allocations: 0 / 0.582 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008491/0.6538, allocations: 307.5 kB / 0.5823 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.654, allocations: 96.98 kB / 0.5824 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.654, allocations: 4.062 kB / 0.5824 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.6542, allocations: 11.95 kB / 0.5824 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.6543, allocations: 15.97 kB / 0.5824 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.6543, allocations: 11.94 kB / 0.5824 GB, free: 12.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.127e-05/0.6544, allocations: 91.27 kB / 0.5825 GB, free: 11.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.445e-06/0.6544, allocations: 0 / 0.5825 GB, free: 11.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005808/0.655, allocations: 87.72 kB / 0.5826 GB, free: 11.86 MB / 410.7 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.001615/0.6566, allocations: 0.9271 MB / 0.5835 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006995/0.6574, allocations: 136.8 kB / 0.5836 GB, free: 10.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6574, allocations: 3.938 kB / 0.5836 GB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.6578, allocations: 71.95 kB / 0.5837 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.6581, allocations: 16.25 kB / 0.5837 GB, free: 10.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.6607, allocations: 1.607 MB / 0.5853 GB, free: 9.016 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.6611, allocations: 0.7121 MB / 0.586 GB, free: 8.277 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.6613, allocations: 35.7 kB / 0.586 GB, free: 8.242 MB / 410.7 MB Notification: Performance of SimCode: time 2.895e-06/0.6613, allocations: 4 kB / 0.586 GB, free: 8.238 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.841/3.502, allocations: 3.127 MB / 0.5891 GB, free: 5.125 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat