Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.769/1.769, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001029/0.001029, allocations: 98.83 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.2377/0.2377, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003723, allocations: 12 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1328, allocations: 58.85 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4305/0.5634, allocations: 98.06 MB / 0.5746 GB, free: 1.699 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.5638, allocations: 99.94 kB / 0.5747 GB, free: 1.641 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4809:11-4812: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 3.2.3+maint.om/Fluid/Dissipation.mo:4822:11-4825: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.04615/0.6099, allocations: 15.19 MB / 0.5896 GB, free: 4.492 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.676e-06/0.61, allocations: 0 / 0.5896 GB, free: 4.492 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.61, allocations: 7.938 kB / 0.5896 GB, free: 4.484 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009492/0.611, allocations: 0.5651 MB / 0.5901 GB, free: 3.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.611, allocations: 12.03 kB / 0.5901 GB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.351e-05/0.6111, allocations: 64.41 kB / 0.5902 GB, free: 3.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.6112, allocations: 31.58 kB / 0.5902 GB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.6115, allocations: 229.8 kB / 0.5904 GB, free: 3.527 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.6115, allocations: 23.55 kB / 0.5905 GB, free: 3.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.6116, allocations: 19.69 kB / 0.5905 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/0.6121, allocations: 370.9 kB / 0.5908 GB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.6122, allocations: 0 / 0.5908 GB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.6122, allocations: 14.86 kB / 0.5908 GB, free: 3.207 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-05/0.6123, allocations: 27.83 kB / 0.5909 GB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006562/0.6129, allocations: 401 kB / 0.5913 GB, free: 2.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.6145, allocations: 1.056 MB / 0.5923 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/0.6151, allocations: 286.5 kB / 0.5926 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.6151, allocations: 12.17 kB / 0.5926 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.6151, allocations: 34.75 kB / 0.5926 GB, free: 1.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.6151, allocations: 0 / 0.5926 GB, free: 1.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007486/0.6159, allocations: 338.5 kB / 0.5929 GB, free: 1.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.616, allocations: 55.41 kB / 0.593 GB, free: 1.184 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.6162, allocations: 198.1 kB / 0.5932 GB, free: 1.004 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.6162, allocations: 29.64 kB / 0.5932 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.639e-05/0.6163, allocations: 154.8 kB / 0.5933 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.6164, allocations: 74.5 kB / 0.5934 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.6164, allocations: 7.938 kB / 0.5934 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6165, allocations: 330.5 kB / 0.5937 GB, free: 456 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.6167, allocations: 87.05 kB / 0.5938 GB, free: 380 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.6169, allocations: 113.6 kB / 0.5939 GB, free: 272 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.6171, allocations: 94.88 kB / 0.594 GB, free: 196 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6171, allocations: 0 / 0.594 GB, free: 196 kB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005092/0.6176, allocations: 271.1 kB / 0.5943 GB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.6177, allocations: 15.89 kB / 0.5943 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6177, allocations: 3.938 kB / 0.5943 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.6177, allocations: 0 / 0.5943 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.6181, allocations: 91.86 kB / 0.5944 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.6195, allocations: 2.378 MB / 0.5967 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.6197, allocations: 32.05 kB / 0.5967 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.6198, allocations: 19.67 kB / 0.5968 GB, free: 13.35 MB / 410.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 () * Number of clocked 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 0.0001829/0.62, allocations: 165.3 kB / 0.5969 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.62, allocations: 19.72 kB / 0.5969 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007879/0.6208, allocations: 368.1 kB / 0.5973 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.6208, allocations: 0 / 0.5973 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6208, allocations: 0 / 0.5973 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6208, allocations: 0 / 0.5973 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.6212, allocations: 319.7 kB / 0.5976 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.6212, allocations: 4 kB / 0.5976 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.6216, allocations: 87.92 kB / 0.5977 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.6216, allocations: 0 / 0.5977 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.6217, allocations: 11.5 kB / 0.5977 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.623, allocations: 2.382 MB / 0.6 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.623, allocations: 0 / 0.6 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/0.6235, allocations: 382 kB / 0.6004 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.6237, allocations: 132.3 kB / 0.6005 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.6237, allocations: 3.875 kB / 0.6005 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.6239, allocations: 12 kB / 0.6005 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.624, allocations: 27.78 kB / 0.6005 GB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.624, allocations: 7.984 kB / 0.6006 GB, free: 9.453 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001582/0.6242, allocations: 172.8 kB / 0.6007 GB, free: 9.309 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6242, allocations: 0 / 0.6007 GB, free: 9.309 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007974/0.625, allocations: 183.3 kB / 0.6009 GB, free: 9.137 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 () * Number of clocked 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.001411/0.6264, allocations: 1.072 MB / 0.6019 GB, free: 8.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007186/0.6271, allocations: 256.8 kB / 0.6022 GB, free: 7.871 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6271, allocations: 0 / 0.6022 GB, free: 7.871 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.6276, allocations: 158.3 kB / 0.6023 GB, free: 7.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.6279, allocations: 46.47 kB / 0.6024 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.6308, allocations: 1.949 MB / 0.6043 GB, free: 5.871 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.6313, allocations: 0.7899 MB / 0.6051 GB, free: 5.062 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002608/0.6316, allocations: 85.77 kB / 0.6051 GB, free: 4.977 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.6317, allocations: 80.89 kB / 0.6052 GB, free: 4.941 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6318, allocations: 0 / 0.6052 GB, free: 4.941 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.6551, allocations: 7.961 MB / 0.613 GB, free: 13.04 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002844/0.6554, allocations: 258.4 kB / 0.6132 GB, free: 12.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.602, allocations: 3.953 kB / 0.6132 GB, free: 12.7 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat