Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001609/0.001609, allocations: 202.8 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.582/1.582, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008026/0.0008026, allocations: 101.3 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2008/0.2008, allocations: 45.16 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.7e-05/1.704e-05, allocations: 0 / 453.3 MB, free: 75.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1041, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.398/0.5022, allocations: 99.49 MB / 0.6016 GB, free: 2.773 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.5025, allocations: 97.56 kB / 0.6017 GB, free: 2.719 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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.04696/0.5494, allocations: 15.33 MB / 0.6167 GB, free: 5.684 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5495, allocations: 0 / 0.6167 GB, free: 5.684 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.5495, allocations: 8 kB / 0.6167 GB, free: 5.676 MB / 410.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.0009187/0.5504, allocations: 0.559 MB / 0.6173 GB, free: 5.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.5505, allocations: 16.02 kB / 0.6173 GB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.5506, allocations: 31.58 kB / 0.6173 GB, free: 5.043 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.5508, allocations: 229.6 kB / 0.6175 GB, free: 4.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.5509, allocations: 8 kB / 0.6175 GB, free: 4.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.5509, allocations: 16 kB / 0.6175 GB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004292/0.5514, allocations: 321.5 kB / 0.6178 GB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.5518, allocations: 313.4 kB / 0.6181 GB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.5518, allocations: 0 / 0.6181 GB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.5518, allocations: 0 / 0.6181 GB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.5519, allocations: 32.14 kB / 0.6182 GB, free: 4.254 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.5533, allocations: 0.9592 MB / 0.6191 GB, free: 3.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.5538, allocations: 251.4 kB / 0.6194 GB, free: 3.078 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.5539, allocations: 78.69 kB / 0.6194 GB, free: 3.016 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.554, allocations: 12.19 kB / 0.6194 GB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.554, allocations: 41.31 kB / 0.6195 GB, free: 2.957 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.554, allocations: 0 / 0.6195 GB, free: 2.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000384/0.5544, allocations: 196.5 kB / 0.6197 GB, free: 2.785 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.5544, allocations: 55.41 kB / 0.6197 GB, free: 2.719 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.5545, allocations: 116.5 kB / 0.6198 GB, free: 2.605 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.5546, allocations: 25.7 kB / 0.6199 GB, free: 2.574 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.5547, allocations: 167.6 kB / 0.62 GB, free: 2.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.5548, allocations: 66.5 kB / 0.6201 GB, free: 2.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.5548, allocations: 4 kB / 0.6201 GB, free: 2.355 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5549, allocations: 320.9 kB / 0.6204 GB, free: 2.039 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.623e-05/0.555, allocations: 59.78 kB / 0.6204 GB, free: 1.992 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.5552, allocations: 94.11 kB / 0.6205 GB, free: 1.906 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.5553, allocations: 75 kB / 0.6206 GB, free: 1.848 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5553, allocations: 0 / 0.6206 GB, free: 1.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003347/0.5556, allocations: 206.7 kB / 0.6208 GB, free: 1.664 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.5557, allocations: 7.984 kB / 0.6208 GB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5557, allocations: 4 kB / 0.6208 GB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5557, allocations: 3.953 kB / 0.6208 GB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/0.5562, allocations: 93.36 kB / 0.6209 GB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.5576, allocations: 2.391 MB / 0.6232 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.5578, allocations: 20.52 kB / 0.6233 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.5578, allocations: 9 kB / 0.6233 GB, free: 15.07 MB / 426.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.473e-05/0.5579, allocations: 109.7 kB / 0.6234 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003226/0.5582, allocations: 205.4 kB / 0.6236 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.5583, allocations: 16.48 kB / 0.6236 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005867/0.5589, allocations: 307.3 kB / 0.6239 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5589, allocations: 0 / 0.6239 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5589, allocations: 8 kB / 0.6239 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5589, allocations: 4 kB / 0.6239 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.5592, allocations: 256.8 kB / 0.6241 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5592, allocations: 3.984 kB / 0.6241 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.5596, allocations: 90.3 kB / 0.6242 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.5597, allocations: 3.938 kB / 0.6242 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.5597, allocations: 5.625 kB / 0.6242 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.561, allocations: 2.382 MB / 0.6266 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.561, allocations: 4.062 kB / 0.6266 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.5614, allocations: 325.3 kB / 0.6269 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.5615, allocations: 121.3 kB / 0.627 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.5615, allocations: 0 / 0.627 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.5617, allocations: 11.98 kB / 0.627 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.5618, allocations: 18.34 kB / 0.627 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.5618, allocations: 9.375 kB / 0.627 GB, free: 11.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.933e-05/0.5618, allocations: 107.5 kB / 0.6271 GB, free: 11.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5619, allocations: 0 / 0.6271 GB, free: 11.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007179/0.5626, allocations: 201 kB / 0.6273 GB, free: 10.9 MB / 426.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.001007/0.5636, allocations: 1.028 MB / 0.6283 GB, free: 9.883 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004837/0.5641, allocations: 201.2 kB / 0.6285 GB, free: 9.715 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5641, allocations: 3.938 kB / 0.6285 GB, free: 9.711 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.5644, allocations: 142.3 kB / 0.6287 GB, free: 9.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.5646, allocations: 3.984 kB / 0.6287 GB, free: 9.586 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008666/0.5655, allocations: 493.4 kB / 0.6291 GB, free: 9.086 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.5659, allocations: 0.7975 MB / 0.6299 GB, free: 8.262 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.5661, allocations: 69.03 kB / 0.63 GB, free: 8.195 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.5662, allocations: 84.33 kB / 0.6301 GB, free: 8.16 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5662, allocations: 0 / 0.6301 GB, free: 8.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.5953, allocations: 6.345 MB / 0.6363 GB, free: 1.844 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/0.5956, allocations: 186.9 kB / 0.6364 GB, free: 1.652 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.44, allocations: 0 / 0.6364 GB, free: 1.652 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat