Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.001376/0.001376, allocations: 180.5 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.686/1.686, allocations: 221.4 MB / 236 MB, free: 2.957 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.0008872/0.0008872, allocations: 91.8 kB / 287 MB, free: 268 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.215/0.215, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.448e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1535, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4749/0.6285, allocations: 93.98 MB / 0.5936 GB, free: 11.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.6288, allocations: 95.94 kB / 0.5937 GB, free: 11.18 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5761:11-5762:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5774:11-5777:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5752:11-5759:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5765:11-5772:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03257/0.6614, allocations: 10.61 MB / 0.6041 GB, free: 420 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6614, allocations: 0 / 0.6041 GB, free: 420 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.6615, allocations: 4 kB / 0.6041 GB, free: 416 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001135/0.6626, allocations: 0.6581 MB / 0.6047 GB, free: 15.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.6627, allocations: 12.03 kB / 0.6047 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.6628, allocations: 98.5 kB / 0.6048 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.663, allocations: 59.28 kB / 0.6049 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/0.6635, allocations: 318.2 kB / 0.6052 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.6636, allocations: 32.98 kB / 0.6052 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-05/0.6636, allocations: 48 kB / 0.6052 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.6647, allocations: 0.6485 MB / 0.6059 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.6647, allocations: 3.938 kB / 0.6059 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.6648, allocations: 24 kB / 0.6059 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-05/0.6648, allocations: 49.22 kB / 0.6059 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.6659, allocations: 0.6883 MB / 0.6066 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.6687, allocations: 1.754 MB / 0.6083 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.6693, allocations: 333.1 kB / 0.6087 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.6695, allocations: 129.2 kB / 0.6088 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.6696, allocations: 16.2 kB / 0.6088 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.6696, allocations: 34.8 kB / 0.6088 GB, free: 11.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.284e-06/0.6696, allocations: 0 / 0.6088 GB, free: 11.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.000669/0.6703, allocations: 344.7 kB / 0.6092 GB, free: 10.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.6703, allocations: 55.39 kB / 0.6092 GB, free: 10.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.6708, allocations: 399.5 kB / 0.6096 GB, free: 10.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.6709, allocations: 25.7 kB / 0.6096 GB, free: 10.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.6711, allocations: 267.5 kB / 0.6099 GB, free: 10.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.719e-05/0.6712, allocations: 98.64 kB / 0.61 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.6712, allocations: 4 kB / 0.61 GB, free: 10.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.6714, allocations: 354.8 kB / 0.6103 GB, free: 9.707 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.6717, allocations: 135.7 kB / 0.6104 GB, free: 9.574 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.672, allocations: 229.6 kB / 0.6106 GB, free: 9.301 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.6722, allocations: 172 kB / 0.6108 GB, free: 9.133 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6723, allocations: 0 / 0.6108 GB, free: 9.133 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007501/0.673, allocations: 452.9 kB / 0.6112 GB, free: 8.684 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.673, allocations: 8 kB / 0.6113 GB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.6731, allocations: 4 kB / 0.6113 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.6731, allocations: 4 kB / 0.6113 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/0.6738, allocations: 163.8 kB / 0.6114 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.6761, allocations: 3.61 MB / 0.6149 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.6764, allocations: 55.38 kB / 0.615 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.6765, allocations: 23.98 kB / 0.615 GB, free: 4.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.6766, allocations: 135.1 kB / 0.6151 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.118e-05/0.6767, allocations: 35.53 kB / 0.6152 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.6778, allocations: 0.5167 MB / 0.6157 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.6778, allocations: 4 kB / 0.6157 GB, free: 3.977 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.6778, allocations: 0 / 0.6157 GB, free: 3.977 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.6778, allocations: 7.922 kB / 0.6157 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.6785, allocations: 461.1 kB / 0.6161 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6785, allocations: 0 / 0.6161 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.6791, allocations: 139.8 kB / 0.6163 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.6791, allocations: 0 / 0.6163 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.6791, allocations: 12 kB / 0.6163 GB, free: 3.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.6812, allocations: 3.598 MB / 0.6198 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6812, allocations: 0 / 0.6198 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008477/0.6821, allocations: 0.6244 MB / 0.6204 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.6823, allocations: 172.5 kB / 0.6206 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.6824, allocations: 16.23 kB / 0.6206 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.6826, allocations: 8 kB / 0.6206 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.6827, allocations: 31.89 kB / 0.6206 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.6828, allocations: 12 kB / 0.6206 GB, free: 14.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003846/0.6831, allocations: 337.1 kB / 0.621 GB, free: 14.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6832, allocations: 0 / 0.621 GB, free: 14.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006352/0.6838, allocations: 183.5 kB / 0.6211 GB, free: 14.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001441/0.6852, allocations: 1.277 MB / 0.6224 GB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009362/0.6862, allocations: 387.5 kB / 0.6227 GB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6862, allocations: 0.9375 kB / 0.6227 GB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.6868, allocations: 219.8 kB / 0.623 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.687, allocations: 29.55 kB / 0.623 GB, free: 12.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.6886, allocations: 0.8824 MB / 0.6238 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.6892, allocations: 0.9093 MB / 0.6247 GB, free: 10.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003727/0.6896, allocations: 146.9 kB / 0.6249 GB, free: 10.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.6898, allocations: 171.4 kB / 0.625 GB, free: 10.09 MB / 442.7 MB Notification: Performance of SimCode: time 3.3e-07/0.6898, allocations: 0 / 0.625 GB, free: 10.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.7212, allocations: 10.54 MB / 0.6353 GB, free: 15.79 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/0.7215, allocations: 231.2 kB / 0.6356 GB, free: 15.48 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.234, allocations: 3.094 kB / 0.6356 GB, free: 15.48 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat