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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 189.6 kB / 7.802 MB, free: 2.5 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.463/1.463, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009855/0.0009852, allocations: 93.02 kB / 261.4 MB, free: 13.55 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.2302/0.2302, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2376/0.4679, allocations: 64.99 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.8847, allocations: 58.84 MB / 476.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/1.055, allocations: 109.6 MB / 0.5725 GB, free: 5.262 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003587/1.055, allocations: 97.56 kB / 0.5726 GB, free: 5.172 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: 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.08904/1.144, allocations: 28.38 MB / 0.6003 GB, free: 8.422 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.144, allocations: 8 kB / 0.6003 GB, free: 8.414 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/1.144, allocations: 79.06 kB / 0.6004 GB, free: 8.336 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005377/1.145, allocations: 354 kB / 0.6008 GB, free: 7.949 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/1.145, allocations: 24 kB / 0.6008 GB, free: 7.926 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/1.145, allocations: 44 kB / 0.6008 GB, free: 7.883 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001699/1.147, allocations: 1.242 MB / 0.602 GB, free: 6.641 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/1.148, allocations: 1.058 MB / 0.6031 GB, free: 5.574 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/1.148, allocations: 0 / 0.6031 GB, free: 5.574 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/1.148, allocations: 0 / 0.6031 GB, free: 5.574 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.281e-05/1.148, allocations: 85.94 kB / 0.6031 GB, free: 5.492 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005065/1.153, allocations: 2.805 MB / 0.6059 GB, free: 2.547 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/1.154, allocations: 349.4 kB / 0.6062 GB, free: 2.195 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/1.155, allocations: 125.4 kB / 0.6063 GB, free: 2.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.442e-05/1.155, allocations: 12.25 kB / 0.6064 GB, free: 2.059 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/1.155, allocations: 38.84 kB / 0.6064 GB, free: 2.012 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 5.511e-06/1.155, allocations: 0 / 0.6064 GB, free: 2.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006971/1.155, allocations: 323.7 kB / 0.6067 GB, free: 1.691 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/1.155, allocations: 51.41 kB / 0.6067 GB, free: 1.629 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/1.156, allocations: 182.5 kB / 0.6069 GB, free: 1.441 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/1.156, allocations: 29.69 kB / 0.6069 GB, free: 1.406 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/1.156, allocations: 374.2 kB / 0.6073 GB, free: 1.031 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/1.156, allocations: 118.3 kB / 0.6074 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/1.156, allocations: 0 / 0.6074 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/1.156, allocations: 339.3 kB / 0.6077 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/1.157, allocations: 128.9 kB / 0.6079 GB, free: 460 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/1.157, allocations: 328.7 kB / 0.6082 GB, free: 36 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/1.157, allocations: 196 kB / 0.6084 GB, free: 15.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.157, allocations: 0 / 0.6084 GB, free: 15.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007923/1.158, allocations: 476.7 kB / 0.6088 GB, free: 15.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/1.158, allocations: 7.906 kB / 0.6088 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/1.158, allocations: 11.94 kB / 0.6088 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/1.158, allocations: 8.781 kB / 0.6088 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008916/1.159, allocations: 207.8 kB / 0.609 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/1.161, allocations: 3.028 MB / 0.612 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/1.161, allocations: 47.52 kB / 0.612 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/1.161, allocations: 39.97 kB / 0.6121 GB, free: 11.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 () * 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.0001887/1.162, allocations: 124.9 kB / 0.6122 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/1.162, allocations: 23.72 kB / 0.6122 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/1.163, allocations: 0.624 MB / 0.6128 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.163, allocations: 4 kB / 0.6128 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.163, allocations: 0 / 0.6128 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.163, allocations: 3.984 kB / 0.6128 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/1.165, allocations: 0.9776 MB / 0.6138 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/1.165, allocations: 4 kB / 0.6138 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006952/1.165, allocations: 172.1 kB / 0.614 GB, free: 9.898 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/1.165, allocations: 4 kB / 0.614 GB, free: 9.895 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/1.166, allocations: 19.98 kB / 0.614 GB, free: 9.875 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/1.167, allocations: 2.985 MB / 0.6169 GB, free: 6.773 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.167, allocations: 4 kB / 0.6169 GB, free: 6.77 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007554/1.168, allocations: 0.5348 MB / 0.6174 GB, free: 6.145 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008787/1.169, allocations: 0.93 MB / 0.6183 GB, free: 5.121 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.515e-05/1.169, allocations: 100.8 kB / 0.6184 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/1.169, allocations: 11.92 kB / 0.6184 GB, free: 4.992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/1.169, allocations: 8 kB / 0.6185 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.17, allocations: 39.86 kB / 0.6185 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/1.17, allocations: 23.98 kB / 0.6185 GB, free: 4.922 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0001108/1.17, allocations: 119.5 kB / 0.6186 GB, free: 4.805 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002028/1.172, allocations: 378.6 kB / 0.619 GB, free: 4.434 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 () * 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.001083/1.173, allocations: 417.2 kB / 0.6194 GB, free: 4.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001126/1.174, allocations: 425.2 kB / 0.6198 GB, free: 3.605 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.174, allocations: 3.938 kB / 0.6198 GB, free: 3.602 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006338/1.175, allocations: 251.7 kB / 0.62 GB, free: 3.355 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/1.175, allocations: 30.91 kB / 0.6201 GB, free: 3.324 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/1.177, allocations: 0.8109 MB / 0.6209 GB, free: 2.465 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007085/1.177, allocations: 1.049 MB / 0.6219 GB, free: 1.387 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/1.177, allocations: 0 / 0.6219 GB, free: 1.387 MB / 458.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