Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001336/0.001336, allocations: 202.1 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.386/1.386, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 98.72 kB / 286.7 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 45.15 MB / 383.8 MB, free: 220 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.357e-05, allocations: 0 / 453.3 MB, free: 75.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1201, allocations: 63.25 MB / 0.5045 GB, free: 12.5 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4222/0.5423, allocations: 104 MB / 0.6061 GB, free: 14.24 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.5427, allocations: 99.41 kB / 0.6061 GB, free: 14.19 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6002:11-6008:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6010:11-6013: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:6016:11-6022:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:6024:11-6027: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.05622/0.5989, allocations: 17.98 MB / 0.6237 GB, free: 14.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.599, allocations: 0 / 0.6237 GB, free: 14.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.692e-05/0.5991, allocations: 4 kB / 0.6237 GB, free: 14.97 MB / 426.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.001669/0.6007, allocations: 0.6369 MB / 0.6243 GB, free: 14.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.6008, allocations: 8.031 kB / 0.6243 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.6009, allocations: 39.56 kB / 0.6244 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.6013, allocations: 233.5 kB / 0.6246 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.6014, allocations: 8 kB / 0.6246 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.6014, allocations: 16 kB / 0.6246 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006646/0.6021, allocations: 404.4 kB / 0.625 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/0.6027, allocations: 398.9 kB / 0.6254 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.6028, allocations: 0 / 0.6254 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.6028, allocations: 4 kB / 0.6254 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.987e-05/0.6029, allocations: 47.89 kB / 0.6254 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.6049, allocations: 1.268 MB / 0.6267 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.6053, allocations: 254.7 kB / 0.6269 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.6055, allocations: 81.94 kB / 0.627 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.824e-05/0.6055, allocations: 4.391 kB / 0.627 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.6056, allocations: 37.88 kB / 0.627 GB, free: 11.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.764e-06/0.6056, allocations: 3.938 kB / 0.627 GB, free: 11.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004182/0.606, allocations: 204.6 kB / 0.6272 GB, free: 11.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.606, allocations: 51.41 kB / 0.6273 GB, free: 11.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.6062, allocations: 124.9 kB / 0.6274 GB, free: 11.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.6062, allocations: 25.7 kB / 0.6274 GB, free: 11.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.6063, allocations: 197.9 kB / 0.6276 GB, free: 11.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.6064, allocations: 83.62 kB / 0.6277 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.6064, allocations: 0 / 0.6277 GB, free: 11.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.6066, allocations: 324.4 kB / 0.628 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.6067, allocations: 71.47 kB / 0.6281 GB, free: 10.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.6069, allocations: 154.9 kB / 0.6282 GB, free: 10.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.6071, allocations: 101.8 kB / 0.6283 GB, free: 10.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6071, allocations: 0 / 0.6283 GB, free: 10.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000438/0.6075, allocations: 263.4 kB / 0.6286 GB, free: 10.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.6076, allocations: 8 kB / 0.6286 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6076, allocations: 4.344 kB / 0.6286 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.6076, allocations: 15.98 kB / 0.6286 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/0.6082, allocations: 126.8 kB / 0.6287 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.6098, allocations: 2.365 MB / 0.631 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.61, allocations: 35.61 kB / 0.6311 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.61, allocations: 24.2 kB / 0.6311 GB, free: 7.613 MB / 426.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.0001292/0.6102, allocations: 112.3 kB / 0.6312 GB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003555/0.6105, allocations: 207.8 kB / 0.6314 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.6106, allocations: 11.91 kB / 0.6314 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000737/0.6113, allocations: 314.4 kB / 0.6317 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.6114, allocations: 7.938 kB / 0.6317 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.6114, allocations: 3.984 kB / 0.6317 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.6114, allocations: 7.891 kB / 0.6317 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.6117, allocations: 266.5 kB / 0.632 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6118, allocations: 4 kB / 0.632 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/0.6123, allocations: 115.2 kB / 0.6321 GB, free: 6.645 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/0.6123, allocations: 7.984 kB / 0.6321 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.6123, allocations: 7.984 kB / 0.6321 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.6136, allocations: 2.365 MB / 0.6344 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6137, allocations: 4.031 kB / 0.6344 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.6141, allocations: 331.7 kB / 0.6347 GB, free: 3.879 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.6142, allocations: 92.86 kB / 0.6348 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.6142, allocations: 0 / 0.6348 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.6144, allocations: 15.94 kB / 0.6348 GB, free: 3.754 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.6144, allocations: 15.97 kB / 0.6349 GB, free: 3.738 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.6145, allocations: 11.69 kB / 0.6349 GB, free: 3.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.791e-05/0.6145, allocations: 100.8 kB / 0.635 GB, free: 3.637 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6145, allocations: 0 / 0.635 GB, free: 3.637 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00108/0.6156, allocations: 281.6 kB / 0.6352 GB, free: 3.375 MB / 426.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.001637/0.6173, allocations: 1.158 MB / 0.6364 GB, free: 2.227 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005357/0.6178, allocations: 234.1 kB / 0.6366 GB, free: 2.031 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6179, allocations: 4 kB / 0.6366 GB, free: 2.027 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000322/0.6182, allocations: 139.2 kB / 0.6367 GB, free: 1.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.6184, allocations: 7.016 kB / 0.6367 GB, free: 1.906 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.6196, allocations: 0.5729 MB / 0.6373 GB, free: 1.324 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.62, allocations: 0.8095 MB / 0.6381 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003203/0.6204, allocations: 93.88 kB / 0.6382 GB, free: 408 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.6205, allocations: 89.39 kB / 0.6382 GB, free: 376 kB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6205, allocations: 4 kB / 0.6383 GB, free: 372 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03394/0.6545, allocations: 7.637 MB / 0.6457 GB, free: 8.758 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/0.6548, allocations: 192.8 kB / 0.6459 GB, free: 8.566 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.573, allocations: 0 / 0.6459 GB, free: 8.566 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat