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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 184.6 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.582/1.582, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008569/0.0008568, allocations: 90.86 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.1935/0.1935, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004154, allocations: 11.98 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1266, allocations: 58.85 MB / 490.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4028/0.5294, allocations: 89.44 MB / 0.5662 GB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/0.5298, allocations: 103.6 kB / 0.5663 GB, free: 10.18 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5587:11-5590: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 3.2.3+maint.om/Fluid/Dissipation.mo:5598:11-5601: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.02392/0.5537, allocations: 7.825 MB / 0.574 GB, free: 3.539 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5538, allocations: 0 / 0.574 GB, free: 3.539 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.068e-05/0.5538, allocations: 4 kB / 0.574 GB, free: 3.535 MB / 378.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.0006873/0.5545, allocations: 447.8 kB / 0.5744 GB, free: 3.059 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5545, allocations: 12.03 kB / 0.5744 GB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.851e-05/0.5546, allocations: 56.47 kB / 0.5745 GB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007406/0.5554, allocations: 97.14 kB / 0.5745 GB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.5557, allocations: 225.6 kB / 0.5748 GB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.5557, allocations: 11.44 kB / 0.5748 GB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.5558, allocations: 11.75 kB / 0.5748 GB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000855/0.5566, allocations: 312.3 kB / 0.5751 GB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5567, allocations: 8 kB / 0.5751 GB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.5567, allocations: 3.312 kB / 0.5751 GB, free: 2.379 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.5568, allocations: 19.92 kB / 0.5751 GB, free: 2.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008451/0.5576, allocations: 323.1 kB / 0.5754 GB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.5594, allocations: 0.8558 MB / 0.5763 GB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/0.5601, allocations: 228.4 kB / 0.5765 GB, free: 1.039 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.5602, allocations: 3.938 kB / 0.5765 GB, free: 1.035 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.5602, allocations: 38.12 kB / 0.5765 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.5602, allocations: 0 / 0.5765 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001053/0.5613, allocations: 298.1 kB / 0.5768 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.5613, allocations: 55.41 kB / 0.5769 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.5615, allocations: 173.8 kB / 0.577 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.5616, allocations: 29.08 kB / 0.577 GB, free: 472 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.34e-05/0.5617, allocations: 137 kB / 0.5772 GB, free: 344 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.5617, allocations: 46.77 kB / 0.5772 GB, free: 300 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.5618, allocations: 3.375 kB / 0.5772 GB, free: 300 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.562, allocations: 322.5 kB / 0.5775 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/0.5623, allocations: 87.66 kB / 0.5776 GB, free: 15.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.5626, allocations: 145.3 kB / 0.5778 GB, free: 15.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.563, allocations: 100.6 kB / 0.5778 GB, free: 15.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.563, allocations: 0 / 0.5778 GB, free: 15.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007737/0.5638, allocations: 286 kB / 0.5781 GB, free: 15.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5638, allocations: 4.469 kB / 0.5781 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5638, allocations: 4 kB / 0.5781 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.5638, allocations: 0 / 0.5781 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/0.5643, allocations: 90.89 kB / 0.5782 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000955/0.5653, allocations: 1.779 MB / 0.58 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.5656, allocations: 30.98 kB / 0.58 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.5656, allocations: 20.2 kB / 0.58 GB, free: 13.43 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 () * Number of clocked 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.0001482/0.5658, allocations: 149.4 kB / 0.5801 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.5658, allocations: 11.86 kB / 0.5802 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008171/0.5666, allocations: 276.3 kB / 0.5804 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5667, allocations: 0 / 0.5804 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5667, allocations: 0 / 0.5804 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5667, allocations: 4 kB / 0.5804 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.567, allocations: 256.3 kB / 0.5807 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.567, allocations: 4 kB / 0.5807 GB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.5674, allocations: 67.67 kB / 0.5807 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.5674, allocations: 7.938 kB / 0.5807 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.5675, allocations: 7.984 kB / 0.5808 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000864/0.5683, allocations: 1.785 MB / 0.5825 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5684, allocations: 0 / 0.5825 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007018/0.5691, allocations: 325.5 kB / 0.5828 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.5691, allocations: 88.92 kB / 0.5829 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.5692, allocations: 7.938 kB / 0.5829 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.5694, allocations: 11.94 kB / 0.5829 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.5695, allocations: 11.97 kB / 0.5829 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.5695, allocations: 11.97 kB / 0.5829 GB, free: 10.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.5696, allocations: 139.1 kB / 0.5831 GB, free: 10.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5696, allocations: 3.938 kB / 0.5831 GB, free: 10.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004346/0.5701, allocations: 71.41 kB / 0.5831 GB, free: 10.18 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 (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.001198/0.5713, allocations: 0.9014 MB / 0.584 GB, free: 9.281 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008231/0.5721, allocations: 238.9 kB / 0.5842 GB, free: 9.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5721, allocations: 0 / 0.5842 GB, free: 9.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004469/0.5726, allocations: 136.1 kB / 0.5844 GB, free: 8.949 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.5728, allocations: 11.89 kB / 0.5844 GB, free: 8.941 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.5756, allocations: 2.259 MB / 0.5866 GB, free: 6.742 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.576, allocations: 0.7397 MB / 0.5873 GB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002421/0.5763, allocations: 65.03 kB / 0.5874 GB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.5764, allocations: 58.06 kB / 0.5874 GB, free: 5.883 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5764, allocations: 0 / 0.5874 GB, free: 5.883 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.5988, allocations: 4.664 MB / 0.592 GB, free: 1.293 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/0.5991, allocations: 257.7 kB / 0.5922 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.375, allocations: 3.938 kB / 0.5922 GB, free: 0.9336 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat