Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.001055/0.001055, allocations: 95.16 kB / 16.99 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.0009707/0.0009709, allocations: 181.7 kB / 17.87 MB, free: 5.609 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.464/1.464, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2533/0.2533, allocations: 44.23 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004532/0.0004532, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1359, allocations: 61.92 MB / 471.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.002084/0.1381, allocations: 1.427 MB / 473 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.1404, allocations: 1.62 MB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/0.1405, allocations: 7.938 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.1407, allocations: 39.81 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.1409, allocations: 59.78 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.1417, allocations: 0.5067 MB / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.1419, allocations: 155.7 kB / 475.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.142, allocations: 25.66 kB / 475.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.1422, allocations: 79.69 kB / 475.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1423, allocations: 87.61 kB / 475.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.1424, allocations: 4 kB / 475.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.1438, allocations: 1.147 MB / 476.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.129e-05/0.1439, allocations: 55.81 kB / 476.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.745e-05/0.1439, allocations: 69.56 kB / 476.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006158/0.1446, allocations: 439.4 kB / 477.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1446, allocations: 0 / 477.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1446, allocations: 4 kB / 477.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1446, allocations: 0 / 477.3 MB, free: 7.871 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008036/0.1454, allocations: 0.5574 MB / 477.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1455, allocations: 8.031 kB / 477.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.778e-05/0.1455, allocations: 66.53 kB / 477.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.1456, allocations: 23.72 kB / 477.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.1459, allocations: 237 kB / 478.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1459, allocations: 16.44 kB / 478.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.1459, allocations: 23.95 kB / 478.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.1465, allocations: 380.4 kB / 478.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1465, allocations: 0 / 478.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.1466, allocations: 7.984 kB / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/0.1466, allocations: 40.62 kB / 478.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006056/0.1472, allocations: 394.3 kB / 479 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.1487, allocations: 1.043 MB / 480 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005921/0.1493, allocations: 285.9 kB / 480.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.1494, allocations: 4.188 kB / 480.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1494, allocations: 42.75 kB / 480.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/0.1494, allocations: 0 / 480.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007348/0.1501, allocations: 334.9 kB / 480.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.1502, allocations: 55.41 kB / 480.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1504, allocations: 223.7 kB / 481 MB, free: 3.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1504, allocations: 33.64 kB / 481 MB, free: 3.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.447e-05/0.1505, allocations: 152.4 kB / 481.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.516e-05/0.1506, allocations: 71.02 kB / 481.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.1506, allocations: 4 kB / 481.2 MB, free: 3.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1508, allocations: 338.8 kB / 481.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.151, allocations: 87.86 kB / 481.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1512, allocations: 106.5 kB / 481.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.1514, allocations: 105.4 kB / 481.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1514, allocations: 0 / 481.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004897/0.1519, allocations: 259.4 kB / 482.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1519, allocations: 12 kB / 482.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1519, allocations: 4 kB / 482.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.152, allocations: 3.938 kB / 482.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.1524, allocations: 91.86 kB / 482.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.1536, allocations: 2.387 MB / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.1538, allocations: 32.06 kB / 484.6 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.1538, allocations: 7.984 kB / 484.6 MB, free: 136 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (23): * Single equations (assignments): 19 * 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.0001703/0.154, allocations: 162.3 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.1541, allocations: 15.81 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007311/0.1548, allocations: 367.1 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.1548, allocations: 11.94 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1548, allocations: 0 / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1548, allocations: 0 / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.1552, allocations: 313.3 kB / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1552, allocations: 4 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.1556, allocations: 87.92 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1557, allocations: 0 / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.1557, allocations: 11.98 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.1568, allocations: 2.383 MB / 488 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1568, allocations: 0 / 488 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005806/0.1574, allocations: 376.1 kB / 488.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.1576, allocations: 136.8 kB / 488.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.1576, allocations: 4 kB / 488.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.1578, allocations: 23.92 kB / 488.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.1578, allocations: 15.97 kB / 488.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1579, allocations: 12 kB / 488.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.158, allocations: 164.2 kB / 488.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.158, allocations: 0 / 488.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005528/0.1586, allocations: 163.7 kB / 488.8 MB, free: 11.73 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 (25): * Single equations (assignments): 21 * 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.001193/0.1598, allocations: 1.028 MB / 489.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007161/0.1605, allocations: 275.7 kB / 490.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1605, allocations: 0 / 490.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.161, allocations: 167.8 kB / 490.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1613, allocations: 31.98 kB / 490.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.164, allocations: 1.937 MB / 492.3 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.1643, allocations: 0.7908 MB / 493.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.1646, allocations: 85.75 kB / 493.1 MB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.1647, allocations: 83.41 kB / 493.2 MB, free: 7.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1647, allocations: 0 / 493.2 MB, free: 7.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.1854, allocations: 7.999 MB / 0.4895 GB, free: 15.5 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/0.1857, allocations: 256.7 kB / 0.4897 GB, free: 15.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.109, allocations: 0 / 0.4897 GB, free: 15.17 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat