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_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.001657/0.001656, allocations: 184.8 kB / 16.41 MB, free: 5.727 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.03/2.03, 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.00117/0.00117, allocations: 95.53 kB / 270.9 MB, free: 8.379 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.6439/0.6439, allocations: 43.55 MB / 362.7 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007045/0.0007045, allocations: 12 kB / 431.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1478, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4752/0.623, allocations: 90.13 MB / 0.5669 GB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/0.6234, allocations: 98.38 kB / 0.567 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02649/0.6499, allocations: 5.846 MB / 0.5727 GB, free: 6.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6499, allocations: 3.938 kB / 0.5727 GB, free: 6.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.6499, allocations: 4 kB / 0.5727 GB, free: 6.402 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000918/0.6509, allocations: 0.5103 MB / 0.5732 GB, free: 5.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.6509, allocations: 12.02 kB / 0.5732 GB, free: 5.836 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.435e-05/0.651, allocations: 62.53 kB / 0.5732 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.6527, allocations: 182.8 kB / 0.5734 GB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.6532, allocations: 246.7 kB / 0.5736 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.6533, allocations: 12.44 kB / 0.5737 GB, free: 5.297 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.6533, allocations: 27.98 kB / 0.5737 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.6544, allocations: 437.1 kB / 0.5741 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.6544, allocations: 0 / 0.5741 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.6545, allocations: 16.91 kB / 0.5741 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.997e-05/0.6546, allocations: 28.55 kB / 0.5741 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.6558, allocations: 389.8 kB / 0.5745 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.6589, allocations: 1.71 MB / 0.5762 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.6594, allocations: 110.4 kB / 0.5763 GB, free: 2.441 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.6594, allocations: 4.141 kB / 0.5763 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.6595, allocations: 34.55 kB / 0.5763 GB, free: 2.395 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.365e-06/0.6595, allocations: 0 / 0.5763 GB, free: 2.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009927/0.6605, allocations: 197.3 kB / 0.5765 GB, free: 2.195 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.6605, allocations: 51.41 kB / 0.5766 GB, free: 2.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/0.6611, allocations: 305.7 kB / 0.5769 GB, free: 1.828 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.6611, allocations: 25.7 kB / 0.5769 GB, free: 1.797 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.6613, allocations: 237.5 kB / 0.5771 GB, free: 1.562 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/0.6614, allocations: 31.62 kB / 0.5771 GB, free: 1.531 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.6614, allocations: 8 kB / 0.5771 GB, free: 1.523 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6616, allocations: 318.8 kB / 0.5775 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.6619, allocations: 67.94 kB / 0.5775 GB, free: 1.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.6623, allocations: 127 kB / 0.5776 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.6627, allocations: 88.69 kB / 0.5777 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6627, allocations: 0 / 0.5777 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008666/0.6636, allocations: 244.5 kB / 0.578 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.6636, allocations: 4 kB / 0.578 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6636, allocations: 4 kB / 0.578 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.6637, allocations: 4 kB / 0.578 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/0.6663, allocations: 115.9 kB / 0.5781 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.6689, allocations: 1.84 MB / 0.5799 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.6695, allocations: 47.62 kB / 0.5799 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.6695, allocations: 4 kB / 0.5799 GB, free: 14.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.000255/0.6698, allocations: 161.8 kB / 0.5801 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.6699, allocations: 23.72 kB / 0.5801 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008727/0.6708, allocations: 219 kB / 0.5803 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.6708, allocations: 0 / 0.5803 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6708, allocations: 0 / 0.5803 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.6708, allocations: 4 kB / 0.5803 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004718/0.6713, allocations: 277.4 kB / 0.5806 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.6713, allocations: 0 / 0.5806 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002193/0.6735, allocations: 104.7 kB / 0.5807 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.6735, allocations: 0 / 0.5807 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.6736, allocations: 0 / 0.5807 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.6753, allocations: 1.793 MB / 0.5824 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6753, allocations: 0 / 0.5824 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/0.6761, allocations: 271.4 kB / 0.5827 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.6762, allocations: 104.8 kB / 0.5828 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.6763, allocations: 0 / 0.5828 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.6767, allocations: 19.98 kB / 0.5828 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.6768, allocations: 4 kB / 0.5828 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.6768, allocations: 4 kB / 0.5828 GB, free: 11.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004129/0.6772, allocations: 245.9 kB / 0.583 GB, free: 11.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6772, allocations: 0 / 0.583 GB, free: 11.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004886/0.6777, allocations: 60 kB / 0.5831 GB, free: 11.15 MB / 410.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 (11): * Single equations (assignments): 8 * 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.001193/0.6789, allocations: 0.8398 MB / 0.5839 GB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002745/0.6817, allocations: 235.7 kB / 0.5842 GB, free: 10.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.6817, allocations: 8.312 kB / 0.5842 GB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002722/0.6845, allocations: 107.9 kB / 0.5843 GB, free: 9.945 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.685, allocations: 41.41 kB / 0.5843 GB, free: 9.902 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.6895, allocations: 2.56 MB / 0.5868 GB, free: 7.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.69, allocations: 0.7869 MB / 0.5876 GB, free: 6.457 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.6902, allocations: 71.41 kB / 0.5876 GB, free: 6.391 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6902, allocations: 0 / 0.5876 GB, free: 6.391 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.092/3.782, allocations: 7.689 MB / 0.5951 GB, free: 14.73 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat