Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009145/0.0009145, allocations: 94.36 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008466/0.0008466, allocations: 186 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2262/0.2262, allocations: 44.22 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004423, allocations: 9.188 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1404, allocations: 61.93 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.001917/0.1423, allocations: 1.439 MB / 473 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1435, allocations: 0.7019 MB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.1436, allocations: 0 / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.1439, allocations: 35.81 kB / 473.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.1442, allocations: 55.77 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.1443, allocations: 51.88 kB / 473.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.1445, allocations: 87.8 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.1445, allocations: 8 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.1447, allocations: 43.83 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1448, allocations: 59.81 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1448, allocations: 4 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.145, allocations: 67.94 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.145, allocations: 27.91 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.1451, allocations: 37.64 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1453, allocations: 92.08 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1453, allocations: 4 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1453, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1453, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 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.0005273/0.1458, allocations: 399 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1459, allocations: 8.031 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/0.1459, allocations: 46.53 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003056/0.1463, allocations: 31.88 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.1465, allocations: 194.9 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1465, allocations: 4 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.1465, allocations: 15.95 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.1469, allocations: 176.1 kB / 475.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1469, allocations: 0 / 475.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.1469, allocations: 11.98 kB / 475.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.147, allocations: 19.92 kB / 475.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.1473, allocations: 135.9 kB / 475.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008691/0.1482, allocations: 0.6483 MB / 475.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.1486, allocations: 114.6 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1486, allocations: 0 / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1486, allocations: 42.52 kB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1486, allocations: 0 / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000466/0.1491, allocations: 149.5 kB / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1492, allocations: 59.34 kB / 476.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1493, allocations: 128.7 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1493, allocations: 25.7 kB / 476.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.1494, allocations: 128 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.1494, allocations: 27.64 kB / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.1494, allocations: 4 kB / 476.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.1495, allocations: 310.8 kB / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1497, allocations: 51.95 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.1498, allocations: 87.7 kB / 477 MB, free: 7.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.15, allocations: 59.84 kB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.15, allocations: 0 / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003611/0.1503, allocations: 177.6 kB / 477.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1504, allocations: 7.953 kB / 477.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1504, allocations: 8.25 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1504, allocations: 4 kB / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.1506, allocations: 39.97 kB / 477.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.1506, allocations: 8 kB / 477.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1507, allocations: 23.83 kB / 477.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1508, allocations: 8 kB / 477.4 MB, free: 7.496 MB / 350.1 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.0001142/0.1509, allocations: 126.4 kB / 477.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.1509, allocations: 4 kB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.1513, allocations: 141.9 kB / 477.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1513, allocations: 4 kB / 477.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.1513, allocations: 4 kB / 477.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1513, allocations: 3.984 kB / 477.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.1516, allocations: 197.5 kB / 477.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1516, allocations: 0 / 477.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.1518, allocations: 35.91 kB / 477.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1518, allocations: 0 / 477.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.1518, allocations: 0 / 477.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1518, allocations: 3.953 kB / 477.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1518, allocations: 4 kB / 477.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.1521, allocations: 215.3 kB / 478.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.1522, allocations: 85.03 kB / 478.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1522, allocations: 8 kB / 478.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1523, allocations: 8 kB / 478.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.1524, allocations: 11.94 kB / 478.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1524, allocations: 0 / 478.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.464e-05/0.1524, allocations: 95.27 kB / 478.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1525, allocations: 0 / 478.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1527, allocations: 27.91 kB / 478.3 MB, free: 6.441 MB / 350.1 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.0006219/0.1534, allocations: 0.7553 MB / 479.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.1537, allocations: 107.9 kB / 479.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1537, allocations: 0.5 kB / 479.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.1538, allocations: 47.91 kB / 479.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.154, allocations: 15.89 kB / 479.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.1561, allocations: 1.954 MB / 481.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.1565, allocations: 0.7199 MB / 481.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.1566, allocations: 28.38 kB / 482 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.789e-05/0.1567, allocations: 35.44 kB / 482 MB, free: 2.641 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1567, allocations: 0 / 482 MB, free: 2.641 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.1699, allocations: 1.97 MB / 484 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/0.1702, allocations: 232.1 kB / 484.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.033, allocations: 5.953 kB / 484.2 MB, free: 0.6406 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat