Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000907/0.0009069, allocations: 88.05 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2187/0.2187, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.196e-05/4.198e-05, allocations: 4 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1693, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5022/0.6716, allocations: 91.15 MB / 0.5908 GB, free: 14.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.672, allocations: 99.91 kB / 0.5909 GB, free: 14 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Fluid/Dissipation.mo:5884:11-5887: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 4.0.0+maint.om/Fluid/Dissipation.mo:5889:11-5892: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 4.0.0+maint.om/Fluid/Dissipation.mo:5895:11-5898: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 4.0.0+maint.om/Fluid/Dissipation.mo:5900:11-5903: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.01079/0.6828, allocations: 3.599 MB / 0.5944 GB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6828, allocations: 0 / 0.5944 GB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.6828, allocations: 8 kB / 0.5945 GB, free: 10.39 MB / 410.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.0005291/0.6834, allocations: 390.2 kB / 0.5948 GB, free: 9.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.6834, allocations: 8.031 kB / 0.5948 GB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.567e-05/0.6835, allocations: 46.55 kB / 0.5949 GB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.6838, allocations: 35.88 kB / 0.5949 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.6841, allocations: 186.9 kB / 0.5951 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.6841, allocations: 15.92 kB / 0.5951 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.6841, allocations: 11.95 kB / 0.5951 GB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.6844, allocations: 160.1 kB / 0.5953 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.6845, allocations: 4 kB / 0.5953 GB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.6845, allocations: 4 kB / 0.5953 GB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.758e-05/0.6845, allocations: 15.98 kB / 0.5953 GB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.6847, allocations: 111.9 kB / 0.5954 GB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008865/0.6856, allocations: 0.6448 MB / 0.596 GB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.6859, allocations: 98.69 kB / 0.5961 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.867e-05/0.686, allocations: 36.75 kB / 0.5962 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.686, allocations: 4 kB / 0.5962 GB, free: 8.445 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.6861, allocations: 42.48 kB / 0.5962 GB, free: 8.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.6861, allocations: 0 / 0.5962 GB, free: 8.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002102/0.6863, allocations: 73.59 kB / 0.5963 GB, free: 8.316 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.6863, allocations: 55.41 kB / 0.5963 GB, free: 8.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.6864, allocations: 114.6 kB / 0.5964 GB, free: 8.129 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.6865, allocations: 25.7 kB / 0.5965 GB, free: 8.098 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.6865, allocations: 131.8 kB / 0.5966 GB, free: 7.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.6866, allocations: 23.66 kB / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.6866, allocations: 0 / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6867, allocations: 322.8 kB / 0.5969 GB, free: 7.613 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.71e-05/0.6868, allocations: 20 kB / 0.5969 GB, free: 7.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.901e-05/0.6869, allocations: 80.64 kB / 0.597 GB, free: 7.488 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.372e-05/0.6869, allocations: 40.12 kB / 0.5971 GB, free: 7.449 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6869, allocations: 0 / 0.5971 GB, free: 7.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002021/0.6871, allocations: 137.4 kB / 0.5972 GB, free: 7.309 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.6872, allocations: 13.05 kB / 0.5972 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6872, allocations: 0 / 0.5972 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.6872, allocations: 4 kB / 0.5972 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.6874, allocations: 43.91 kB / 0.5972 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.6874, allocations: 4.25 kB / 0.5972 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.6875, allocations: 31.83 kB / 0.5973 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.6875, allocations: 7.938 kB / 0.5973 GB, free: 7.207 MB / 410.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.746e-05/0.6876, allocations: 112.9 kB / 0.5974 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.6877, allocations: 7.906 kB / 0.5974 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.6879, allocations: 98.22 kB / 0.5975 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6879, allocations: 0 / 0.5975 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6879, allocations: 4 kB / 0.5975 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6879, allocations: 4 kB / 0.5975 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.6881, allocations: 193.6 kB / 0.5977 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6881, allocations: 4 kB / 0.5977 GB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.6883, allocations: 31.91 kB / 0.5977 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.6883, allocations: 4 kB / 0.5977 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.6883, allocations: 0 / 0.5977 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.6883, allocations: 3.953 kB / 0.5977 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6883, allocations: 5.016 kB / 0.5977 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.6885, allocations: 179.4 kB / 0.5979 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.6886, allocations: 92.94 kB / 0.598 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.6886, allocations: 0 / 0.598 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.6887, allocations: 8 kB / 0.598 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.6888, allocations: 19.88 kB / 0.598 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.6888, allocations: 4 kB / 0.598 GB, free: 6.352 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.035e-05/0.6888, allocations: 99.02 kB / 0.5981 GB, free: 6.258 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6888, allocations: 0 / 0.5981 GB, free: 6.258 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002419/0.6891, allocations: 24 kB / 0.5981 GB, free: 6.234 MB / 410.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.0005077/0.6896, allocations: 0.7464 MB / 0.5989 GB, free: 5.465 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.6898, allocations: 79.92 kB / 0.5989 GB, free: 5.387 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6898, allocations: 0 / 0.5989 GB, free: 5.387 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.938e-05/0.6899, allocations: 31.98 kB / 0.599 GB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.69, allocations: 7.953 kB / 0.599 GB, free: 5.348 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.6906, allocations: 191.6 kB / 0.5992 GB, free: 5.121 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.6909, allocations: 0.7204 MB / 0.5999 GB, free: 4.375 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.691, allocations: 28.38 kB / 0.5999 GB, free: 4.348 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.385e-05/0.6911, allocations: 31.38 kB / 0.5999 GB, free: 4.316 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6911, allocations: 0 / 0.5999 GB, free: 4.316 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01452/0.7056, allocations: 2.38 MB / 0.6022 GB, free: 2.117 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.7059, allocations: 207.5 kB / 0.6024 GB, free: 1.887 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.368, allocations: 2.109 kB / 0.6024 GB, free: 1.887 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat