Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001607/0.001607, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.551/1.551, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001031/0.001031, allocations: 93.83 kB / 267.1 MB, free: 9.277 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.4306/0.4306, allocations: 43.47 MB / 358.6 MB, free: 51.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.845e-05, allocations: 4 kB / 425.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4876/0.6195, allocations: 89.35 MB / 0.5602 GB, free: 15.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/0.6199, allocations: 95.58 kB / 0.5603 GB, free: 15.16 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02091/0.6408, allocations: 7.812 MB / 0.5679 GB, free: 9.516 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6409, allocations: 0 / 0.5679 GB, free: 9.516 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.6409, allocations: 4 kB / 0.5679 GB, free: 9.512 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006046/0.6415, allocations: 458.8 kB / 0.5684 GB, free: 9.031 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.6416, allocations: 8.031 kB / 0.5684 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.35e-05/0.6416, allocations: 53.67 kB / 0.5684 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006494/0.6423, allocations: 90.61 kB / 0.5685 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.6426, allocations: 217 kB / 0.5687 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.6426, allocations: 12.98 kB / 0.5687 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.6427, allocations: 15.38 kB / 0.5687 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.6431, allocations: 296.7 kB / 0.569 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6431, allocations: 3.938 kB / 0.569 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.6432, allocations: 4.938 kB / 0.569 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.6432, allocations: 23.47 kB / 0.569 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/0.6436, allocations: 278.2 kB / 0.5693 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.645, allocations: 0.8478 MB / 0.5701 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.6453, allocations: 200.2 kB / 0.5703 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.6455, allocations: 72.28 kB / 0.5704 GB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.6455, allocations: 0 / 0.5704 GB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.6455, allocations: 38 kB / 0.5704 GB, free: 7.023 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.6455, allocations: 0 / 0.5704 GB, free: 7.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000401/0.6459, allocations: 185.1 kB / 0.5706 GB, free: 6.855 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.646, allocations: 51.41 kB / 0.5707 GB, free: 6.793 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.6461, allocations: 172 kB / 0.5708 GB, free: 6.637 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.6462, allocations: 25.7 kB / 0.5708 GB, free: 6.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.6462, allocations: 141 kB / 0.571 GB, free: 6.477 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.6463, allocations: 34.42 kB / 0.571 GB, free: 6.449 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.6463, allocations: 0 / 0.571 GB, free: 6.449 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.347e-05/0.6464, allocations: 329 kB / 0.5713 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.6465, allocations: 65.69 kB / 0.5714 GB, free: 6.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.6466, allocations: 120.2 kB / 0.5715 GB, free: 5.941 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.6467, allocations: 85.77 kB / 0.5716 GB, free: 5.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6467, allocations: 0 / 0.5716 GB, free: 5.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003534/0.6471, allocations: 246.8 kB / 0.5718 GB, free: 5.648 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.6471, allocations: 4.219 kB / 0.5718 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6471, allocations: 8 kB / 0.5718 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.6472, allocations: 0 / 0.5718 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.6476, allocations: 87.22 kB / 0.5719 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000637/0.6483, allocations: 1.786 MB / 0.5737 GB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.6485, allocations: 31.02 kB / 0.5737 GB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.6486, allocations: 11.98 kB / 0.5737 GB, free: 3.672 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.513e-05/0.6486, allocations: 108 kB / 0.5738 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.6487, allocations: 27.33 kB / 0.5738 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.6491, allocations: 229.4 kB / 0.5741 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.6492, allocations: 0 / 0.5741 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6492, allocations: 4 kB / 0.5741 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6492, allocations: 0 / 0.5741 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.6494, allocations: 253.4 kB / 0.5743 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.6494, allocations: 7.984 kB / 0.5743 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.6498, allocations: 63.88 kB / 0.5744 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6498, allocations: 0 / 0.5744 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.6498, allocations: 15.09 kB / 0.5744 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005725/0.6504, allocations: 1.784 MB / 0.5761 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6504, allocations: 0 / 0.5761 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.6508, allocations: 277.7 kB / 0.5764 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.6508, allocations: 100.9 kB / 0.5765 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.6509, allocations: 4 kB / 0.5765 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.6511, allocations: 11.05 kB / 0.5765 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.6511, allocations: 15.97 kB / 0.5765 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.6512, allocations: 11.86 kB / 0.5765 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.023e-05/0.6513, allocations: 138.3 kB / 0.5767 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6513, allocations: 0 / 0.5767 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003983/0.6517, allocations: 74.7 kB / 0.5767 GB, free: 0.5312 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009872/0.6527, allocations: 0.8688 MB / 0.5776 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005474/0.6532, allocations: 200.8 kB / 0.5778 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6532, allocations: 0 / 0.5778 GB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.6536, allocations: 106.3 kB / 0.5779 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.6538, allocations: 7.25 kB / 0.5779 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008862/0.6547, allocations: 312.2 kB / 0.5782 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.6552, allocations: 0.7513 MB / 0.5789 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002392/0.6554, allocations: 57.55 kB / 0.579 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.6556, allocations: 53.7 kB / 0.579 GB, free: 14.22 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6556, allocations: 0 / 0.579 GB, free: 14.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.6762, allocations: 4.717 MB / 0.5836 GB, free: 9.617 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.6764, allocations: 231.4 kB / 0.5838 GB, free: 9.348 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.416, allocations: 0 / 0.5838 GB, free: 9.348 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat