Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001824/0.001824, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001062/0.001062, allocations: 94.7 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.772e-05/1.774e-05, allocations: 4 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1214, allocations: 63.25 MB / 0.5045 GB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4376/0.5591, allocations: 91.55 MB / 0.5939 GB, free: 10.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.5594, allocations: 98.61 kB / 0.594 GB, free: 10.54 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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 trunk/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 trunk/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 trunk/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.0109/0.5703, allocations: 3.632 MB / 0.5975 GB, free: 7.469 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5703, allocations: 0 / 0.5975 GB, free: 7.469 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.5703, allocations: 0 / 0.5975 GB, free: 7.469 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.0004967/0.5708, allocations: 398.6 kB / 0.5979 GB, free: 7.043 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.5709, allocations: 12.03 kB / 0.5979 GB, free: 7.031 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.5712, allocations: 34.62 kB / 0.5979 GB, free: 7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.5714, allocations: 189.6 kB / 0.5981 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.5714, allocations: 4 kB / 0.5981 GB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.5714, allocations: 8 kB / 0.5981 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002099/0.5716, allocations: 87.02 kB / 0.5982 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.5719, allocations: 153.7 kB / 0.5984 GB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5719, allocations: 4 kB / 0.5984 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.5719, allocations: 0 / 0.5984 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.572, allocations: 11.98 kB / 0.5984 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008988/0.5729, allocations: 0.6123 MB / 0.599 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.5731, allocations: 96.39 kB / 0.5991 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.5732, allocations: 23.86 kB / 0.5991 GB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.5732, allocations: 160 / 0.5991 GB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.5732, allocations: 34.56 kB / 0.5991 GB, free: 5.762 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.5733, allocations: 0 / 0.5991 GB, free: 5.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001858/0.5734, allocations: 76.31 kB / 0.5992 GB, free: 5.688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.5735, allocations: 55.41 kB / 0.5993 GB, free: 5.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.653e-05/0.5736, allocations: 118.7 kB / 0.5994 GB, free: 5.504 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.5736, allocations: 25.7 kB / 0.5994 GB, free: 5.473 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.5737, allocations: 115.6 kB / 0.5995 GB, free: 5.355 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.5737, allocations: 27.08 kB / 0.5995 GB, free: 5.332 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.5737, allocations: 0 / 0.5995 GB, free: 5.332 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.5738, allocations: 326.2 kB / 0.5998 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.5739, allocations: 19.31 kB / 0.5999 GB, free: 4.996 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.676e-05/0.574, allocations: 79.16 kB / 0.5999 GB, free: 4.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.417e-05/0.574, allocations: 34.47 kB / 0.6 GB, free: 4.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.574, allocations: 0 / 0.6 GB, free: 4.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001835/0.5742, allocations: 127.8 kB / 0.6001 GB, free: 4.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.5743, allocations: 4 kB / 0.6001 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5743, allocations: 4 kB / 0.6001 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.5743, allocations: 8 kB / 0.6001 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.5745, allocations: 44.22 kB / 0.6001 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5745, allocations: 7.938 kB / 0.6002 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.5746, allocations: 19.83 kB / 0.6002 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.5746, allocations: 7.25 kB / 0.6002 GB, free: 4.66 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 6.869e-05/0.5747, allocations: 105 kB / 0.6003 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001392/0.5748, allocations: 89.55 kB / 0.6004 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.5749, allocations: 4 kB / 0.6004 GB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.575, allocations: 91.34 kB / 0.6005 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5751, allocations: 0 / 0.6005 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.5751, allocations: 4 kB / 0.6005 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.5751, allocations: 0 / 0.6005 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.5753, allocations: 175.2 kB / 0.6006 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.5753, allocations: 4 kB / 0.6006 GB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.5754, allocations: 31.97 kB / 0.6007 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.5754, allocations: 7.938 kB / 0.6007 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.5755, allocations: 3.938 kB / 0.6007 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5755, allocations: 0 / 0.6007 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5755, allocations: 0 / 0.6007 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.5756, allocations: 181.5 kB / 0.6008 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.5757, allocations: 85.05 kB / 0.6009 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.5757, allocations: 3.984 kB / 0.6009 GB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.5758, allocations: 12 kB / 0.6009 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.5759, allocations: 7.984 kB / 0.601 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.5759, allocations: 0 / 0.601 GB, free: 3.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.752e-05/0.5759, allocations: 90.41 kB / 0.601 GB, free: 3.738 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5759, allocations: 0 / 0.601 GB, free: 3.738 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.5762, allocations: 27.89 kB / 0.6011 GB, free: 3.711 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.0004775/0.5767, allocations: 0.7397 MB / 0.6018 GB, free: 2.961 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.5769, allocations: 58.92 kB / 0.6018 GB, free: 2.914 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5769, allocations: 0 / 0.6018 GB, free: 2.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.975e-05/0.5769, allocations: 34.73 kB / 0.6019 GB, free: 2.887 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.5771, allocations: 8.438 kB / 0.6019 GB, free: 2.879 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.5776, allocations: 180.5 kB / 0.6021 GB, free: 2.672 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.5779, allocations: 0.7153 MB / 0.6028 GB, free: 1.934 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.5781, allocations: 28.52 kB / 0.6028 GB, free: 1.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.5781, allocations: 29.25 kB / 0.6028 GB, free: 1.895 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5781, allocations: 0 / 0.6028 GB, free: 1.895 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.5977, allocations: 1.816 MB / 0.6046 GB, free: 116 kB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/0.5981, allocations: 198.7 kB / 0.6048 GB, free: 15.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.178, allocations: 0 / 0.6048 GB, free: 15.91 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat