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.001301/0.001301, allocations: 178.3 kB / 8.005 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.659/1.659, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0008939/0.0008941, allocations: 78.64 kB / 261.7 MB, free: 1.691 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.2354/0.2354, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.722e-05/1.733e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 58.85 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4114/0.5266, allocations: 88.69 MB / 0.5527 GB, free: 6.258 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.5269, allocations: 102.1 kB / 0.5528 GB, free: 6.199 MB / 362.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.01977/0.5466, allocations: 7.753 MB / 0.5603 GB, free: 15.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5467, allocations: 0 / 0.5603 GB, free: 15.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.5467, allocations: 4 kB / 0.5603 GB, free: 15.89 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005638/0.5473, allocations: 446.2 kB / 0.5608 GB, free: 15.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5473, allocations: 12.02 kB / 0.5608 GB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006655/0.548, allocations: 86.44 kB / 0.5608 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.5483, allocations: 229.7 kB / 0.5611 GB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.5483, allocations: 8 kB / 0.5611 GB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.5484, allocations: 8 kB / 0.5611 GB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004555/0.5488, allocations: 271.2 kB / 0.5613 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.5493, allocations: 268.8 kB / 0.5616 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.5493, allocations: 0 / 0.5616 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.5493, allocations: 3.938 kB / 0.5616 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.479e-05/0.5494, allocations: 15.98 kB / 0.5616 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.5509, allocations: 0.7916 MB / 0.5624 GB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.5512, allocations: 192.3 kB / 0.5626 GB, free: 13.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.5513, allocations: 67.41 kB / 0.5626 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.5513, allocations: 4 kB / 0.5626 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.5514, allocations: 38.38 kB / 0.5627 GB, free: 13.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.5514, allocations: 0 / 0.5627 GB, free: 13.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004098/0.5518, allocations: 168.1 kB / 0.5628 GB, free: 13.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.5519, allocations: 62.58 kB / 0.5629 GB, free: 13.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.552, allocations: 117.6 kB / 0.563 GB, free: 13.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.552, allocations: 25.7 kB / 0.563 GB, free: 13.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.5521, allocations: 146.3 kB / 0.5632 GB, free: 13.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.5522, allocations: 30.58 kB / 0.5632 GB, free: 13.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.5522, allocations: 3.938 kB / 0.5632 GB, free: 13.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5523, allocations: 322.4 kB / 0.5635 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.5524, allocations: 70.23 kB / 0.5636 GB, free: 12.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.5526, allocations: 109.1 kB / 0.5637 GB, free: 12.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.5527, allocations: 82.36 kB / 0.5638 GB, free: 12.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5528, allocations: 0 / 0.5638 GB, free: 12.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003578/0.5531, allocations: 222.9 kB / 0.564 GB, free: 12.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5532, allocations: 7.438 kB / 0.564 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.5532, allocations: 4.219 kB / 0.564 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/0.5532, allocations: 8 kB / 0.564 GB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.5537, allocations: 83.64 kB / 0.5641 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.5548, allocations: 1.792 MB / 0.5658 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.5551, allocations: 23.86 kB / 0.5658 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.5551, allocations: 11.98 kB / 0.5659 GB, free: 10.26 MB / 378.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 0.0001096/0.5552, allocations: 104.9 kB / 0.566 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002934/0.5555, allocations: 179.3 kB / 0.5661 GB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.5556, allocations: 15.98 kB / 0.5661 GB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004195/0.556, allocations: 223.5 kB / 0.5664 GB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.556, allocations: 4 kB / 0.5664 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.556, allocations: 0 / 0.5664 GB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.556, allocations: 4 kB / 0.5664 GB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.5563, allocations: 220.2 kB / 0.5666 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5563, allocations: 0 / 0.5666 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.5567, allocations: 67.88 kB / 0.5666 GB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.5567, allocations: 0 / 0.5666 GB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.5568, allocations: 11.8 kB / 0.5666 GB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009363/0.5577, allocations: 1.784 MB / 0.5684 GB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5577, allocations: 0 / 0.5684 GB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.558, allocations: 276.6 kB / 0.5687 GB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.5581, allocations: 92.91 kB / 0.5687 GB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.5582, allocations: 0 / 0.5687 GB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.5584, allocations: 15.98 kB / 0.5688 GB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.5584, allocations: 14.91 kB / 0.5688 GB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.5585, allocations: 7.984 kB / 0.5688 GB, free: 7.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.656e-05/0.5585, allocations: 104.3 kB / 0.5689 GB, free: 7.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5585, allocations: 0 / 0.5689 GB, free: 7.109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004671/0.559, allocations: 71.91 kB / 0.5689 GB, free: 7.043 MB / 378.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.001003/0.56, allocations: 0.8579 MB / 0.5698 GB, free: 6.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.5606, allocations: 182.2 kB / 0.57 GB, free: 6.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/0.5606, allocations: 0 / 0.57 GB, free: 6.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.5609, allocations: 110.8 kB / 0.5701 GB, free: 5.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.5612, allocations: 8.703 kB / 0.5701 GB, free: 5.922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/0.562, allocations: 301.6 kB / 0.5704 GB, free: 5.594 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.5626, allocations: 0.7392 MB / 0.5711 GB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002457/0.5629, allocations: 68.77 kB / 0.5712 GB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.563, allocations: 56.7 kB / 0.5712 GB, free: 4.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.563, allocations: 0 / 0.5712 GB, free: 4.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.5868, allocations: 3.617 MB / 0.5747 GB, free: 1.113 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.5871, allocations: 197.9 kB / 0.5749 GB, free: 0.918 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.254, allocations: 0 / 0.5749 GB, free: 0.918 MB / 378.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