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.001397/0.001397, allocations: 176.7 kB / 8.008 MB, free: 1.066 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.589/1.589, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008761/0.0008761, allocations: 82.64 kB / 261.7 MB, free: 1.684 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.2037/0.2037, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.049e-05/2.051e-05, allocations: 0 / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1241, allocations: 58.87 MB / 477.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.449/0.5732, allocations: 89.35 MB / 0.5533 GB, free: 5.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.5735, allocations: 100.4 kB / 0.5534 GB, free: 5.676 MB / 362.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.009002/0.5826, allocations: 3.475 MB / 0.5568 GB, free: 2.727 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5826, allocations: 0 / 0.5568 GB, free: 2.727 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.5826, allocations: 4 kB / 0.5568 GB, free: 2.723 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004306/0.583, allocations: 401.6 kB / 0.5572 GB, free: 2.297 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5831, allocations: 8.031 kB / 0.5572 GB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/0.5834, allocations: 31.88 kB / 0.5572 GB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.5835, allocations: 194.2 kB / 0.5574 GB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.5836, allocations: 4 kB / 0.5574 GB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.5836, allocations: 7.938 kB / 0.5574 GB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001974/0.5838, allocations: 93.83 kB / 0.5575 GB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.584, allocations: 141.1 kB / 0.5576 GB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.584, allocations: 0 / 0.5576 GB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.5841, allocations: 0 / 0.5576 GB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/0.5841, allocations: 14.86 kB / 0.5577 GB, free: 1.809 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000765/0.5849, allocations: 0.6237 MB / 0.5583 GB, free: 1.164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.5851, allocations: 85.14 kB / 0.5584 GB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.5852, allocations: 27.92 kB / 0.5584 GB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.5852, allocations: 0 / 0.5584 GB, free: 1.059 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.5852, allocations: 34.56 kB / 0.5584 GB, free: 1.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.5852, allocations: 0 / 0.5584 GB, free: 1.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001995/0.5854, allocations: 84.47 kB / 0.5585 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.5855, allocations: 55.34 kB / 0.5585 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.5856, allocations: 108.7 kB / 0.5586 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.5856, allocations: 25.7 kB / 0.5587 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.5856, allocations: 123.6 kB / 0.5588 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.5857, allocations: 27.39 kB / 0.5588 GB, free: 0.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.5857, allocations: 4 kB / 0.5588 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.5858, allocations: 317.8 kB / 0.5591 GB, free: 268 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.512e-05/0.5858, allocations: 19.94 kB / 0.5591 GB, free: 252 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-05/0.5859, allocations: 74.59 kB / 0.5592 GB, free: 160 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.984e-05/0.5859, allocations: 39.78 kB / 0.5593 GB, free: 124 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5859, allocations: 0 / 0.5593 GB, free: 124 kB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001451/0.5861, allocations: 123.5 kB / 0.5594 GB, free: 8 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5861, allocations: 8 kB / 0.5594 GB, free: 0 / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5861, allocations: 0 / 0.5594 GB, free: 0 / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5862, allocations: 4.047 kB / 0.5594 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.5864, allocations: 47.84 kB / 0.5594 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5864, allocations: 4 kB / 0.5594 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.5865, allocations: 23.83 kB / 0.5595 GB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.5865, allocations: 8.062 kB / 0.5595 GB, free: 15.91 MB / 378.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 7.744e-05/0.5866, allocations: 112.7 kB / 0.5596 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001221/0.5867, allocations: 76.81 kB / 0.5596 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.5868, allocations: 7.906 kB / 0.5597 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.5869, allocations: 93.98 kB / 0.5597 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.587, allocations: 0 / 0.5597 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.587, allocations: 0 / 0.5597 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.587, allocations: 0 / 0.5597 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.5872, allocations: 180.3 kB / 0.5599 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.5872, allocations: 3.938 kB / 0.5599 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.5873, allocations: 31.97 kB / 0.5599 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.5874, allocations: 0 / 0.5599 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5874, allocations: 0 / 0.5599 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5874, allocations: 0 / 0.5599 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5874, allocations: 0 / 0.5599 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.5876, allocations: 181.9 kB / 0.5601 GB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.5876, allocations: 89.05 kB / 0.5602 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.5877, allocations: 0 / 0.5602 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.5878, allocations: 7.188 kB / 0.5602 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.5878, allocations: 11.98 kB / 0.5602 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.5879, allocations: 4 kB / 0.5602 GB, free: 15.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.81e-05/0.5879, allocations: 95.08 kB / 0.5603 GB, free: 15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5879, allocations: 7.938 kB / 0.5603 GB, free: 14.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002781/0.5882, allocations: 27.84 kB / 0.5604 GB, free: 14.96 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 (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.0006073/0.5888, allocations: 0.7334 MB / 0.5611 GB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.589, allocations: 62.86 kB / 0.5611 GB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.589, allocations: 4.188 kB / 0.5611 GB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.806e-05/0.589, allocations: 34.73 kB / 0.5612 GB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.5893, allocations: 0 / 0.5612 GB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005748/0.5898, allocations: 177 kB / 0.5613 GB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.5902, allocations: 0.7191 MB / 0.562 GB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.5903, allocations: 32.5 kB / 0.5621 GB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.5904, allocations: 22.5 kB / 0.5621 GB, free: 13.15 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.5904, allocations: 3.938 kB / 0.5621 GB, free: 13.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.6155, allocations: 1.823 MB / 0.5639 GB, free: 11.33 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/0.6158, allocations: 193.7 kB / 0.5641 GB, free: 11.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.19, allocations: 2.406 kB / 0.5641 GB, free: 11.14 MB / 378.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