Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01032/0.01032, allocations: 167 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.837/1.837, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002656/0.002656, allocations: 111.2 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5041/0.5041, allocations: 38.06 MB / 303.7 MB, free: 42.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.0004892, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1488, allocations: 48.7 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4726/0.6215, allocations: 78.74 MB / 490.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/0.6219, allocations: 102.1 kB / 490.6 MB, free: 8.965 MB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.01418/0.6361, allocations: 3.454 MB / 494 MB, free: 5.992 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6361, allocations: 4 kB / 494 MB, free: 5.988 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.6361, allocations: 6.75 kB / 494 MB, free: 5.984 MB / 330.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.0005643/0.6367, allocations: 404.4 kB / 494.4 MB, free: 5.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.6368, allocations: 8.031 kB / 494.4 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/0.6368, allocations: 38.5 kB / 494.5 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.6372, allocations: 43.67 kB / 494.5 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.6374, allocations: 196.3 kB / 494.7 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.6374, allocations: 7.984 kB / 494.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.6375, allocations: 11.44 kB / 494.7 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004859/0.638, allocations: 186.9 kB / 494.9 MB, free: 5.062 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.638, allocations: 3.938 kB / 494.9 MB, free: 5.059 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.638, allocations: 6.938 kB / 494.9 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.786e-05/0.6381, allocations: 11.98 kB / 494.9 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004995/0.6386, allocations: 142.7 kB / 495.1 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.6397, allocations: 0.655 MB / 495.7 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.6402, allocations: 109 kB / 495.8 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.6402, allocations: 4.141 kB / 495.8 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.6402, allocations: 38.56 kB / 495.9 MB, free: 4.102 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.776e-06/0.6403, allocations: 0 / 495.9 MB, free: 4.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006772/0.6409, allocations: 149.5 kB / 496 MB, free: 3.969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.641, allocations: 55.41 kB / 496.1 MB, free: 3.902 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.6411, allocations: 116.8 kB / 496.2 MB, free: 3.785 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.6411, allocations: 25.7 kB / 496.2 MB, free: 3.754 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.6412, allocations: 123.4 kB / 496.3 MB, free: 3.633 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.6412, allocations: 22.94 kB / 496.3 MB, free: 3.613 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.6412, allocations: 0 / 496.3 MB, free: 3.613 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.765e-05/0.6413, allocations: 321.5 kB / 496.7 MB, free: 3.293 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.6415, allocations: 45.66 kB / 496.7 MB, free: 3.254 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.6418, allocations: 98.06 kB / 496.8 MB, free: 3.141 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.642, allocations: 57.33 kB / 496.9 MB, free: 3.094 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.642, allocations: 0 / 496.9 MB, free: 3.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005286/0.6425, allocations: 173.8 kB / 497 MB, free: 2.938 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.6426, allocations: 9.406 kB / 497 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6426, allocations: 4.25 kB / 497 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.6426, allocations: 4 kB / 497 MB, free: 2.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.643, allocations: 43.91 kB / 497.1 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.643, allocations: 4 kB / 497.1 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.6432, allocations: 19.22 kB / 497.1 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.6432, allocations: 4 kB / 497.1 MB, free: 2.855 MB / 330.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 () * Number of clocked 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 0.0001215/0.6433, allocations: 137 kB / 497.2 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.6434, allocations: 11.86 kB / 497.3 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/0.6439, allocations: 136.9 kB / 497.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6439, allocations: 4.562 kB / 497.4 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.644, allocations: 0 / 497.4 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.644, allocations: 0 / 497.4 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.6442, allocations: 198.7 kB / 497.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.6442, allocations: 0 / 497.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.6445, allocations: 30.67 kB / 497.6 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.6445, allocations: 7.891 kB / 497.6 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.6445, allocations: 0 / 497.6 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.6446, allocations: 4 kB / 497.6 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.6446, allocations: 7.938 kB / 497.6 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.645, allocations: 213.6 kB / 497.8 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.6451, allocations: 85.02 kB / 497.9 MB, free: 2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.6451, allocations: 7.953 kB / 497.9 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.6453, allocations: 15.8 kB / 497.9 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.6454, allocations: 7.984 kB / 498 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.6454, allocations: 0 / 498 MB, free: 1.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.543e-05/0.6454, allocations: 93.95 kB / 498 MB, free: 1.887 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6454, allocations: 4 kB / 498.1 MB, free: 1.883 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003657/0.6458, allocations: 27.19 kB / 498.1 MB, free: 1.859 MB / 330.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 () * Number of clocked 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.0007152/0.6465, allocations: 0.7743 MB / 498.9 MB, free: 1.082 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004594/0.647, allocations: 109.7 kB / 499 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.647, allocations: 0 / 499 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.6472, allocations: 55.09 kB / 499 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.6475, allocations: 7.203 kB / 499 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.6497, allocations: 1.964 MB / 0.4892 GB, free: 14.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.6502, allocations: 0.7193 MB / 0.4899 GB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.6504, allocations: 24.52 kB / 0.49 GB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.161e-05/0.6505, allocations: 21.75 kB / 0.49 GB, free: 14.17 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6505, allocations: 0 / 0.49 GB, free: 14.17 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07918/0.7297, allocations: 2.342 MB / 0.4923 GB, free: 11.96 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003244/0.7301, allocations: 228.8 kB / 0.4925 GB, free: 11.71 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/3.434, allocations: 4 kB / 0.4925 GB, free: 11.71 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat