Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.001145/0.001145, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 82.64 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2142/0.2142, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.772e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1197, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4261/0.5458, allocations: 109.7 MB / 0.5731 GB, free: 1.523 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.5462, allocations: 100.5 kB / 0.5732 GB, free: 1.469 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4955:11-4956:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4977:11-4978:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4937:11-4953:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4959:11-4975:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.08005/0.6262, allocations: 27.54 MB / 0.6001 GB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.135e-06/0.6263, allocations: 0 / 0.6001 GB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.6263, allocations: 15.88 kB / 0.6001 GB, free: 10.38 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001837/0.6281, allocations: 0.9027 MB / 0.601 GB, free: 9.477 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.6282, allocations: 8.031 kB / 0.601 GB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.6283, allocations: 79.02 kB / 0.6011 GB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.6289, allocations: 347.9 kB / 0.6014 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.6289, allocations: 24 kB / 0.6015 GB, free: 9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.629, allocations: 44 kB / 0.6015 GB, free: 8.957 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001561/0.6306, allocations: 1.219 MB / 0.6027 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.632, allocations: 1.04 MB / 0.6037 GB, free: 7.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.632, allocations: 0 / 0.6037 GB, free: 7.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.6321, allocations: 0 / 0.6037 GB, free: 7.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-05/0.6322, allocations: 81.34 kB / 0.6038 GB, free: 7.355 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004121/0.6363, allocations: 2.773 MB / 0.6065 GB, free: 4.902 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/0.637, allocations: 397.1 kB / 0.6069 GB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.6372, allocations: 124.2 kB / 0.607 GB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.6373, allocations: 8.266 kB / 0.607 GB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.6373, allocations: 34.28 kB / 0.607 GB, free: 4.461 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.903e-06/0.6373, allocations: 4 kB / 0.607 GB, free: 4.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005118/0.6378, allocations: 306.1 kB / 0.6073 GB, free: 4.203 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.6379, allocations: 59.34 kB / 0.6074 GB, free: 4.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.6381, allocations: 184.8 kB / 0.6076 GB, free: 3.965 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.6381, allocations: 25.7 kB / 0.6076 GB, free: 3.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.6383, allocations: 385.8 kB / 0.608 GB, free: 3.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.833e-05/0.6384, allocations: 112.6 kB / 0.6081 GB, free: 3.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/0.6384, allocations: 0 / 0.6081 GB, free: 3.484 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6385, allocations: 329.3 kB / 0.6084 GB, free: 3.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.6387, allocations: 123.8 kB / 0.6085 GB, free: 3.066 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.639, allocations: 318.6 kB / 0.6088 GB, free: 2.707 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.6393, allocations: 196.9 kB / 0.609 GB, free: 2.547 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6393, allocations: 0 / 0.609 GB, free: 2.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006563/0.64, allocations: 463.1 kB / 0.6094 GB, free: 2.148 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.64, allocations: 8 kB / 0.6094 GB, free: 2.141 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.64, allocations: 8.875 kB / 0.6094 GB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.64, allocations: 8 kB / 0.6095 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/0.6408, allocations: 206.2 kB / 0.6096 GB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.6424, allocations: 2.998 MB / 0.6126 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.6428, allocations: 63.61 kB / 0.6126 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.6428, allocations: 31.17 kB / 0.6127 GB, free: 14.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.643, allocations: 128.7 kB / 0.6128 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000448/0.6434, allocations: 312.8 kB / 0.6131 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.6435, allocations: 19.72 kB / 0.6131 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.6445, allocations: 0.516 MB / 0.6136 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6445, allocations: 7.938 kB / 0.6136 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6446, allocations: 0 / 0.6136 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.6446, allocations: 0 / 0.6136 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.6458, allocations: 0.9622 MB / 0.6146 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.6458, allocations: 7.984 kB / 0.6146 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/0.6464, allocations: 171.9 kB / 0.6147 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.6464, allocations: 7.938 kB / 0.6147 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.6465, allocations: 12 kB / 0.6147 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.6478, allocations: 2.967 MB / 0.6176 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.6478, allocations: 8.125 kB / 0.6177 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.6483, allocations: 0.5345 MB / 0.6182 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.6484, allocations: 104.8 kB / 0.6183 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.6484, allocations: 7.953 kB / 0.6183 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.6486, allocations: 11.98 kB / 0.6183 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.6487, allocations: 35.59 kB / 0.6183 GB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.6488, allocations: 23.67 kB / 0.6184 GB, free: 8.969 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.291e-05/0.6488, allocations: 117.9 kB / 0.6185 GB, free: 8.863 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6489, allocations: 8 kB / 0.6185 GB, free: 8.855 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001185/0.65, allocations: 357.6 kB / 0.6188 GB, free: 8.512 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001816/0.6519, allocations: 1.928 MB / 0.6207 GB, free: 6.562 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008535/0.6527, allocations: 395.1 kB / 0.6211 GB, free: 6.238 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6527, allocations: 0 / 0.6211 GB, free: 6.238 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004665/0.6532, allocations: 215.7 kB / 0.6213 GB, free: 6.051 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.6535, allocations: 22.98 kB / 0.6213 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.6555, allocations: 1.063 MB / 0.6223 GB, free: 4.957 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.6561, allocations: 0.9999 MB / 0.6233 GB, free: 3.949 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005177/0.6566, allocations: 174.8 kB / 0.6235 GB, free: 3.781 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.6568, allocations: 211.4 kB / 0.6237 GB, free: 3.723 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6568, allocations: 0 / 0.6237 GB, free: 3.723 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.034/0.6908, allocations: 11.13 MB / 0.6346 GB, free: 8.617 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/0.6911, allocations: 198.4 kB / 0.6347 GB, free: 8.355 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.692, allocations: 0 / 0.6347 GB, free: 8.355 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat