Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.001333/0.001333, allocations: 178.7 kB / 14.15 MB, free: 1.168 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.513/1.513, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008335/0.0008333, allocations: 94.72 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2064/0.2064, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.044e-05, allocations: 8 kB / 452 MB, free: 9.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1271, allocations: 61.91 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5652, allocations: 99.1 MB / 0.5986 GB, free: 6.121 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.5656, allocations: 95.88 kB / 0.5987 GB, free: 6.027 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4725:11-4728:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:4738:11-4741:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.04819/0.6138, allocations: 15.44 MB / 0.6138 GB, free: 6.492 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6138, allocations: 0 / 0.6138 GB, free: 6.492 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.6138, allocations: 4 kB / 0.6138 GB, free: 6.488 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009613/0.6148, allocations: 0.5566 MB / 0.6143 GB, free: 5.883 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.6149, allocations: 8.031 kB / 0.6143 GB, free: 5.875 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.746e-05/0.615, allocations: 70.52 kB / 0.6144 GB, free: 5.797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.615, allocations: 27.62 kB / 0.6144 GB, free: 5.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.6153, allocations: 238.7 kB / 0.6146 GB, free: 5.496 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.6154, allocations: 16.56 kB / 0.6147 GB, free: 5.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.6154, allocations: 23.94 kB / 0.6147 GB, free: 5.457 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.616, allocations: 358 kB / 0.615 GB, free: 5.102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.616, allocations: 0 / 0.615 GB, free: 5.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.616, allocations: 8 kB / 0.615 GB, free: 5.094 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-05/0.6161, allocations: 32.77 kB / 0.6151 GB, free: 5.062 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.6166, allocations: 358.9 kB / 0.6154 GB, free: 4.711 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.6181, allocations: 1.056 MB / 0.6164 GB, free: 3.555 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.6186, allocations: 266.9 kB / 0.6167 GB, free: 3.285 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.6187, allocations: 81.19 kB / 0.6168 GB, free: 3.203 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.6188, allocations: 8.188 kB / 0.6168 GB, free: 3.195 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.6188, allocations: 34.69 kB / 0.6168 GB, free: 3.152 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.6188, allocations: 4 kB / 0.6168 GB, free: 3.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.00044/0.6193, allocations: 219.9 kB / 0.617 GB, free: 2.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.6193, allocations: 51.41 kB / 0.6171 GB, free: 2.867 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.6195, allocations: 203.1 kB / 0.6173 GB, free: 2.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.6196, allocations: 25.7 kB / 0.6173 GB, free: 2.629 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.6197, allocations: 152.4 kB / 0.6174 GB, free: 2.477 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.6197, allocations: 79.06 kB / 0.6175 GB, free: 2.398 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.6197, allocations: 0 / 0.6175 GB, free: 2.398 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6199, allocations: 330.8 kB / 0.6178 GB, free: 2.066 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.62, allocations: 75.75 kB / 0.6179 GB, free: 1.992 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.6202, allocations: 97.72 kB / 0.618 GB, free: 1.891 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.6203, allocations: 78.75 kB / 0.6181 GB, free: 1.816 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6203, allocations: 0 / 0.6181 GB, free: 1.816 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003861/0.6207, allocations: 229.2 kB / 0.6183 GB, free: 1.586 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.6207, allocations: 8.062 kB / 0.6183 GB, free: 1.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6208, allocations: 4 kB / 0.6183 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.6208, allocations: 0 / 0.6183 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.6212, allocations: 91.92 kB / 0.6184 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.6225, allocations: 2.383 MB / 0.6207 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.6227, allocations: 32.05 kB / 0.6207 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.6227, allocations: 8 kB / 0.6207 GB, free: 14.97 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.985e-05/0.6228, allocations: 120.9 kB / 0.6209 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.6229, allocations: 27.67 kB / 0.6209 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007304/0.6236, allocations: 327 kB / 0.6212 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.6236, allocations: 4 kB / 0.6212 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6237, allocations: 0 / 0.6212 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.6237, allocations: 0 / 0.6212 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.624, allocations: 309.3 kB / 0.6215 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.624, allocations: 0 / 0.6215 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004608/0.6245, allocations: 91.86 kB / 0.6216 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.6245, allocations: 4 kB / 0.6216 GB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.6246, allocations: 11.95 kB / 0.6216 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.6258, allocations: 2.387 MB / 0.6239 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6258, allocations: 0 / 0.6239 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.6263, allocations: 335.6 kB / 0.6243 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.6264, allocations: 124.9 kB / 0.6244 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.6265, allocations: 7.984 kB / 0.6244 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.6266, allocations: 12.09 kB / 0.6244 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.6267, allocations: 19.97 kB / 0.6244 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.6267, allocations: 15.98 kB / 0.6244 GB, free: 11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001558/0.6269, allocations: 161.5 kB / 0.6246 GB, free: 10.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6269, allocations: 0 / 0.6246 GB, free: 10.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006879/0.6276, allocations: 183.6 kB / 0.6248 GB, free: 10.66 MB / 442.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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00116/0.6288, allocations: 1.052 MB / 0.6258 GB, free: 9.586 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005749/0.6294, allocations: 222.4 kB / 0.626 GB, free: 9.371 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6294, allocations: 4.125 kB / 0.626 GB, free: 9.367 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.6297, allocations: 135.8 kB / 0.6261 GB, free: 9.234 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.63, allocations: 35.75 kB / 0.6262 GB, free: 9.199 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009588/0.631, allocations: 0.5084 MB / 0.6267 GB, free: 8.656 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.6314, allocations: 0.7945 MB / 0.6274 GB, free: 7.836 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002365/0.6317, allocations: 81.89 kB / 0.6275 GB, free: 7.758 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.6318, allocations: 79.41 kB / 0.6276 GB, free: 7.68 MB / 442.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6318, allocations: 0 / 0.6276 GB, free: 7.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.6566, allocations: 8.019 MB / 0.6354 GB, free: 15.88 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/0.6569, allocations: 224.7 kB / 0.6356 GB, free: 15.66 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.684, allocations: 2.406 kB / 0.6356 GB, free: 15.66 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat