Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002084/0.002084, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001118, allocations: 87.17 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3028/0.3028, allocations: 43.5 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.271e-05, allocations: 4.219 kB / 418.4 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4805/0.4806, allocations: 58.86 MB / 477.2 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.656, allocations: 92.16 MB / 0.556 GB, free: 7.102 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003748/0.6564, allocations: 103.9 kB / 0.5561 GB, free: 7 MB / 395.1 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.05234/0.7088, allocations: 10.16 MB / 0.566 GB, free: 12.67 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7088, allocations: 0 / 0.566 GB, free: 12.67 MB / 411.1 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.7089, allocations: 8 kB / 0.5661 GB, free: 12.66 MB / 411.1 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.00134/0.7102, allocations: 0.6473 MB / 0.5667 GB, free: 11.97 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.7103, allocations: 8.031 kB / 0.5667 GB, free: 11.96 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.7105, allocations: 55.34 kB / 0.5667 GB, free: 11.91 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006822/0.7112, allocations: 325.1 kB / 0.5671 GB, free: 11.55 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.7112, allocations: 16 kB / 0.5671 GB, free: 11.54 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.904e-05/0.7113, allocations: 24 kB / 0.5671 GB, free: 11.51 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001399/0.7127, allocations: 0.635 MB / 0.5677 GB, free: 10.88 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.7141, allocations: 0.5817 MB / 0.5683 GB, free: 10.29 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.7142, allocations: 3.953 kB / 0.5683 GB, free: 10.29 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.7143, allocations: 0 / 0.5683 GB, free: 10.29 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.7144, allocations: 45.28 kB / 0.5683 GB, free: 10.24 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003963/0.7184, allocations: 1.585 MB / 0.5699 GB, free: 8.535 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008715/0.7193, allocations: 319.3 kB / 0.5702 GB, free: 8.215 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.7196, allocations: 129.2 kB / 0.5703 GB, free: 8.086 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.97e-05/0.7197, allocations: 16.2 kB / 0.5703 GB, free: 8.07 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.7197, allocations: 38.73 kB / 0.5704 GB, free: 8.023 MB / 411.1 MB Notification: Performance of pre-optimization done (n=27): time 2.705e-06/0.7198, allocations: 0 / 0.5704 GB, free: 8.023 MB / 411.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009328/0.7207, allocations: 316 kB / 0.5707 GB, free: 7.711 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.7208, allocations: 55.36 kB / 0.5707 GB, free: 7.645 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.7212, allocations: 199.1 kB / 0.5709 GB, free: 7.441 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 5.792e-05/0.7213, allocations: 29.7 kB / 0.5709 GB, free: 7.406 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.7216, allocations: 346 kB / 0.5713 GB, free: 7.066 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.7218, allocations: 94.59 kB / 0.5714 GB, free: 6.973 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.7219, allocations: 0 / 0.5714 GB, free: 6.973 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.7221, allocations: 322.8 kB / 0.5717 GB, free: 6.648 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.7224, allocations: 123.9 kB / 0.5718 GB, free: 6.527 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.7229, allocations: 237.1 kB / 0.572 GB, free: 6.246 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.7233, allocations: 159.8 kB / 0.5722 GB, free: 6.09 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7233, allocations: 0 / 0.5722 GB, free: 6.09 MB / 411.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001403/0.7247, allocations: 389.1 kB / 0.5725 GB, free: 5.703 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.7248, allocations: 4 kB / 0.5725 GB, free: 5.699 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.7248, allocations: 4 kB / 0.5725 GB, free: 5.695 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.7249, allocations: 8 kB / 0.5725 GB, free: 5.688 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.7262, allocations: 156.3 kB / 0.5727 GB, free: 5.535 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002962/0.7291, allocations: 3.634 MB / 0.5762 GB, free: 1.762 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.7297, allocations: 35.95 kB / 0.5763 GB, free: 1.727 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/0.7298, allocations: 27.98 kB / 0.5763 GB, free: 1.699 MB / 411.1 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.0001626/0.73, allocations: 108.9 kB / 0.5764 GB, free: 1.586 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009629/0.731, allocations: 313.6 kB / 0.5767 GB, free: 1.273 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/0.7311, allocations: 23.72 kB / 0.5767 GB, free: 1.25 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.7328, allocations: 488.2 kB / 0.5772 GB, free: 0.7695 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.7329, allocations: 3.953 kB / 0.5772 GB, free: 0.7656 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.7329, allocations: 4 kB / 0.5772 GB, free: 0.7617 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.7329, allocations: 4 kB / 0.5772 GB, free: 0.7578 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008481/0.7338, allocations: 385.7 kB / 0.5776 GB, free: 352 kB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.7338, allocations: 0 / 0.5776 GB, free: 352 kB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/0.7353, allocations: 139.8 kB / 0.5777 GB, free: 212 kB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.7354, allocations: 0 / 0.5777 GB, free: 212 kB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/0.7354, allocations: 8 kB / 0.5777 GB, free: 204 kB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/0.7382, allocations: 3.618 MB / 0.5812 GB, free: 12.44 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/0.7382, allocations: 7.891 kB / 0.5813 GB, free: 12.43 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.7398, allocations: 0.5901 MB / 0.5818 GB, free: 11.82 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/0.7402, allocations: 160.6 kB / 0.582 GB, free: 11.65 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-05/0.7403, allocations: 4 kB / 0.582 GB, free: 11.64 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.7407, allocations: 7.984 kB / 0.582 GB, free: 11.64 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.7408, allocations: 35.86 kB / 0.582 GB, free: 11.6 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.7408, allocations: 12 kB / 0.582 GB, free: 11.59 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002925/0.7411, allocations: 180.2 kB / 0.5822 GB, free: 11.41 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7412, allocations: 0 / 0.5822 GB, free: 11.41 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0009274/0.7421, allocations: 183.2 kB / 0.5824 GB, free: 11.23 MB / 427.1 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.002132/0.7442, allocations: 1.23 MB / 0.5836 GB, free: 9.973 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.7458, allocations: 360.4 kB / 0.5839 GB, free: 9.621 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7458, allocations: 4.062 kB / 0.5839 GB, free: 9.617 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009843/0.7468, allocations: 207.8 kB / 0.5841 GB, free: 9.414 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.7471, allocations: 16.42 kB / 0.5841 GB, free: 9.398 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.7497, allocations: 0.8443 MB / 0.585 GB, free: 8.512 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.7504, allocations: 0.9164 MB / 0.5859 GB, free: 7.566 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/0.7509, allocations: 163.3 kB / 0.586 GB, free: 7.406 MB / 427.1 MB Notification: Performance of SimCode: time 1.222e-06/0.7509, allocations: 0 / 0.586 GB, free: 7.406 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.202/3.953, allocations: 18.6 MB / 0.6042 GB, free: 4.789 MB / 443.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat