Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.0009463/0.0009463, 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.506/1.506, 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.0008287/0.0008286, allocations: 91.97 kB / 261.7 MB, free: 1.68 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.2198/0.2198, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.473e-05/1.476e-05, allocations: 0 / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 58.86 MB / 477.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5343/0.6445, allocations: 97.3 MB / 0.5611 GB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.6449, allocations: 100.7 kB / 0.5612 GB, free: 13.76 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4809:11-4812:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:4822:11-4825:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.04821/0.6931, allocations: 15.06 MB / 0.5759 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6931, allocations: 0 / 0.5759 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.6932, allocations: 4 kB / 0.5759 GB, free: 0.9727 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001034/0.6942, allocations: 0.5556 MB / 0.5764 GB, free: 396 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.6943, allocations: 12.03 kB / 0.5764 GB, free: 384 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.6943, allocations: 31.58 kB / 0.5765 GB, free: 352 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.6946, allocations: 230 kB / 0.5767 GB, free: 88 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.6947, allocations: 12 kB / 0.5767 GB, free: 76 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.6947, allocations: 19.98 kB / 0.5767 GB, free: 56 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004417/0.6951, allocations: 312.5 kB / 0.577 GB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/0.6956, allocations: 320.5 kB / 0.5773 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.6956, allocations: 0 / 0.5773 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.6956, allocations: 0 / 0.5773 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.6957, allocations: 32.75 kB / 0.5773 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.697, allocations: 0.9588 MB / 0.5783 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.6976, allocations: 251.7 kB / 0.5785 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.6977, allocations: 73.02 kB / 0.5786 GB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.6978, allocations: 12.23 kB / 0.5786 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.6978, allocations: 38.27 kB / 0.5786 GB, free: 14.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.392e-06/0.6978, allocations: 0 / 0.5786 GB, free: 14.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003833/0.6982, allocations: 199.2 kB / 0.5788 GB, free: 14.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.6982, allocations: 55.41 kB / 0.5789 GB, free: 14.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.6983, allocations: 117.6 kB / 0.579 GB, free: 13.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.6984, allocations: 25.7 kB / 0.579 GB, free: 13.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/0.6985, allocations: 164.7 kB / 0.5792 GB, free: 13.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/0.6985, allocations: 65.64 kB / 0.5792 GB, free: 13.67 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.6985, allocations: 0 / 0.5792 GB, free: 13.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.6986, allocations: 322.3 kB / 0.5795 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-05/0.6987, allocations: 67.27 kB / 0.5796 GB, free: 13.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.6989, allocations: 98.44 kB / 0.5797 GB, free: 13.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.699, allocations: 80.86 kB / 0.5798 GB, free: 13.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.699, allocations: 0 / 0.5798 GB, free: 13.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003259/0.6993, allocations: 210.3 kB / 0.58 GB, free: 12.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6994, allocations: 4 kB / 0.58 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.6994, allocations: 0 / 0.58 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.6994, allocations: 12.02 kB / 0.58 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.6998, allocations: 87.42 kB / 0.5801 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.701, allocations: 2.387 MB / 0.5824 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.7011, allocations: 27.39 kB / 0.5824 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.7012, allocations: 11.98 kB / 0.5824 GB, free: 10.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.7013, allocations: 109.1 kB / 0.5825 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003096/0.7016, allocations: 200 kB / 0.5827 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.7017, allocations: 15.81 kB / 0.5828 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005628/0.7022, allocations: 293.4 kB / 0.583 GB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.7023, allocations: 4 kB / 0.583 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7023, allocations: 4 kB / 0.583 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.7023, allocations: 3.938 kB / 0.583 GB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.7026, allocations: 262.3 kB / 0.5833 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7026, allocations: 0 / 0.5833 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.703, allocations: 94.8 kB / 0.5834 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.703, allocations: 0 / 0.5834 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.7031, allocations: 4 kB / 0.5834 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.7043, allocations: 2.389 MB / 0.5857 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7043, allocations: 0 / 0.5857 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.7046, allocations: 330.6 kB / 0.586 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.7048, allocations: 123.5 kB / 0.5862 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.7048, allocations: 0 / 0.5862 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.7049, allocations: 15.97 kB / 0.5862 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.705, allocations: 23.5 kB / 0.5862 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.705, allocations: 11.98 kB / 0.5862 GB, free: 6.473 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.631e-05/0.7051, allocations: 94.03 kB / 0.5863 GB, free: 6.387 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7051, allocations: 0 / 0.5863 GB, free: 6.387 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007176/0.7058, allocations: 186.5 kB / 0.5865 GB, free: 6.207 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/0.7069, allocations: 1.006 MB / 0.5875 GB, free: 5.207 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005054/0.7074, allocations: 199.8 kB / 0.5876 GB, free: 5.039 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7074, allocations: 128 / 0.5876 GB, free: 5.039 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.7078, allocations: 143.3 kB / 0.5878 GB, free: 4.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.708, allocations: 3.938 kB / 0.5878 GB, free: 4.914 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009115/0.7089, allocations: 486.1 kB / 0.5883 GB, free: 4.426 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.7093, allocations: 0.7898 MB / 0.589 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002296/0.7095, allocations: 69.03 kB / 0.5891 GB, free: 3.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.7096, allocations: 80.08 kB / 0.5892 GB, free: 3.516 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7096, allocations: 0 / 0.5892 GB, free: 3.516 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.7373, allocations: 6.228 MB / 0.5952 GB, free: 13.29 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.7376, allocations: 187.1 kB / 0.5954 GB, free: 13.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.53, allocations: 2.406 kB / 0.5954 GB, free: 13.1 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat