Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.001515/0.001515, allocations: 182.2 kB / 15.76 MB, free: 6.367 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.761/1.761, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.0009764/0.0009761, allocations: 102.8 kB / 270.2 MB, free: 13.36 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.2304/0.2304, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.000337, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.123, allocations: 58.86 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3834/0.5065, allocations: 92.92 MB / 0.5696 GB, free: 6.727 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.5067, allocations: 101.9 kB / 0.5697 GB, free: 6.668 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.02438/0.5311, allocations: 8.964 MB / 0.5785 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5312, allocations: 0 / 0.5785 GB, free: 14.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.5312, allocations: 8 kB / 0.5785 GB, free: 14.81 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0006549/0.5318, allocations: 0.5224 MB / 0.579 GB, free: 14.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.5319, allocations: 12.03 kB / 0.579 GB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.901e-05/0.532, allocations: 77.2 kB / 0.5791 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.5321, allocations: 35.56 kB / 0.5791 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.5323, allocations: 238.2 kB / 0.5793 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.5324, allocations: 28.44 kB / 0.5794 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.5324, allocations: 31.75 kB / 0.5794 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.5331, allocations: 480.5 kB / 0.5798 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5331, allocations: 4 kB / 0.5798 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/0.5332, allocations: 23.59 kB / 0.5799 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.5332, allocations: 21 kB / 0.5799 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.5338, allocations: 440.1 kB / 0.5803 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.5353, allocations: 1.202 MB / 0.5815 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.5355, allocations: 82.16 kB / 0.5816 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.5355, allocations: 3.984 kB / 0.5816 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.5356, allocations: 42.5 kB / 0.5816 GB, free: 11.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.5356, allocations: 0 / 0.5816 GB, free: 11.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004645/0.5361, allocations: 168.7 kB / 0.5818 GB, free: 11.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.5361, allocations: 59.34 kB / 0.5818 GB, free: 11.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.5362, allocations: 149 kB / 0.582 GB, free: 11.49 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.5363, allocations: 25.7 kB / 0.582 GB, free: 11.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.5364, allocations: 218.6 kB / 0.5822 GB, free: 11.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.5364, allocations: 31.48 kB / 0.5822 GB, free: 11.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.5364, allocations: 3.938 kB / 0.5822 GB, free: 11.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5366, allocations: 326.3 kB / 0.5825 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.5367, allocations: 59.7 kB / 0.5826 GB, free: 10.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.5369, allocations: 175.4 kB / 0.5828 GB, free: 10.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.5371, allocations: 88.03 kB / 0.5829 GB, free: 10.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5371, allocations: 0 / 0.5829 GB, free: 10.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004333/0.5375, allocations: 255.3 kB / 0.5831 GB, free: 10.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.5376, allocations: 8 kB / 0.5831 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.5376, allocations: 7.984 kB / 0.5831 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.5376, allocations: 8 kB / 0.5831 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.5379, allocations: 88.41 kB / 0.5832 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.539, allocations: 1.777 MB / 0.5849 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.5391, allocations: 35.95 kB / 0.585 GB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.5392, allocations: 19.75 kB / 0.585 GB, free: 8.352 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0002093/0.5394, allocations: 189 kB / 0.5852 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.5394, allocations: 7.906 kB / 0.5852 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005548/0.54, allocations: 209.8 kB / 0.5854 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.54, allocations: 4 kB / 0.5854 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.54, allocations: 0 / 0.5854 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.54, allocations: 0 / 0.5854 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.5403, allocations: 303.8 kB / 0.5857 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5403, allocations: 0 / 0.5857 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.5406, allocations: 59.95 kB / 0.5857 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5406, allocations: 0 / 0.5857 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.5406, allocations: 4 kB / 0.5857 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.5417, allocations: 1.773 MB / 0.5875 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5417, allocations: 4.312 kB / 0.5875 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.5421, allocations: 227 kB / 0.5877 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.5422, allocations: 88.92 kB / 0.5878 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.5422, allocations: 0 / 0.5878 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.5423, allocations: 19.92 kB / 0.5878 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.5424, allocations: 7.688 kB / 0.5878 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.5424, allocations: 7.984 kB / 0.5878 GB, free: 5.402 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.924e-05/0.5425, allocations: 115.8 kB / 0.5879 GB, free: 5.297 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5425, allocations: 0 / 0.5879 GB, free: 5.297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006338/0.5432, allocations: 107.2 kB / 0.588 GB, free: 5.199 MB / 394.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 (7): * Single equations (assignments): 4 * 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.00113/0.5443, allocations: 0.8459 MB / 0.5888 GB, free: 4.348 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005327/0.5448, allocations: 180 kB / 0.589 GB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5449, allocations: 0 / 0.589 GB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.5451, allocations: 87.73 kB / 0.5891 GB, free: 4.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.5453, allocations: 12.19 kB / 0.5891 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.5487, allocations: 3.922 MB / 0.5929 GB, free: 144 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.5491, allocations: 0.8098 MB / 0.5937 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.5493, allocations: 65.19 kB / 0.5938 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.5e-05/0.5494, allocations: 78.16 kB / 0.5939 GB, free: 15.22 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5495, allocations: 3.938 kB / 0.5939 GB, free: 15.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.5675, allocations: 5.153 MB / 0.5989 GB, free: 10.13 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/0.5678, allocations: 281.2 kB / 0.5992 GB, free: 9.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.239, allocations: 0 / 0.5992 GB, free: 9.77 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat