Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.001099/0.001099, allocations: 183.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.68/1.68, 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.0009351/0.0009353, allocations: 76.55 kB / 267 MB, free: 9.297 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.4596/0.4596, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.385e-05, allocations: 0 / 425.4 MB, free: 8.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1476, allocations: 58.85 MB / 484.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4512/0.5989, allocations: 90.03 MB / 0.5608 GB, free: 14.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.5993, allocations: 94.7 kB / 0.5609 GB, free: 14.67 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.009788/0.6091, allocations: 3.5 MB / 0.5644 GB, free: 12.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6091, allocations: 0 / 0.5644 GB, free: 12.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.6091, allocations: 4 kB / 0.5644 GB, free: 12.42 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004076/0.6095, allocations: 403.7 kB / 0.5647 GB, free: 12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.6096, allocations: 8.031 kB / 0.5648 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/0.6096, allocations: 46.23 kB / 0.5648 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/0.6099, allocations: 39.75 kB / 0.5648 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.6101, allocations: 186.4 kB / 0.565 GB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.6101, allocations: 4 kB / 0.565 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.6101, allocations: 15.55 kB / 0.565 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.6104, allocations: 163.4 kB / 0.5652 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.6104, allocations: 4.656 kB / 0.5652 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.6104, allocations: 5.375 kB / 0.5652 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.6105, allocations: 8 kB / 0.5652 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.6106, allocations: 111.3 kB / 0.5653 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007169/0.6114, allocations: 0.6526 MB / 0.5659 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.6116, allocations: 98.83 kB / 0.566 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.6117, allocations: 31.36 kB / 0.5661 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.6117, allocations: 0 / 0.5661 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.6118, allocations: 34.55 kB / 0.5661 GB, free: 10.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.6118, allocations: 0 / 0.5661 GB, free: 10.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001911/0.612, allocations: 75.72 kB / 0.5662 GB, free: 10.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.612, allocations: 59.39 kB / 0.5662 GB, free: 10.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.6121, allocations: 114.2 kB / 0.5663 GB, free: 10.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.6121, allocations: 35.06 kB / 0.5664 GB, free: 10.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.6122, allocations: 124 kB / 0.5665 GB, free: 10.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.6122, allocations: 23.69 kB / 0.5665 GB, free: 10.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.6122, allocations: 0 / 0.5665 GB, free: 10.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.137e-05/0.6122, allocations: 325.8 kB / 0.5668 GB, free: 9.844 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.282e-05/0.6123, allocations: 23.44 kB / 0.5669 GB, free: 9.824 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/0.6124, allocations: 87 kB / 0.5669 GB, free: 9.723 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.74e-05/0.6124, allocations: 35.09 kB / 0.567 GB, free: 9.695 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6124, allocations: 4 kB / 0.567 GB, free: 9.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001662/0.6126, allocations: 127.1 kB / 0.5671 GB, free: 9.574 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.6126, allocations: 8 kB / 0.5671 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.6127, allocations: 3.984 kB / 0.5671 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.6127, allocations: 5.219 kB / 0.5671 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.6128, allocations: 47.3 kB / 0.5672 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.6129, allocations: 4 kB / 0.5672 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.616e-05/0.613, allocations: 27.81 kB / 0.5672 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.613, allocations: 8.219 kB / 0.5672 GB, free: 9.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.613, allocations: 116.4 kB / 0.5673 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.6131, allocations: 0 / 0.5673 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.6133, allocations: 108.6 kB / 0.5674 GB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6133, allocations: 0 / 0.5674 GB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6133, allocations: 11.81 kB / 0.5674 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6133, allocations: 4 kB / 0.5674 GB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.6134, allocations: 193.3 kB / 0.5676 GB, free: 9.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6135, allocations: 4 kB / 0.5676 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.6136, allocations: 35.16 kB / 0.5676 GB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6136, allocations: 4 kB / 0.5676 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.6136, allocations: 4 kB / 0.5677 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6136, allocations: 0 / 0.5677 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.6136, allocations: 0 / 0.5677 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.6138, allocations: 177 kB / 0.5678 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.6138, allocations: 96.89 kB / 0.5679 GB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.6138, allocations: 3.5 kB / 0.5679 GB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.694e-05/0.6139, allocations: 8 kB / 0.5679 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.614, allocations: 15.92 kB / 0.5679 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.614, allocations: 0 / 0.5679 GB, free: 8.676 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.614, allocations: 99.95 kB / 0.568 GB, free: 8.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.614, allocations: 0 / 0.568 GB, free: 8.586 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.6143, allocations: 23.31 kB / 0.5681 GB, free: 8.566 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 (8): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003373/0.6146, allocations: 0.7431 MB / 0.5688 GB, free: 7.816 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.6148, allocations: 72.86 kB / 0.5689 GB, free: 7.758 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.6148, allocations: 0 / 0.5689 GB, free: 7.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.472e-05/0.6148, allocations: 34.28 kB / 0.5689 GB, free: 7.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.615, allocations: 6.438 kB / 0.5689 GB, free: 7.727 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.6155, allocations: 186 kB / 0.5691 GB, free: 7.523 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.6157, allocations: 0.7266 MB / 0.5698 GB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.344e-05/0.6158, allocations: 27.64 kB / 0.5698 GB, free: 6.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.6159, allocations: 36.55 kB / 0.5698 GB, free: 6.727 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6159, allocations: 0 / 0.5698 GB, free: 6.727 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.6296, allocations: 2.389 MB / 0.5722 GB, free: 4.445 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/0.6298, allocations: 205.8 kB / 0.5724 GB, free: 4.215 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.219, allocations: 0 / 0.5724 GB, free: 4.215 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat