Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001042, allocations: 180 kB / 17.06 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 241 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 95.42 kB / 292.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3279/0.3279, allocations: 44.21 MB / 387.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003238, allocations: 8 kB / 460 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3309, allocations: 61.9 MB / 0.5097 GB, free: 37.76 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.4456, allocations: 89.97 MB / 0.5975 GB, free: 5.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.4459, allocations: 111.8 kB / 0.5976 GB, free: 5.035 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5404:11-5405:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5412:11-5413:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01298/0.4589, allocations: 4.357 MB / 0.6019 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4589, allocations: 3.938 kB / 0.6019 GB, free: 0.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.459, allocations: 4 kB / 0.6019 GB, free: 0.6641 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005528/0.4595, allocations: 442.8 kB / 0.6023 GB, free: 188 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4596, allocations: 8.031 kB / 0.6023 GB, free: 180 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.902e-05/0.4596, allocations: 54.53 kB / 0.6024 GB, free: 116 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006991/0.4604, allocations: 107.7 kB / 0.6025 GB, free: 8 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.4607, allocations: 210.8 kB / 0.6027 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.4607, allocations: 12 kB / 0.6027 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.4607, allocations: 19.94 kB / 0.6027 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.4612, allocations: 232.6 kB / 0.6029 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4612, allocations: 7.938 kB / 0.6029 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.4612, allocations: 4 kB / 0.6029 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.4613, allocations: 18.73 kB / 0.603 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005232/0.4618, allocations: 227.8 kB / 0.6032 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.4631, allocations: 0.7325 MB / 0.6039 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.4633, allocations: 94.5 kB / 0.604 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.4633, allocations: 4 kB / 0.604 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.4633, allocations: 35.72 kB / 0.604 GB, free: 14.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.846e-06/0.4633, allocations: 0 / 0.604 GB, free: 14.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005167/0.4639, allocations: 197.4 kB / 0.6042 GB, free: 14.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.4639, allocations: 51.41 kB / 0.6043 GB, free: 14.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.4641, allocations: 167.2 kB / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.4641, allocations: 29.7 kB / 0.6044 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.4642, allocations: 139.5 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.4643, allocations: 27.64 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.4643, allocations: 4 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4644, allocations: 322.8 kB / 0.6049 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.4646, allocations: 47.95 kB / 0.605 GB, free: 13.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.4647, allocations: 118.7 kB / 0.6051 GB, free: 13.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.4649, allocations: 59.95 kB / 0.6051 GB, free: 13.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4649, allocations: 0 / 0.6051 GB, free: 13.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003687/0.4653, allocations: 201.2 kB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4653, allocations: 4 kB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4653, allocations: 4 kB / 0.6053 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4653, allocations: 4 kB / 0.6053 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.4664, allocations: 112.1 kB / 0.6054 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.4678, allocations: 1.821 MB / 0.6072 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.468, allocations: 31.77 kB / 0.6072 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.468, allocations: 7.938 kB / 0.6073 GB, free: 10.81 MB / 426.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 (14): * Single equations (assignments): 11 * 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.0001391/0.4682, allocations: 140.8 kB / 0.6074 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.4682, allocations: 11.91 kB / 0.6074 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.4687, allocations: 191 kB / 0.6076 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4687, allocations: 0 / 0.6076 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4687, allocations: 3.953 kB / 0.6076 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.4687, allocations: 3.984 kB / 0.6076 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.469, allocations: 233.4 kB / 0.6078 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.469, allocations: 0 / 0.6078 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007855/0.4698, allocations: 99.89 kB / 0.6079 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.4698, allocations: 0 / 0.6079 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4698, allocations: 0 / 0.6079 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.4709, allocations: 1.781 MB / 0.6097 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4709, allocations: 0 / 0.6097 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.4713, allocations: 251.5 kB / 0.6099 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.4714, allocations: 88.92 kB / 0.61 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.4714, allocations: 4 kB / 0.61 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.4715, allocations: 7.984 kB / 0.61 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.4716, allocations: 11.98 kB / 0.61 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.4716, allocations: 4 kB / 0.61 GB, free: 7.828 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.4718, allocations: 151.8 kB / 0.6101 GB, free: 7.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4718, allocations: 0 / 0.6101 GB, free: 7.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003368/0.4721, allocations: 47.92 kB / 0.6102 GB, free: 7.633 MB / 426.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.0007842/0.4729, allocations: 0.8176 MB / 0.611 GB, free: 6.789 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.4741, allocations: 200.5 kB / 0.6112 GB, free: 6.594 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4741, allocations: 0 / 0.6112 GB, free: 6.594 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006624/0.4748, allocations: 115.8 kB / 0.6113 GB, free: 6.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.4751, allocations: 31.97 kB / 0.6113 GB, free: 6.449 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.4774, allocations: 2.097 MB / 0.6134 GB, free: 4.281 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.4779, allocations: 0.7436 MB / 0.6141 GB, free: 3.512 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.478, allocations: 29.41 kB / 0.6141 GB, free: 3.484 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.005e-05/0.4781, allocations: 43.42 kB / 0.6142 GB, free: 3.441 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4781, allocations: 0 / 0.6142 GB, free: 3.441 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.497, allocations: 4.935 MB / 0.619 GB, free: 14.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/0.4973, allocations: 268.5 kB / 0.6192 GB, free: 14.44 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.344, allocations: 64 / 0.6192 GB, free: 14.44 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat