Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001111/0.001111, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.578/1.578, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001216/0.001216, allocations: 99.84 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2128/0.2128, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.92e-05, allocations: 3.359 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 63.24 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4073/0.5142, allocations: 94.37 MB / 0.5966 GB, free: 8.148 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.5145, allocations: 102.1 kB / 0.5967 GB, free: 8.09 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5283:11-5295: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 trunk/Fluid/Dissipation.mo:5297:11-5298: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 trunk/Fluid/Dissipation.mo:5301:11-5313: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 trunk/Fluid/Dissipation.mo:5315:11-5316: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.02432/0.5389, allocations: 9.075 MB / 0.6056 GB, free: 428 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5389, allocations: 3.938 kB / 0.6056 GB, free: 424 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.691e-05/0.5389, allocations: 4 kB / 0.6056 GB, free: 420 kB / 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.0007992/0.5397, allocations: 0.5267 MB / 0.6061 GB, free: 15.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.5398, allocations: 12.03 kB / 0.6061 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.673e-05/0.5399, allocations: 31.62 kB / 0.6062 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.5403, allocations: 241.5 kB / 0.6064 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.5404, allocations: 12 kB / 0.6064 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.5404, allocations: 16 kB / 0.6064 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005299/0.541, allocations: 380.6 kB / 0.6068 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005838/0.5416, allocations: 405.8 kB / 0.6072 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.5416, allocations: 0 / 0.6072 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.5416, allocations: 0 / 0.6072 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.5417, allocations: 28.2 kB / 0.6072 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.5433, allocations: 1.121 MB / 0.6083 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.5435, allocations: 69.86 kB / 0.6083 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.5435, allocations: 32.28 kB / 0.6084 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.5436, allocations: 4.141 kB / 0.6084 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.5436, allocations: 34.55 kB / 0.6084 GB, free: 13.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.5436, allocations: 4 kB / 0.6084 GB, free: 13.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002655/0.5439, allocations: 92.56 kB / 0.6085 GB, free: 13.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.544, allocations: 51.41 kB / 0.6086 GB, free: 13.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.5442, allocations: 149.2 kB / 0.6087 GB, free: 13.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.5443, allocations: 29.7 kB / 0.6087 GB, free: 13.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.5445, allocations: 216.7 kB / 0.6089 GB, free: 13.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.5445, allocations: 26.89 kB / 0.609 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.5445, allocations: 0 / 0.609 GB, free: 13.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.5447, allocations: 322.3 kB / 0.6093 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.586e-05/0.5448, allocations: 41.98 kB / 0.6093 GB, free: 12.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.545, allocations: 154.1 kB / 0.6095 GB, free: 12.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.5452, allocations: 62.02 kB / 0.6095 GB, free: 12.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5452, allocations: 11.88 kB / 0.6095 GB, free: 12.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000432/0.5456, allocations: 186.4 kB / 0.6097 GB, free: 12.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.5457, allocations: 11.98 kB / 0.6097 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5457, allocations: 8.031 kB / 0.6097 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.5457, allocations: 8 kB / 0.6097 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/0.5462, allocations: 82.7 kB / 0.6098 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.5473, allocations: 1.783 MB / 0.6115 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.5475, allocations: 27.14 kB / 0.6116 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.5475, allocations: 12 kB / 0.6116 GB, free: 10.38 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.0001413/0.5477, allocations: 120.4 kB / 0.6117 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001725/0.5479, allocations: 103.9 kB / 0.6118 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.5479, allocations: 15.81 kB / 0.6118 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.5484, allocations: 165.1 kB / 0.612 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5484, allocations: 0 / 0.612 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5484, allocations: 3.938 kB / 0.612 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.5484, allocations: 7.984 kB / 0.612 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.5487, allocations: 230.9 kB / 0.6122 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.5487, allocations: 0 / 0.6122 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.549, allocations: 59.95 kB / 0.6123 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.549, allocations: 0 / 0.6123 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.5491, allocations: 4 kB / 0.6123 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.5502, allocations: 1.776 MB / 0.614 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.5502, allocations: 288 / 0.614 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.5504, allocations: 196.9 kB / 0.6142 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.5505, allocations: 92.91 kB / 0.6143 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.5506, allocations: 0 / 0.6143 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.5507, allocations: 8 kB / 0.6143 GB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.5508, allocations: 7.984 kB / 0.6143 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.5508, allocations: 4 kB / 0.6143 GB, free: 7.523 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.95e-05/0.5509, allocations: 117.6 kB / 0.6144 GB, free: 7.418 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5509, allocations: 4 kB / 0.6144 GB, free: 7.414 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006273/0.5515, allocations: 95.31 kB / 0.6145 GB, free: 7.324 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.0008923/0.5524, allocations: 0.8031 MB / 0.6153 GB, free: 6.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004379/0.5529, allocations: 129.2 kB / 0.6154 GB, free: 6.395 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5529, allocations: 0 / 0.6154 GB, free: 6.395 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.5532, allocations: 74.31 kB / 0.6155 GB, free: 6.328 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.5534, allocations: 12.52 kB / 0.6155 GB, free: 6.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.5545, allocations: 392.4 kB / 0.6159 GB, free: 5.922 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.555, allocations: 0.8046 MB / 0.6167 GB, free: 5.098 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002464/0.5552, allocations: 64.97 kB / 0.6167 GB, free: 5.035 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.5553, allocations: 76.28 kB / 0.6168 GB, free: 5.012 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5553, allocations: 3.938 kB / 0.6168 GB, free: 5.008 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.5833, allocations: 4.383 MB / 0.6211 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/0.5837, allocations: 215.1 kB / 0.6213 GB, free: 380 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.245, allocations: 4 kB / 0.6213 GB, free: 376 kB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat