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.001026/0.001026, 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.538/1.538, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008513/0.0008512, allocations: 82.62 kB / 261.7 MB, free: 1.684 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.2032/0.2032, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.841e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4127/0.5372, allocations: 92.16 MB / 0.5561 GB, free: 2.945 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.5375, allocations: 102.1 kB / 0.5562 GB, free: 2.891 MB / 362.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.03132/0.5688, allocations: 10.15 MB / 0.5661 GB, free: 10.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5689, allocations: 0 / 0.5661 GB, free: 10.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.5689, allocations: 12 kB / 0.5661 GB, free: 10.12 MB / 378.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.001138/0.57, allocations: 0.6507 MB / 0.5667 GB, free: 9.461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.5701, allocations: 11.97 kB / 0.5667 GB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.5702, allocations: 51.34 kB / 0.5668 GB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.5708, allocations: 318.2 kB / 0.5671 GB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.5708, allocations: 16 kB / 0.5671 GB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.983e-05/0.5709, allocations: 28 kB / 0.5671 GB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001133/0.5721, allocations: 0.632 MB / 0.5677 GB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.5732, allocations: 0.5879 MB / 0.5683 GB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.5732, allocations: 7.953 kB / 0.5683 GB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.5733, allocations: 3.984 kB / 0.5683 GB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.6e-05/0.5734, allocations: 45.28 kB / 0.5684 GB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003153/0.5765, allocations: 1.58 MB / 0.5699 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/0.5772, allocations: 319.8 kB / 0.5702 GB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.5775, allocations: 121.8 kB / 0.5703 GB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.229e-05/0.5775, allocations: 15.53 kB / 0.5703 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.5776, allocations: 42.78 kB / 0.5704 GB, free: 6.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.805e-06/0.5776, allocations: 0 / 0.5704 GB, free: 6.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.000797/0.5784, allocations: 318.1 kB / 0.5707 GB, free: 5.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.5785, allocations: 59.36 kB / 0.5707 GB, free: 5.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.5788, allocations: 201.3 kB / 0.5709 GB, free: 5.625 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.5788, allocations: 25.7 kB / 0.571 GB, free: 5.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.5791, allocations: 281.7 kB / 0.5712 GB, free: 5.344 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.5792, allocations: 101.1 kB / 0.5713 GB, free: 5.258 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.5792, allocations: 0 / 0.5713 GB, free: 5.258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.5794, allocations: 330.1 kB / 0.5716 GB, free: 4.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.5797, allocations: 121.9 kB / 0.5718 GB, free: 4.836 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.5801, allocations: 230.2 kB / 0.572 GB, free: 4.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.5804, allocations: 157.5 kB / 0.5721 GB, free: 4.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.5805, allocations: 0 / 0.5721 GB, free: 4.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008938/0.5814, allocations: 400 kB / 0.5725 GB, free: 4.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.5814, allocations: 4 kB / 0.5725 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.5814, allocations: 4 kB / 0.5725 GB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/0.5815, allocations: 11.94 kB / 0.5725 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/0.5823, allocations: 155.4 kB / 0.5727 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.585, allocations: 3.63 MB / 0.5762 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.5853, allocations: 31.67 kB / 0.5763 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.5854, allocations: 23.38 kB / 0.5763 GB, free: 168 kB / 378.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.0001726/0.5856, allocations: 117 kB / 0.5764 GB, free: 44 kB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006965/0.5863, allocations: 316.5 kB / 0.5767 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.5864, allocations: 23.7 kB / 0.5767 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.5876, allocations: 483.2 kB / 0.5772 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.5877, allocations: 7.953 kB / 0.5772 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5877, allocations: 0 / 0.5772 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.5877, allocations: 4 kB / 0.5772 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007381/0.5884, allocations: 393.4 kB / 0.5776 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.5885, allocations: 0 / 0.5776 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/0.5892, allocations: 127 kB / 0.5777 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/0.5893, allocations: 11.97 kB / 0.5777 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.5893, allocations: 4 kB / 0.5777 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/0.5918, allocations: 3.62 MB / 0.5812 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/0.5918, allocations: 11.92 kB / 0.5812 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.5929, allocations: 0.584 MB / 0.5818 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.5931, allocations: 166.9 kB / 0.582 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.5932, allocations: 0 / 0.582 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.5935, allocations: 11.98 kB / 0.582 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-05/0.5936, allocations: 27.86 kB / 0.582 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/0.5937, allocations: 15.75 kB / 0.582 GB, free: 10.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002289/0.5939, allocations: 170.9 kB / 0.5822 GB, free: 10.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5939, allocations: 0 / 0.5822 GB, free: 10.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009538/0.5949, allocations: 186.8 kB / 0.5824 GB, free: 10.03 MB / 394.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.001811/0.5967, allocations: 1.232 MB / 0.5836 GB, free: 8.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.5979, allocations: 360.4 kB / 0.5839 GB, free: 8.562 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.598, allocations: 0 / 0.5839 GB, free: 8.562 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007037/0.5987, allocations: 215.5 kB / 0.5841 GB, free: 8.379 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.599, allocations: 16.45 kB / 0.5841 GB, free: 8.371 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.6014, allocations: 0.8137 MB / 0.5849 GB, free: 7.559 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/0.602, allocations: 0.9105 MB / 0.5858 GB, free: 6.629 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005384/0.6026, allocations: 123 kB / 0.5859 GB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.6029, allocations: 160.8 kB / 0.5861 GB, free: 6.461 MB / 394.7 MB Notification: Performance of SimCode: time 7.62e-07/0.6029, allocations: 0 / 0.5861 GB, free: 6.461 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/0.6381, allocations: 8.019 MB / 0.5939 GB, free: 14.47 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004203/0.6386, allocations: 204.1 kB / 0.5941 GB, free: 14.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/2.793, allocations: 0 / 0.5941 GB, free: 14.2 MB / 410.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