Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 181.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009073/0.0009071, allocations: 78.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.24/0.24, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003098, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1124, allocations: 58.87 MB / 490.4 MB, free: 8.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4217/0.5341, allocations: 92.92 MB / 0.5696 GB, free: 6.746 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003974/0.5346, allocations: 101.5 kB / 0.5697 GB, free: 6.684 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5845:11-5846: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 3.2.3+maint.om/Fluid/Dissipation.mo:5858:11-5861: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 3.2.3+maint.om/Fluid/Dissipation.mo:5836:11-5843: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 3.2.3+maint.om/Fluid/Dissipation.mo:5849:11-5856: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.03352/0.5681, allocations: 10.28 MB / 0.5798 GB, free: 13.65 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5682, allocations: 0 / 0.5798 GB, free: 13.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.597e-05/0.5682, allocations: 8 kB / 0.5798 GB, free: 13.64 MB / 394.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.001449/0.5697, allocations: 0.685 MB / 0.5804 GB, free: 12.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.5698, allocations: 8.031 kB / 0.5804 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.5699, allocations: 113 kB / 0.5805 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.5701, allocations: 51.34 kB / 0.5806 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.5707, allocations: 309.9 kB / 0.5809 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.5707, allocations: 36.05 kB / 0.5809 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-05/0.5708, allocations: 51.48 kB / 0.581 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.5718, allocations: 0.6722 MB / 0.5816 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5719, allocations: 4 kB / 0.5816 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/0.5719, allocations: 23.27 kB / 0.5817 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.245e-05/0.572, allocations: 49.28 kB / 0.5817 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.5731, allocations: 0.7251 MB / 0.5824 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002851/0.576, allocations: 1.74 MB / 0.5841 GB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.5766, allocations: 363.2 kB / 0.5845 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.843e-05/0.5767, allocations: 15.59 kB / 0.5845 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.5767, allocations: 34.05 kB / 0.5845 GB, free: 9.328 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 2.805e-06/0.5767, allocations: 0 / 0.5845 GB, free: 9.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.001043/0.5778, allocations: 0.5067 MB / 0.585 GB, free: 8.887 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.5779, allocations: 55.41 kB / 0.5851 GB, free: 8.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/0.5783, allocations: 409.3 kB / 0.5854 GB, free: 8.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.5784, allocations: 28.33 kB / 0.5855 GB, free: 8.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.5786, allocations: 259.2 kB / 0.5857 GB, free: 8.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.95e-05/0.5787, allocations: 104.8 kB / 0.5858 GB, free: 8.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.5787, allocations: 7.188 kB / 0.5858 GB, free: 8.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5789, allocations: 355.3 kB / 0.5862 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.5792, allocations: 140 kB / 0.5863 GB, free: 7.703 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.5796, allocations: 257.2 kB / 0.5865 GB, free: 7.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.5799, allocations: 175.4 kB / 0.5867 GB, free: 7.297 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.5799, allocations: 8 kB / 0.5867 GB, free: 7.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008911/0.5808, allocations: 490 kB / 0.5872 GB, free: 6.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.5809, allocations: 4 kB / 0.5872 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.5809, allocations: 4 kB / 0.5872 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.5809, allocations: 11.94 kB / 0.5872 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.5816, allocations: 159 kB / 0.5874 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.5838, allocations: 3.617 MB / 0.5909 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.5841, allocations: 58.28 kB / 0.5909 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.5842, allocations: 27.23 kB / 0.591 GB, free: 2.906 MB / 394.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 () * Number of clocked 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.0003124/0.5845, allocations: 217.5 kB / 0.5912 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.654e-05/0.5846, allocations: 43.52 kB / 0.5912 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.5859, allocations: 0.5527 MB / 0.5918 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.5859, allocations: 4 kB / 0.5918 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.5859, allocations: 3.953 kB / 0.5918 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.5859, allocations: 0 / 0.5918 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007187/0.5867, allocations: 454.7 kB / 0.5922 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.5867, allocations: 0 / 0.5922 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.5872, allocations: 143.2 kB / 0.5923 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.5873, allocations: 0 / 0.5923 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.5873, allocations: 15.05 kB / 0.5924 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.5895, allocations: 3.606 MB / 0.5959 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5895, allocations: 3.953 kB / 0.5959 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.5906, allocations: 0.6741 MB / 0.5965 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.591, allocations: 171.9 kB / 0.5967 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.375e-05/0.5911, allocations: 3.938 kB / 0.5967 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.5913, allocations: 19.36 kB / 0.5967 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.5914, allocations: 27.86 kB / 0.5967 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.5915, allocations: 23.73 kB / 0.5968 GB, free: 13.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004694/0.5919, allocations: 340.1 kB / 0.5971 GB, free: 12.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5919, allocations: 4 kB / 0.5971 GB, free: 12.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008045/0.5928, allocations: 178.6 kB / 0.5973 GB, free: 12.64 MB / 410.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 () * Number of clocked 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.001873/0.5946, allocations: 1.322 MB / 0.5986 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.5958, allocations: 440.5 kB / 0.599 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5958, allocations: 0 / 0.599 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006175/0.5964, allocations: 245.4 kB / 0.5992 GB, free: 10.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.5967, allocations: 29 kB / 0.5992 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008253/0.605, allocations: 5.262 MB / 0.6044 GB, free: 5.816 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008596/0.6059, allocations: 0.9148 MB / 0.6053 GB, free: 4.883 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004824/0.6064, allocations: 147 kB / 0.6054 GB, free: 4.742 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.6067, allocations: 168.2 kB / 0.6056 GB, free: 4.688 MB / 410.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6067, allocations: 0 / 0.6056 GB, free: 4.688 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.6373, allocations: 10.46 MB / 0.6158 GB, free: 10.29 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/0.6376, allocations: 260.1 kB / 0.616 GB, free: 9.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.151, allocations: 4.062 kB / 0.616 GB, free: 9.926 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat