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.001522/0.001522, allocations: 183 kB / 13.19 MB, free: 2.129 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.709/1.709, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.0009359/0.0009361, allocations: 82.62 kB / 267.1 MB, free: 9.27 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.4418/0.4418, allocations: 43.46 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.22e-05/4.252e-05, allocations: 4 kB / 425.4 MB, free: 8.773 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1791, allocations: 58.85 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5351/0.7142, allocations: 92.83 MB / 0.5636 GB, free: 12.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.7146, allocations: 103.8 kB / 0.5637 GB, free: 11.99 MB / 394.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.02584/0.7405, allocations: 8.949 MB / 0.5724 GB, free: 2.984 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7405, allocations: 0 / 0.5724 GB, free: 2.984 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.755e-05/0.7406, allocations: 4 kB / 0.5724 GB, free: 2.98 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.001015/0.7416, allocations: 0.5282 MB / 0.5729 GB, free: 2.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/0.7417, allocations: 8.031 kB / 0.5729 GB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.7419, allocations: 86.5 kB / 0.573 GB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.742, allocations: 35.06 kB / 0.5731 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.7423, allocations: 234.7 kB / 0.5733 GB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.7424, allocations: 24.78 kB / 0.5733 GB, free: 1.984 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.7424, allocations: 32 kB / 0.5733 GB, free: 1.953 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.7432, allocations: 454.8 kB / 0.5738 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.7432, allocations: 8 kB / 0.5738 GB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.7432, allocations: 17.36 kB / 0.5738 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/0.7433, allocations: 28.7 kB / 0.5738 GB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005896/0.7439, allocations: 387 kB / 0.5742 GB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.7461, allocations: 1.21 MB / 0.5754 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.7463, allocations: 70.48 kB / 0.5754 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.7464, allocations: 28.84 kB / 0.5755 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.7464, allocations: 4 kB / 0.5755 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.7465, allocations: 30.56 kB / 0.5755 GB, free: 15.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.7465, allocations: 0 / 0.5755 GB, free: 15.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003172/0.7468, allocations: 97.72 kB / 0.5756 GB, free: 15.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.7469, allocations: 51.41 kB / 0.5756 GB, free: 15.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.7471, allocations: 156.1 kB / 0.5758 GB, free: 15.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.7471, allocations: 25.7 kB / 0.5758 GB, free: 15.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.7474, allocations: 215.3 kB / 0.576 GB, free: 15.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.7474, allocations: 27.64 kB / 0.5761 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.549e-05/0.7474, allocations: 8 kB / 0.5761 GB, free: 15.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.7476, allocations: 326.8 kB / 0.5764 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.507e-05/0.7477, allocations: 43.98 kB / 0.5764 GB, free: 14.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.7479, allocations: 162 kB / 0.5766 GB, free: 14.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.7481, allocations: 63.89 kB / 0.5766 GB, free: 14.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.7481, allocations: 3.938 kB / 0.5766 GB, free: 14.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004039/0.7485, allocations: 225.1 kB / 0.5768 GB, free: 14.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.7486, allocations: 8 kB / 0.5769 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.7486, allocations: 8 kB / 0.5769 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.7486, allocations: 4.562 kB / 0.5769 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.7491, allocations: 91.88 kB / 0.577 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.7503, allocations: 1.782 MB / 0.5787 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.7505, allocations: 31.77 kB / 0.5787 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.7506, allocations: 15.95 kB / 0.5787 GB, free: 12.12 MB / 410.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 () * 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.0001718/0.7507, allocations: 120.9 kB / 0.5789 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.7508, allocations: 7.906 kB / 0.5789 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/0.7513, allocations: 181 kB / 0.579 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.7513, allocations: 4 kB / 0.579 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.7513, allocations: 0 / 0.579 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.7513, allocations: 0 / 0.579 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.7518, allocations: 309.4 kB / 0.5793 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.7518, allocations: 0 / 0.5793 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.752, allocations: 63.89 kB / 0.5794 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.7521, allocations: 0 / 0.5794 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.7521, allocations: 7.984 kB / 0.5794 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.7531, allocations: 1.774 MB / 0.5811 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7532, allocations: 0 / 0.5811 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.7535, allocations: 191.4 kB / 0.5813 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.7536, allocations: 85.19 kB / 0.5814 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.7536, allocations: 8 kB / 0.5814 GB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.7537, allocations: 4 kB / 0.5814 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.7538, allocations: 11.98 kB / 0.5814 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.7538, allocations: 7.938 kB / 0.5814 GB, free: 9.203 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.7539, allocations: 119.9 kB / 0.5815 GB, free: 9.086 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7539, allocations: 0 / 0.5815 GB, free: 9.086 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006267/0.7546, allocations: 107.5 kB / 0.5816 GB, free: 8.98 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 () * 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.0008575/0.7554, allocations: 0.799 MB / 0.5824 GB, free: 8.156 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004336/0.7559, allocations: 139.8 kB / 0.5826 GB, free: 8.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7559, allocations: 0 / 0.5826 GB, free: 8.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.7561, allocations: 73.02 kB / 0.5826 GB, free: 7.949 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.7564, allocations: 12 kB / 0.5826 GB, free: 7.938 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009833/0.7573, allocations: 407.5 kB / 0.583 GB, free: 7.508 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.7578, allocations: 0.8024 MB / 0.5838 GB, free: 6.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002014/0.758, allocations: 68.95 kB / 0.5839 GB, free: 6.613 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.7581, allocations: 75.41 kB / 0.5839 GB, free: 6.539 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.7581, allocations: 4 kB / 0.584 GB, free: 6.535 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.7792, allocations: 5.34 MB / 0.5892 GB, free: 1.273 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/0.7795, allocations: 254.7 kB / 0.5894 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.478, allocations: 0 / 0.5894 GB, free: 0.9297 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