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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001041/0.001041, 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.741/1.741, 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.0008249/0.0008249, allocations: 86.56 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.2116/0.2116, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.094e-05/2.098e-05, allocations: 4 kB / 418.4 MB, free: 28.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 58.86 MB / 477.2 MB, free: 1.512 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.393/0.5117, allocations: 88.12 MB / 0.5521 GB, free: 6.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.512, allocations: 94.5 kB / 0.5522 GB, free: 6.93 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5488:11-5489:129: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:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01142/0.5234, allocations: 4.231 MB / 0.5563 GB, free: 3.477 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.5235, allocations: 0 / 0.5563 GB, free: 3.477 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.5235, allocations: 0 / 0.5563 GB, free: 3.477 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004091/0.5239, allocations: 432.4 kB / 0.5567 GB, free: 3.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.5239, allocations: 12.03 kB / 0.5568 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006234/0.5246, allocations: 102.6 kB / 0.5569 GB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.5248, allocations: 213 kB / 0.5571 GB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.5248, allocations: 4 kB / 0.5571 GB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.5248, allocations: 8 kB / 0.5571 GB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002618/0.5251, allocations: 199.4 kB / 0.5573 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.5253, allocations: 199.6 kB / 0.5574 GB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5254, allocations: 4 kB / 0.5574 GB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.5254, allocations: 0 / 0.5574 GB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.5254, allocations: 8 kB / 0.5575 GB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008341/0.5262, allocations: 0.6785 MB / 0.5581 GB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.701e-05/0.5264, allocations: 74.97 kB / 0.5582 GB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.5264, allocations: 42.66 kB / 0.5582 GB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.5264, allocations: 3.75 kB / 0.5582 GB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.5265, allocations: 30.56 kB / 0.5583 GB, free: 1.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.5265, allocations: 4 kB / 0.5583 GB, free: 1.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001963/0.5267, allocations: 103.4 kB / 0.5584 GB, free: 1.398 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.5267, allocations: 51.41 kB / 0.5584 GB, free: 1.336 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/0.5268, allocations: 119.3 kB / 0.5585 GB, free: 1.223 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.5268, allocations: 25.7 kB / 0.5586 GB, free: 1.191 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.5268, allocations: 141.4 kB / 0.5587 GB, free: 1.059 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.5269, allocations: 27.55 kB / 0.5587 GB, free: 1.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.5269, allocations: 0 / 0.5587 GB, free: 1.031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.5269, allocations: 330.5 kB / 0.559 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.517e-05/0.527, allocations: 30.92 kB / 0.5591 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.141e-05/0.5271, allocations: 81.28 kB / 0.5591 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.89e-05/0.5272, allocations: 50.02 kB / 0.5592 GB, free: 0.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.5272, allocations: 4 kB / 0.5592 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002576/0.5274, allocations: 137.6 kB / 0.5593 GB, free: 424 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5275, allocations: 11.95 kB / 0.5593 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5275, allocations: 0 / 0.5593 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.5275, allocations: 8.219 kB / 0.5593 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.5285, allocations: 106.4 kB / 0.5594 GB, free: 300 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.5303, allocations: 1.822 MB / 0.5612 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.5305, allocations: 23.86 kB / 0.5612 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.5305, allocations: 8.125 kB / 0.5613 GB, free: 14.38 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 (14): * Single equations (assignments): 11 * 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.0001274/0.5307, allocations: 112.2 kB / 0.5614 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002262/0.5309, allocations: 97.23 kB / 0.5615 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.531, allocations: 7.906 kB / 0.5615 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003981/0.5314, allocations: 149.3 kB / 0.5616 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.5314, allocations: 0 / 0.5616 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5314, allocations: 0 / 0.5616 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.5314, allocations: 0 / 0.5616 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.5318, allocations: 203.3 kB / 0.5618 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5318, allocations: 4 kB / 0.5618 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008662/0.5326, allocations: 96.2 kB / 0.5619 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.5327, allocations: 3.953 kB / 0.5619 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.5327, allocations: 0 / 0.5619 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.534, allocations: 1.783 MB / 0.5636 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.534, allocations: 0 / 0.5636 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.5343, allocations: 204.7 kB / 0.5638 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.5344, allocations: 92.94 kB / 0.5639 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.5344, allocations: 4.141 kB / 0.5639 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.5346, allocations: 12 kB / 0.5639 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.5347, allocations: 3.984 kB / 0.5639 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.5347, allocations: 4 kB / 0.5639 GB, free: 11.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.434e-05/0.5348, allocations: 106.8 kB / 0.564 GB, free: 11.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5349, allocations: 0 / 0.564 GB, free: 11.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005427/0.5354, allocations: 43.84 kB / 0.5641 GB, free: 11.41 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 (11): * Single equations (assignments): 8 * 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.0008742/0.5363, allocations: 0.7726 MB / 0.5648 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.5374, allocations: 157.4 kB / 0.565 GB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5375, allocations: 0 / 0.565 GB, free: 10.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006947/0.5382, allocations: 94.47 kB / 0.5651 GB, free: 10.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.5385, allocations: 15.25 kB / 0.5651 GB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.5395, allocations: 268.8 kB / 0.5654 GB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.5399, allocations: 0.7387 MB / 0.5661 GB, free: 9.332 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.5401, allocations: 28.53 kB / 0.5661 GB, free: 9.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.367e-05/0.5402, allocations: 42.92 kB / 0.5661 GB, free: 9.285 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5402, allocations: 0 / 0.5661 GB, free: 9.285 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.5672, allocations: 3.458 MB / 0.5695 GB, free: 5.859 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003229/0.5675, allocations: 216.4 kB / 0.5697 GB, free: 5.562 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.213, allocations: 2.812 kB / 0.5697 GB, free: 5.562 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat