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.001914/0.001914, allocations: 196.5 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008541/0.0008541, allocations: 91.09 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1802/0.1802, allocations: 45.15 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.006e-05, allocations: 4 kB / 460.5 MB, free: 69.86 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 63.25 MB / 0.5115 GB, free: 6.637 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.4765, allocations: 92.22 MB / 0.6015 GB, free: 1.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.4768, allocations: 96.48 kB / 0.6016 GB, free: 1.512 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.009919/0.4867, allocations: 3.666 MB / 0.6052 GB, free: 14.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.4867, allocations: 0 / 0.6052 GB, free: 14.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.4867, allocations: 4 kB / 0.6052 GB, free: 14.34 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.0004371/0.4872, allocations: 409.7 kB / 0.6056 GB, free: 13.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.4872, allocations: 8.031 kB / 0.6056 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.4873, allocations: 42.25 kB / 0.6057 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.4875, allocations: 35.86 kB / 0.6057 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.4877, allocations: 190 kB / 0.6059 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.4877, allocations: 7.938 kB / 0.6059 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.4878, allocations: 11.98 kB / 0.6059 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.488, allocations: 160.5 kB / 0.606 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4881, allocations: 0 / 0.606 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4881, allocations: 4 kB / 0.606 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.4881, allocations: 15.73 kB / 0.6061 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.4883, allocations: 106.5 kB / 0.6062 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008519/0.4892, allocations: 0.6549 MB / 0.6068 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.4894, allocations: 100.8 kB / 0.6069 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/0.4895, allocations: 27.73 kB / 0.6069 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.4895, allocations: 0 / 0.6069 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.4895, allocations: 34.19 kB / 0.607 GB, free: 12.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.4895, allocations: 0 / 0.607 GB, free: 12.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000183/0.4897, allocations: 80.36 kB / 0.607 GB, free: 12.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.4898, allocations: 63.39 kB / 0.6071 GB, free: 12.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.4899, allocations: 120.7 kB / 0.6072 GB, free: 12.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.4899, allocations: 25.7 kB / 0.6072 GB, free: 12.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.49, allocations: 115.2 kB / 0.6073 GB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.49, allocations: 27.45 kB / 0.6074 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.49, allocations: 3.75 kB / 0.6074 GB, free: 12.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.4901, allocations: 326.2 kB / 0.6077 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.4902, allocations: 19.81 kB / 0.6077 GB, free: 11.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/0.4902, allocations: 84.38 kB / 0.6078 GB, free: 11.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.171e-05/0.4903, allocations: 43.47 kB / 0.6078 GB, free: 11.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4903, allocations: 0 / 0.6078 GB, free: 11.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001861/0.4905, allocations: 127.9 kB / 0.6079 GB, free: 11.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4905, allocations: 9.562 kB / 0.608 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.4905, allocations: 256 / 0.608 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4906, allocations: 8 kB / 0.608 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.4907, allocations: 43.72 kB / 0.608 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4907, allocations: 7.938 kB / 0.608 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.4909, allocations: 23.83 kB / 0.608 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.4909, allocations: 7.688 kB / 0.608 GB, free: 11.38 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 6.017e-05/0.4909, allocations: 115.6 kB / 0.6082 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.491, allocations: 3.906 kB / 0.6082 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.4912, allocations: 104.9 kB / 0.6083 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4912, allocations: 7.922 kB / 0.6083 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4912, allocations: 0 / 0.6083 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4912, allocations: 0 / 0.6083 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.4914, allocations: 198.8 kB / 0.6085 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4914, allocations: 4 kB / 0.6085 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.4916, allocations: 35.97 kB / 0.6085 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4916, allocations: 0 / 0.6085 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.4916, allocations: 7.75 kB / 0.6085 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4916, allocations: 0 / 0.6085 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4916, allocations: 0 / 0.6085 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.4918, allocations: 186.6 kB / 0.6087 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.4918, allocations: 88.97 kB / 0.6088 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.4918, allocations: 7.938 kB / 0.6088 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.4919, allocations: 11.98 kB / 0.6088 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.492, allocations: 3.984 kB / 0.6088 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.492, allocations: 4 kB / 0.6088 GB, free: 10.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.623e-05/0.492, allocations: 96.84 kB / 0.6089 GB, free: 10.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4921, allocations: 0 / 0.6089 GB, free: 10.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002488/0.4923, allocations: 23.81 kB / 0.6089 GB, free: 10.46 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.00045/0.4928, allocations: 0.7418 MB / 0.6096 GB, free: 9.707 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.4929, allocations: 74.66 kB / 0.6097 GB, free: 9.648 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4929, allocations: 3.938 kB / 0.6097 GB, free: 9.645 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.842e-05/0.493, allocations: 32.17 kB / 0.6097 GB, free: 9.617 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.4931, allocations: 21.55 kB / 0.6098 GB, free: 9.602 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.4936, allocations: 189 kB / 0.6099 GB, free: 9.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.4938, allocations: 0.7121 MB / 0.6106 GB, free: 8.656 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.361e-05/0.4939, allocations: 24.53 kB / 0.6107 GB, free: 8.633 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.494, allocations: 29.17 kB / 0.6107 GB, free: 8.621 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.494, allocations: 0 / 0.6107 GB, free: 8.621 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01247/0.5065, allocations: 2.388 MB / 0.613 GB, free: 6.434 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.5067, allocations: 200.3 kB / 0.6132 GB, free: 6.211 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.419/1.926, allocations: 0 / 0.6132 GB, free: 6.211 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