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_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009944/0.0009945, allocations: 99.34 kB / 17 MB, free: 6.074 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.0008263/0.0008264, allocations: 182.5 kB / 17.89 MB, free: 5.66 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.387/1.387, allocations: 223.2 MB / 241.9 MB, free: 320 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.2381/0.2381, allocations: 44.22 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.000341, allocations: 8 kB / 409.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002139/0.1336, allocations: 1.493 MB / 473.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003614/0.1373, allocations: 2.604 MB / 475.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.969e-05/0.1374, allocations: 4 kB / 475.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.1377, allocations: 43.75 kB / 475.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.138, allocations: 71.64 kB / 475.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1393, allocations: 0.6153 MB / 476.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.1396, allocations: 270.7 kB / 476.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.668e-05/0.1397, allocations: 24.41 kB / 476.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.1399, allocations: 95.56 kB / 476.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.1401, allocations: 119.5 kB / 477 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.1401, allocations: 8 kB / 477 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.1417, allocations: 1.142 MB / 478.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.977e-05/0.1418, allocations: 63.75 kB / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.1419, allocations: 65.52 kB / 478.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000824/0.1427, allocations: 0.542 MB / 478.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.1427, allocations: 3.938 kB / 478.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.332e-06/0.1427, allocations: 0 / 478.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1428, allocations: 7.875 kB / 478.8 MB, free: 6.426 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001006/0.1438, allocations: 0.6199 MB / 479.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.1438, allocations: 12.03 kB / 479.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.999e-05/0.1439, allocations: 82.5 kB / 479.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.144, allocations: 31.62 kB / 479.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1443, allocations: 242.6 kB / 479.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1443, allocations: 16.56 kB / 479.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.1444, allocations: 27.98 kB / 479.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007431/0.1451, allocations: 471.3 kB / 480.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1451, allocations: 3.938 kB / 480.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.1452, allocations: 12 kB / 480.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.1453, allocations: 48.97 kB / 480.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008357/0.1461, allocations: 0.5504 MB / 480.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.148, allocations: 1.315 MB / 482.2 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.1485, allocations: 277 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.1487, allocations: 104.8 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.921e-05/0.1488, allocations: 12.33 kB / 482.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1488, allocations: 34.56 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.674e-06/0.1488, allocations: 0 / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007816/0.1496, allocations: 353.8 kB / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1496, allocations: 55.41 kB / 483.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.1498, allocations: 142 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.1498, allocations: 29.7 kB / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.15, allocations: 187.8 kB / 483.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.213e-05/0.1501, allocations: 86.75 kB / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.1501, allocations: 8 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.1503, allocations: 322.8 kB / 483.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.1505, allocations: 99.72 kB / 483.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.1508, allocations: 178.2 kB / 484.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.1511, allocations: 124.1 kB / 484.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1511, allocations: 3.938 kB / 484.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000588/0.1517, allocations: 329.1 kB / 484.5 MB, free: 388 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.1517, allocations: 10.66 kB / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.1517, allocations: 4 kB / 484.6 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.1517, allocations: 8.328 kB / 484.6 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.1522, allocations: 123.9 kB / 484.7 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.1536, allocations: 2.368 MB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.1538, allocations: 35.67 kB / 487.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.1538, allocations: 16 kB / 487.1 MB, free: 13.73 MB / 366.1 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 () * Number of clocked 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.0001964/0.154, allocations: 178.4 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.1541, allocations: 15.81 kB / 487.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000809/0.1549, allocations: 371.4 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.1549, allocations: 8 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1549, allocations: 3.938 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1549, allocations: 0 / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.1554, allocations: 349.3 kB / 488 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1554, allocations: 0 / 488 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.1558, allocations: 107.8 kB / 488.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.1558, allocations: 4 kB / 488.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.1558, allocations: 11.98 kB / 488.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.1571, allocations: 2.364 MB / 490.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1571, allocations: 0 / 490.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.1576, allocations: 379.7 kB / 490.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.1577, allocations: 96.86 kB / 491 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1577, allocations: 4 kB / 491 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1579, allocations: 15.98 kB / 491 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.158, allocations: 19.98 kB / 491 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.158, allocations: 7.984 kB / 491 MB, free: 9.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.999e-05/0.1581, allocations: 113.5 kB / 491.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1581, allocations: 7.938 kB / 491.1 MB, free: 9.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008885/0.159, allocations: 235.4 kB / 491.4 MB, free: 9.289 MB / 366.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 (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.001367/0.1604, allocations: 1.138 MB / 492.5 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006994/0.1611, allocations: 303.8 kB / 492.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1611, allocations: 7.938 kB / 492.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.1615, allocations: 188.9 kB / 493 MB, free: 7.633 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.1618, allocations: 12 kB / 493 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.1641, allocations: 1.526 MB / 494.5 MB, free: 6.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.1645, allocations: 0.8026 MB / 495.3 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002924/0.1648, allocations: 97.73 kB / 495.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.1649, allocations: 91.39 kB / 495.5 MB, free: 5 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1649, allocations: 0 / 495.5 MB, free: 5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.1866, allocations: 8.219 MB / 0.4919 GB, free: 13.04 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.1868, allocations: 277 kB / 0.4922 GB, free: 12.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/2.336, allocations: 2.578 kB / 0.4922 GB, free: 12.68 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat