Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002389/0.002393, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001179/0.001178, allocations: 88.38 kB / 270.9 MB, free: 8.363 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.6061/0.6061, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004781, allocations: 12 kB / 431.5 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1369, allocations: 58.84 MB / 490.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6007/0.7377, allocations: 110.4 MB / 0.5867 GB, free: 8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004002/0.7382, allocations: 107.8 kB / 0.5868 GB, free: 7.898 MB / 410.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.1368/0.875, allocations: 27.9 MB / 0.614 GB, free: 11.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.875, allocations: 0 / 0.614 GB, free: 11.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.325e-05/0.8751, allocations: 12 kB / 0.614 GB, free: 11.74 MB / 442.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.002529/0.8776, allocations: 0.916 MB / 0.6149 GB, free: 10.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.8777, allocations: 12.02 kB / 0.6149 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002531/0.8779, allocations: 140 kB / 0.6151 GB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.8781, allocations: 75.16 kB / 0.6151 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007865/0.8789, allocations: 353.9 kB / 0.6155 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/0.879, allocations: 58 kB / 0.6155 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.8792, allocations: 76 kB / 0.6156 GB, free: 10.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.8822, allocations: 1.187 MB / 0.6168 GB, free: 8.836 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.8823, allocations: 4 kB / 0.6168 GB, free: 8.832 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.8824, allocations: 35.97 kB / 0.6168 GB, free: 8.797 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.8826, allocations: 77.95 kB / 0.6169 GB, free: 8.719 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004367/0.8869, allocations: 1.729 MB / 0.6186 GB, free: 6.992 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007384/0.8943, allocations: 2.975 MB / 0.6215 GB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.8959, allocations: 427.7 kB / 0.6219 GB, free: 3.453 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.694e-05/0.8959, allocations: 16.25 kB / 0.6219 GB, free: 3.438 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.896, allocations: 34.84 kB / 0.6219 GB, free: 3.395 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 2.425e-06/0.896, allocations: 0 / 0.6219 GB, free: 3.395 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.001653/0.8977, allocations: 491.9 kB / 0.6224 GB, free: 2.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.8977, allocations: 55.41 kB / 0.6224 GB, free: 2.844 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.898, allocations: 193.5 kB / 0.6226 GB, free: 2.645 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.8981, allocations: 33.7 kB / 0.6227 GB, free: 2.605 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.8984, allocations: 448.6 kB / 0.6231 GB, free: 2.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.8986, allocations: 122.3 kB / 0.6232 GB, free: 2.039 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.8987, allocations: 12 kB / 0.6232 GB, free: 2.027 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.8988, allocations: 334.8 kB / 0.6235 GB, free: 1.691 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.8993, allocations: 156.9 kB / 0.6237 GB, free: 1.535 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/0.9, allocations: 342.9 kB / 0.624 GB, free: 1.117 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006281/0.9007, allocations: 219.8 kB / 0.6242 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.9007, allocations: 0 / 0.6242 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001526/0.9022, allocations: 0.5527 MB / 0.6248 GB, free: 352 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.9023, allocations: 4 kB / 0.6248 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.9023, allocations: 8 kB / 0.6248 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/0.9023, allocations: 15.94 kB / 0.6248 GB, free: 324 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.9037, allocations: 204.2 kB / 0.625 GB, free: 120 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.9058, allocations: 2.996 MB / 0.6279 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.9063, allocations: 63.77 kB / 0.628 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.9064, allocations: 35.98 kB / 0.628 GB, free: 12.91 MB / 458.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 () * Number of clocked 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.0005502/0.907, allocations: 273.5 kB / 0.6283 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.9071, allocations: 19.72 kB / 0.6283 GB, free: 12.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.9093, allocations: 0.5775 MB / 0.6288 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.9094, allocations: 4 kB / 0.6289 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9094, allocations: 3.938 kB / 0.6289 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.9094, allocations: 4 kB / 0.6289 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/0.9123, allocations: 1.189 MB / 0.63 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.9123, allocations: 4 kB / 0.63 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.9135, allocations: 167.8 kB / 0.6302 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.9136, allocations: 4 kB / 0.6302 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/0.9136, allocations: 32.19 kB / 0.6302 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002042/0.9157, allocations: 2.954 MB / 0.6331 GB, free: 7.473 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.9157, allocations: 4.031 kB / 0.6331 GB, free: 7.469 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.9171, allocations: 0.5934 MB / 0.6337 GB, free: 6.785 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.9172, allocations: 104.8 kB / 0.6338 GB, free: 6.664 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/0.9173, allocations: 15.95 kB / 0.6338 GB, free: 6.648 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.9176, allocations: 12 kB / 0.6338 GB, free: 6.637 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.9177, allocations: 39.89 kB / 0.6339 GB, free: 6.598 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/0.9178, allocations: 23.98 kB / 0.6339 GB, free: 6.574 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001662/0.918, allocations: 131.5 kB / 0.634 GB, free: 6.445 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.918, allocations: 0 / 0.634 GB, free: 6.445 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001892/0.9199, allocations: 386.7 kB / 0.6344 GB, free: 6.066 MB / 458.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 () * Number of clocked 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.003118/0.923, allocations: 1.987 MB / 0.6363 GB, free: 4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.925, allocations: 468 kB / 0.6368 GB, free: 3.543 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.925, allocations: 0 / 0.6368 GB, free: 3.543 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.926, allocations: 237.9 kB / 0.637 GB, free: 3.312 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.9264, allocations: 28.12 kB / 0.637 GB, free: 3.281 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008014/0.9345, allocations: 6.959 MB / 0.6438 GB, free: 12.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008139/0.9353, allocations: 0.9994 MB / 0.6448 GB, free: 11.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/0.9358, allocations: 211.4 kB / 0.645 GB, free: 10.88 MB / 474.7 MB Notification: Performance of SimCode: time 1.292e-06/0.9358, allocations: 3.938 kB / 0.645 GB, free: 10.88 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.234/4.17, allocations: 23.93 MB / 0.6684 GB, free: 2.934 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat