Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_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.001127/0.001127, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009002/0.0009001, allocations: 94.45 kB / 286.7 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 45.14 MB / 383.8 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.163e-05, allocations: 4 kB / 453.3 MB, free: 75.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1598, allocations: 63.25 MB / 0.5045 GB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5278/0.6876, allocations: 96.61 MB / 0.5988 GB, free: 5.922 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.688, allocations: 95 kB / 0.5989 GB, free: 5.871 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6132:11-6138:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6140:11-6143:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6146:11-6152:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6154:11-6157:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03443/0.7224, allocations: 11.38 MB / 0.61 GB, free: 12.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.7225, allocations: 0 / 0.61 GB, free: 12.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.7225, allocations: 4 kB / 0.61 GB, free: 12.25 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001143/0.7236, allocations: 0.5838 MB / 0.6106 GB, free: 11.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.7237, allocations: 12.03 kB / 0.6106 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.7238, allocations: 31.58 kB / 0.6106 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.7242, allocations: 244.1 kB / 0.6109 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.7242, allocations: 12 kB / 0.6109 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.7243, allocations: 16 kB / 0.6109 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006194/0.7249, allocations: 403.8 kB / 0.6113 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.7255, allocations: 394.9 kB / 0.6117 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.7255, allocations: 0 / 0.6117 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.7255, allocations: 3.984 kB / 0.6117 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.878e-05/0.7256, allocations: 36.77 kB / 0.6117 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.7276, allocations: 1.28 MB / 0.613 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.728, allocations: 248.6 kB / 0.6132 GB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.7282, allocations: 87.25 kB / 0.6133 GB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.7282, allocations: 7.938 kB / 0.6133 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.7282, allocations: 33.12 kB / 0.6133 GB, free: 9.113 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 4.168e-06/0.7282, allocations: 0 / 0.6133 GB, free: 9.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003977/0.7287, allocations: 212.9 kB / 0.6135 GB, free: 8.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.7287, allocations: 55.41 kB / 0.6136 GB, free: 8.863 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.7288, allocations: 127 kB / 0.6137 GB, free: 8.742 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.7289, allocations: 29.7 kB / 0.6137 GB, free: 8.707 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.729, allocations: 191.4 kB / 0.6139 GB, free: 8.527 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/0.729, allocations: 85.25 kB / 0.614 GB, free: 8.453 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.7291, allocations: 0 / 0.614 GB, free: 8.453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.7292, allocations: 325.8 kB / 0.6143 GB, free: 8.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.7293, allocations: 65.47 kB / 0.6144 GB, free: 8.082 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.7295, allocations: 158.2 kB / 0.6145 GB, free: 7.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.7296, allocations: 96.8 kB / 0.6146 GB, free: 7.832 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.7296, allocations: 3.938 kB / 0.6146 GB, free: 7.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003966/0.73, allocations: 265.7 kB / 0.6149 GB, free: 7.594 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.7301, allocations: 5.906 kB / 0.6149 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.7301, allocations: 8 kB / 0.6149 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.7301, allocations: 4 kB / 0.6149 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/0.7307, allocations: 131.3 kB / 0.615 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.7318, allocations: 2.361 MB / 0.6173 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.732, allocations: 43.89 kB / 0.6174 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.7321, allocations: 19.25 kB / 0.6174 GB, free: 4.953 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.7322, allocations: 112.9 kB / 0.6175 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003154/0.7325, allocations: 206.2 kB / 0.6177 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.7326, allocations: 11.91 kB / 0.6177 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006316/0.7332, allocations: 317.8 kB / 0.618 GB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.7332, allocations: 0 / 0.618 GB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.7332, allocations: 7.875 kB / 0.618 GB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.7332, allocations: 7.984 kB / 0.618 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.7336, allocations: 272 kB / 0.6183 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7336, allocations: 0 / 0.6183 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004768/0.7341, allocations: 119.3 kB / 0.6184 GB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.7341, allocations: 0 / 0.6184 GB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.7341, allocations: 7.984 kB / 0.6184 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.7353, allocations: 2.368 MB / 0.6207 GB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7353, allocations: 0 / 0.6207 GB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.7357, allocations: 330.2 kB / 0.621 GB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.7357, allocations: 92.86 kB / 0.6211 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.7358, allocations: 0 / 0.6211 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.7359, allocations: 15.86 kB / 0.6211 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.736, allocations: 23.92 kB / 0.6211 GB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.7361, allocations: 11.44 kB / 0.6211 GB, free: 1.062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.841e-05/0.7361, allocations: 98.64 kB / 0.6212 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7361, allocations: 4 kB / 0.6212 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007943/0.7369, allocations: 179.4 kB / 0.6214 GB, free: 0.793 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/0.7381, allocations: 1.026 MB / 0.6224 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005921/0.7387, allocations: 232.3 kB / 0.6226 GB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7387, allocations: 4 kB / 0.6226 GB, free: 15.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003322/0.7391, allocations: 139.7 kB / 0.6228 GB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.7393, allocations: 9.891 kB / 0.6228 GB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.7403, allocations: 0.52 MB / 0.6233 GB, free: 14.92 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.7407, allocations: 0.8045 MB / 0.6241 GB, free: 14.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003039/0.741, allocations: 105.8 kB / 0.6242 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.7412, allocations: 91.77 kB / 0.6243 GB, free: 13.96 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.7412, allocations: 3.938 kB / 0.6243 GB, free: 13.95 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.7732, allocations: 6.11 MB / 0.6302 GB, free: 7.867 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/0.7735, allocations: 202.2 kB / 0.6304 GB, free: 7.672 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.647, allocations: 4.031 kB / 0.6304 GB, free: 7.668 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat