Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 180.9 kB / 14.15 MB, free: 1.176 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.541/1.541, allocations: 221.3 MB / 236 MB, free: 2.938 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.0008234/0.0008234, allocations: 101 kB / 287 MB, free: 224 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.1961/0.1961, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.386e-05/4.388e-05, allocations: 8.219 kB / 451.9 MB, free: 9.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1741, allocations: 61.92 MB / 0.5018 GB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5777/0.7518, allocations: 90.46 MB / 0.5902 GB, free: 14.74 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003789/0.7523, allocations: 95.94 kB / 0.5903 GB, free: 14.65 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5503:11-5506: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 4.0.0+maint.om/Fluid/Dissipation.mo:5514:11-5517: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.03088/0.7832, allocations: 7.94 MB / 0.598 GB, free: 6.695 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7832, allocations: 0 / 0.598 GB, free: 6.695 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.7833, allocations: 0 / 0.598 GB, free: 6.695 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007397/0.784, allocations: 445.9 kB / 0.5984 GB, free: 6.215 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.7841, allocations: 8.031 kB / 0.5984 GB, free: 6.207 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.822e-05/0.7842, allocations: 62.52 kB / 0.5985 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009095/0.7851, allocations: 95.61 kB / 0.5986 GB, free: 6.043 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.7855, allocations: 218.8 kB / 0.5988 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.7855, allocations: 11.95 kB / 0.5988 GB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/0.7856, allocations: 16 kB / 0.5988 GB, free: 5.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007001/0.7863, allocations: 297.2 kB / 0.5991 GB, free: 5.465 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.7863, allocations: 0 / 0.5991 GB, free: 5.465 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.7864, allocations: 4 kB / 0.5991 GB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.588e-05/0.7864, allocations: 19.98 kB / 0.5991 GB, free: 5.441 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006601/0.7871, allocations: 279.8 kB / 0.5994 GB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.7891, allocations: 0.8381 MB / 0.6002 GB, free: 4.238 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.7896, allocations: 194.3 kB / 0.6004 GB, free: 4.039 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.7898, allocations: 72.84 kB / 0.6005 GB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.7899, allocations: 3.984 kB / 0.6005 GB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.7899, allocations: 38.56 kB / 0.6005 GB, free: 3.914 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.79, allocations: 0 / 0.6005 GB, free: 3.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006184/0.7906, allocations: 189.5 kB / 0.6007 GB, free: 3.723 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.7906, allocations: 55.41 kB / 0.6008 GB, free: 3.656 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.7909, allocations: 171.7 kB / 0.6009 GB, free: 3.477 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.7909, allocations: 25.7 kB / 0.6009 GB, free: 3.445 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.7911, allocations: 139.5 kB / 0.6011 GB, free: 3.305 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.7911, allocations: 27.56 kB / 0.6011 GB, free: 3.277 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.7912, allocations: 4 kB / 0.6011 GB, free: 3.273 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7913, allocations: 326.8 kB / 0.6014 GB, free: 2.945 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.7915, allocations: 79.92 kB / 0.6015 GB, free: 2.867 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.7918, allocations: 116.2 kB / 0.6016 GB, free: 2.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.792, allocations: 83.95 kB / 0.6017 GB, free: 2.648 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.792, allocations: 0 / 0.6017 GB, free: 2.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006015/0.7926, allocations: 237.1 kB / 0.6019 GB, free: 2.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.7926, allocations: 8 kB / 0.6019 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.7927, allocations: 0 / 0.6019 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.7927, allocations: 7.953 kB / 0.6019 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.7933, allocations: 84.06 kB / 0.602 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.7948, allocations: 1.789 MB / 0.6038 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.7951, allocations: 27.8 kB / 0.6038 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.7952, allocations: 15.98 kB / 0.6038 GB, free: 420 kB / 410.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 () * 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.0001189/0.7953, allocations: 112.9 kB / 0.6039 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.7954, allocations: 11.81 kB / 0.6039 GB, free: 288 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006455/0.796, allocations: 227.1 kB / 0.6041 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.796, allocations: 12.05 kB / 0.6041 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7961, allocations: 3.938 kB / 0.6041 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.7961, allocations: 3.984 kB / 0.6041 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/0.7966, allocations: 257.5 kB / 0.6044 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7966, allocations: 0 / 0.6044 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005204/0.7971, allocations: 67.91 kB / 0.6045 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.7971, allocations: 4 kB / 0.6045 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.7972, allocations: 7.984 kB / 0.6045 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.7984, allocations: 1.785 MB / 0.6062 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.7984, allocations: 3.953 kB / 0.6062 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005523/0.799, allocations: 283.2 kB / 0.6065 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.33e-05/0.7991, allocations: 85.02 kB / 0.6066 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/0.7991, allocations: 4.125 kB / 0.6066 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.7994, allocations: 15.98 kB / 0.6066 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.984e-05/0.7995, allocations: 19.92 kB / 0.6066 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.7996, allocations: 11.97 kB / 0.6066 GB, free: 13.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.7998, allocations: 136 kB / 0.6067 GB, free: 13.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7998, allocations: 3.938 kB / 0.6068 GB, free: 13.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006415/0.8004, allocations: 63.84 kB / 0.6068 GB, free: 13.14 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 (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.001313/0.8017, allocations: 0.8712 MB / 0.6077 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007495/0.8025, allocations: 196.1 kB / 0.6079 GB, free: 12.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8025, allocations: 4 kB / 0.6079 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004257/0.803, allocations: 107.8 kB / 0.608 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.8033, allocations: 11.98 kB / 0.608 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009596/0.8043, allocations: 317 kB / 0.6083 GB, free: 11.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.8047, allocations: 0.7435 MB / 0.609 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003337/0.8051, allocations: 69.16 kB / 0.6091 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.8052, allocations: 55.39 kB / 0.6091 GB, free: 10.71 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.8052, allocations: 384 / 0.6091 GB, free: 10.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.8246, allocations: 4.7 MB / 0.6137 GB, free: 6.23 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.8249, allocations: 233.1 kB / 0.6139 GB, free: 5.949 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.572, allocations: 0 / 0.6139 GB, free: 5.949 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat