Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001272/0.001272, allocations: 200 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008012/0.0008013, allocations: 95.72 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1919/0.1919, allocations: 45.14 MB / 383.8 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.926e-05/1.93e-05, allocations: 4 kB / 453.3 MB, free: 75.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1354, allocations: 63.25 MB / 0.5045 GB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.544/0.6794, allocations: 90.86 MB / 0.5932 GB, free: 11.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.6798, allocations: 98.36 kB / 0.5933 GB, free: 11.47 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5503:11-5506:61: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:5514:11-5517:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02415/0.704, allocations: 7.927 MB / 0.601 GB, free: 4.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.704, allocations: 4 kB / 0.601 GB, free: 4.887 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.704, allocations: 0 / 0.601 GB, free: 4.887 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006457/0.7047, allocations: 456.1 kB / 0.6015 GB, free: 4.406 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.7048, allocations: 8.031 kB / 0.6015 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007265/0.7055, allocations: 89.98 kB / 0.6016 GB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.7058, allocations: 228.2 kB / 0.6018 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.7059, allocations: 4 kB / 0.6018 GB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.7059, allocations: 12 kB / 0.6018 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004389/0.7064, allocations: 274.2 kB / 0.6021 GB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.7068, allocations: 272.7 kB / 0.6023 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.7068, allocations: 0 / 0.6023 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.7068, allocations: 0 / 0.6023 GB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.7069, allocations: 15.98 kB / 0.6023 GB, free: 3.613 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.7083, allocations: 0.7801 MB / 0.6031 GB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.7087, allocations: 192.3 kB / 0.6033 GB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.7088, allocations: 67.94 kB / 0.6034 GB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.7088, allocations: 15.92 kB / 0.6034 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.7089, allocations: 30.56 kB / 0.6034 GB, free: 2.531 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.7089, allocations: 0 / 0.6034 GB, free: 2.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003902/0.7093, allocations: 171.3 kB / 0.6036 GB, free: 2.375 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.7093, allocations: 55.34 kB / 0.6036 GB, free: 2.309 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.7094, allocations: 126.1 kB / 0.6037 GB, free: 2.191 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.7095, allocations: 25.7 kB / 0.6038 GB, free: 2.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.7096, allocations: 149.9 kB / 0.6039 GB, free: 2.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.7096, allocations: 35.31 kB / 0.6039 GB, free: 1.984 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.7097, allocations: 0 / 0.6039 GB, free: 1.984 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7098, allocations: 318.5 kB / 0.6042 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.91e-05/0.7099, allocations: 66.56 kB / 0.6043 GB, free: 1.613 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.71, allocations: 118.3 kB / 0.6044 GB, free: 1.488 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.7102, allocations: 82.58 kB / 0.6045 GB, free: 1.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7102, allocations: 0 / 0.6045 GB, free: 1.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003782/0.7106, allocations: 218.3 kB / 0.6047 GB, free: 1.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.7106, allocations: 12.22 kB / 0.6047 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7106, allocations: 0 / 0.6047 GB, free: 1.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.7106, allocations: 7.984 kB / 0.6047 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.7111, allocations: 83.34 kB / 0.6048 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.7122, allocations: 1.787 MB / 0.6066 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.7124, allocations: 19.83 kB / 0.6066 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.7125, allocations: 11.98 kB / 0.6066 GB, free: 15.25 MB / 410.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 (17): * Single equations (assignments): 14 * 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.0001273/0.7126, allocations: 119.6 kB / 0.6067 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003299/0.713, allocations: 180.4 kB / 0.6069 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.713, allocations: 7.906 kB / 0.6069 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.7134, allocations: 223.1 kB / 0.6071 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7135, allocations: 0 / 0.6071 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7135, allocations: 4 kB / 0.6071 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.7135, allocations: 3.984 kB / 0.6071 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.7138, allocations: 218.8 kB / 0.6073 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.7138, allocations: 0 / 0.6073 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.7142, allocations: 74.98 kB / 0.6074 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.7142, allocations: 0 / 0.6074 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.7142, allocations: 7.984 kB / 0.6074 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.7152, allocations: 1.787 MB / 0.6091 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.7153, allocations: 0 / 0.6091 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.7157, allocations: 274.6 kB / 0.6094 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.7158, allocations: 92.91 kB / 0.6095 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.7158, allocations: 3.984 kB / 0.6095 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.716, allocations: 7.125 kB / 0.6095 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.7161, allocations: 15.97 kB / 0.6095 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.7162, allocations: 11.97 kB / 0.6095 GB, free: 12.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.002e-05/0.7162, allocations: 97.58 kB / 0.6096 GB, free: 12.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7163, allocations: 0 / 0.6096 GB, free: 12.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004992/0.7168, allocations: 70.72 kB / 0.6097 GB, free: 12.02 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 (10): * Single equations (assignments): 7 * 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.001084/0.7179, allocations: 0.8661 MB / 0.6105 GB, free: 11.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004881/0.7184, allocations: 185.4 kB / 0.6107 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7184, allocations: 4 kB / 0.6107 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.7187, allocations: 100 kB / 0.6108 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.7189, allocations: 6.875 kB / 0.6108 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007486/0.7196, allocations: 295.8 kB / 0.6111 GB, free: 10.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.72, allocations: 0.7431 MB / 0.6118 GB, free: 9.809 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002277/0.7202, allocations: 60.88 kB / 0.6119 GB, free: 9.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.7204, allocations: 58.06 kB / 0.6119 GB, free: 9.719 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.7204, allocations: 0 / 0.6119 GB, free: 9.719 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.7432, allocations: 3.635 MB / 0.6155 GB, free: 6.113 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.7435, allocations: 197.4 kB / 0.6157 GB, free: 5.918 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.382, allocations: 0 / 0.6157 GB, free: 5.918 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat