Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001261/0.001261, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009443/0.0009442, allocations: 94.73 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.196/0.196, allocations: 45.14 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.223e-05/2.2e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1215, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.5459, allocations: 90.3 MB / 0.5927 GB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.5462, allocations: 95.5 kB / 0.5928 GB, free: 11.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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.01327/0.5595, allocations: 4.357 MB / 0.597 GB, free: 8.137 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5596, allocations: 0 / 0.597 GB, free: 8.137 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.5596, allocations: 4 kB / 0.597 GB, free: 8.133 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006206/0.5602, allocations: 444.9 kB / 0.5974 GB, free: 7.664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.5603, allocations: 8.031 kB / 0.5974 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007099/0.561, allocations: 101.9 kB / 0.5975 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.5613, allocations: 221.2 kB / 0.5978 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.5613, allocations: 4.844 kB / 0.5978 GB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.5614, allocations: 8 kB / 0.5978 GB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003472/0.5617, allocations: 198.7 kB / 0.598 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.562, allocations: 193.3 kB / 0.5981 GB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.5621, allocations: 3.984 kB / 0.5981 GB, free: 7.004 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.5621, allocations: 0 / 0.5981 GB, free: 7.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/0.5621, allocations: 15.98 kB / 0.5982 GB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.5634, allocations: 0.6796 MB / 0.5988 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.5636, allocations: 73.38 kB / 0.5989 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/0.5637, allocations: 39.8 kB / 0.5989 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.5637, allocations: 8.141 kB / 0.5989 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.5637, allocations: 42.05 kB / 0.599 GB, free: 6.121 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.5637, allocations: 0 / 0.599 GB, free: 6.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002518/0.564, allocations: 92.45 kB / 0.5991 GB, free: 6.031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.564, allocations: 54.47 kB / 0.5991 GB, free: 5.969 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.5642, allocations: 122.2 kB / 0.5992 GB, free: 5.852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.5642, allocations: 29.7 kB / 0.5993 GB, free: 5.816 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.23e-05/0.5643, allocations: 138.5 kB / 0.5994 GB, free: 5.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.5643, allocations: 30.86 kB / 0.5994 GB, free: 5.656 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.5643, allocations: 4 kB / 0.5994 GB, free: 5.652 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5645, allocations: 314.3 kB / 0.5997 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.5646, allocations: 34.34 kB / 0.5998 GB, free: 5.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.5647, allocations: 84.09 kB / 0.5998 GB, free: 5.215 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.469e-05/0.5648, allocations: 49.83 kB / 0.5999 GB, free: 5.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5648, allocations: 0 / 0.5999 GB, free: 5.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002428/0.565, allocations: 134.2 kB / 0.6 GB, free: 5.047 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.5651, allocations: 11.94 kB / 0.6 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5651, allocations: 12.23 kB / 0.6 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.5651, allocations: 4 kB / 0.6 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008886/0.566, allocations: 107.8 kB / 0.6001 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.5674, allocations: 1.832 MB / 0.6019 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.5676, allocations: 20.12 kB / 0.602 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.5676, allocations: 11.98 kB / 0.602 GB, free: 2.996 MB / 394.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 () * 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.0001037/0.5677, allocations: 104.9 kB / 0.6021 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001752/0.5679, allocations: 107 kB / 0.6022 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.568, allocations: 7.906 kB / 0.6022 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.5683, allocations: 141.1 kB / 0.6023 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5683, allocations: 4 kB / 0.6023 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5683, allocations: 0 / 0.6023 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5683, allocations: 0 / 0.6023 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.5685, allocations: 194.4 kB / 0.6025 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5686, allocations: 0 / 0.6025 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007249/0.5693, allocations: 103.8 kB / 0.6026 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.5693, allocations: 7.891 kB / 0.6026 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.5693, allocations: 0 / 0.6026 GB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.5705, allocations: 1.775 MB / 0.6043 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5705, allocations: 0 / 0.6043 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.5707, allocations: 204.3 kB / 0.6045 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.5708, allocations: 92.45 kB / 0.6046 GB, free: 196 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.5708, allocations: 3.953 kB / 0.6046 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.5709, allocations: 11.98 kB / 0.6046 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.571, allocations: 7.984 kB / 0.6046 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.571, allocations: 4 kB / 0.6046 GB, free: 168 kB / 394.7 MB Notification: Performance of sorting global known variables: time 6.414e-05/0.5711, allocations: 100.2 kB / 0.6047 GB, free: 76 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5711, allocations: 0 / 0.6047 GB, free: 76 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.5714, allocations: 51.78 kB / 0.6048 GB, free: 24 kB / 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 () * 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.0006674/0.5721, allocations: 0.7766 MB / 0.6056 GB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009135/0.573, allocations: 149.2 kB / 0.6057 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5731, allocations: 0 / 0.6057 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.5736, allocations: 95.66 kB / 0.6058 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.5739, allocations: 16.59 kB / 0.6058 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006947/0.5746, allocations: 267.9 kB / 0.6061 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.5749, allocations: 0.7425 MB / 0.6068 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.5751, allocations: 28.47 kB / 0.6068 GB, free: 13.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.5752, allocations: 40.48 kB / 0.6068 GB, free: 13.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5752, allocations: 0 / 0.6068 GB, free: 13.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.6001, allocations: 3.461 MB / 0.6102 GB, free: 10.49 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002869/0.6005, allocations: 200.2 kB / 0.6104 GB, free: 10.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.246, allocations: 4.031 kB / 0.6104 GB, free: 10.2 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat