Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.0009453/0.0009454, allocations: 94.2 kB / 17 MB, free: 6.07 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.001006/0.001006, allocations: 183.3 kB / 17.89 MB, free: 5.652 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.459/1.459, allocations: 223.3 MB / 241.9 MB, free: 14.49 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.217/0.217, allocations: 44.22 MB / 337.2 MB, free: 2.555 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 8.219 kB / 409.7 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 61.92 MB / 471.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.002225/0.1333, allocations: 1.835 MB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004368/0.1377, allocations: 2.99 MB / 476.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.1379, allocations: 0 / 476.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.1382, allocations: 87.48 kB / 476.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003803/0.1386, allocations: 119.4 kB / 476.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.1402, allocations: 0.7518 MB / 477.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006807/0.1409, allocations: 0.5943 MB / 478 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1411, allocations: 77.73 kB / 478.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.1413, allocations: 222.7 kB / 478.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.1417, allocations: 274.6 kB / 478.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.1417, allocations: 16 kB / 478.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.1444, allocations: 1.84 MB / 480.5 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.1446, allocations: 135.2 kB / 480.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.1448, allocations: 125.3 kB / 480.7 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.1462, allocations: 1.002 MB / 481.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1462, allocations: 0 / 481.7 MB, free: 3.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1463, allocations: 3.938 kB / 481.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.555e-06/0.1463, allocations: 4 kB / 481.7 MB, free: 3.484 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001503/0.1478, allocations: 0.9169 MB / 482.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1478, allocations: 8.031 kB / 482.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.148, allocations: 143.9 kB / 482.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1481, allocations: 75.06 kB / 482.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004548/0.1486, allocations: 350 kB / 483.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/0.1486, allocations: 61.94 kB / 483.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.1487, allocations: 68 kB / 483.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.1505, allocations: 1.229 MB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.1505, allocations: 0 / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-05/0.1506, allocations: 31.94 kB / 484.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.1507, allocations: 85.94 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.1531, allocations: 1.722 MB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00405/0.1572, allocations: 2.927 MB / 489.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008064/0.158, allocations: 431.7 kB / 489.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.1583, allocations: 153.3 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-05/0.1583, allocations: 12.25 kB / 489.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.1584, allocations: 42.83 kB / 489.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.214e-06/0.1584, allocations: 4 kB / 490 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009006/0.1593, allocations: 491.3 kB / 490.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1593, allocations: 63.34 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1595, allocations: 210.9 kB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.1596, allocations: 29.7 kB / 490.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.1598, allocations: 386.2 kB / 491.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.225e-05/0.1598, allocations: 114.3 kB / 491.2 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.1599, allocations: 8 kB / 491.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.16, allocations: 338.8 kB / 491.6 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.1603, allocations: 160.9 kB / 491.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.1606, allocations: 346.4 kB / 492.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.161, allocations: 216.9 kB / 492.3 MB, free: 8.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.161, allocations: 0 / 492.3 MB, free: 8.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000868/0.1619, allocations: 0.5442 MB / 492.8 MB, free: 7.965 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.1619, allocations: 8 kB / 492.8 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.1619, allocations: 8.094 kB / 492.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.1619, allocations: 15.94 kB / 492.8 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/0.1626, allocations: 207.8 kB / 493 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.1643, allocations: 3.001 MB / 496 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.1646, allocations: 55.52 kB / 496.1 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/0.1646, allocations: 35.98 kB / 496.1 MB, free: 4.523 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004287/0.1651, allocations: 277.4 kB / 496.4 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.1651, allocations: 31.77 kB / 496.4 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.1664, allocations: 0.5426 MB / 497 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.1664, allocations: 4 kB / 497 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1664, allocations: 4 kB / 497 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1664, allocations: 3.984 kB / 497 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.1682, allocations: 1.164 MB / 498.2 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.1682, allocations: 7.938 kB / 498.2 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005612/0.1687, allocations: 176 kB / 498.3 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.1688, allocations: 11.94 kB / 498.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.1688, allocations: 20 kB / 498.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.1703, allocations: 2.961 MB / 0.4896 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1703, allocations: 0 / 0.4896 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006987/0.171, allocations: 0.5152 MB / 0.4901 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.1711, allocations: 100.8 kB / 0.4902 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.1711, allocations: 8 kB / 0.4902 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.1713, allocations: 15.98 kB / 0.4902 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/0.1714, allocations: 39.97 kB / 0.4902 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.1715, allocations: 23.98 kB / 0.4903 GB, free: 14.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.1716, allocations: 131.2 kB / 0.4904 GB, free: 14.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1716, allocations: 0 / 0.4904 GB, free: 14.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001142/0.1727, allocations: 350.8 kB / 0.4907 GB, free: 13.89 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001623/0.1744, allocations: 1.296 MB / 0.492 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.1755, allocations: 489 kB / 0.4924 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1755, allocations: 0 / 0.4924 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005478/0.176, allocations: 264.2 kB / 0.4927 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.1764, allocations: 40.05 kB / 0.4927 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.18, allocations: 2.684 MB / 0.4954 GB, free: 8.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.1806, allocations: 0.9906 MB / 0.4963 GB, free: 7.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005086/0.1811, allocations: 162.6 kB / 0.4965 GB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.1814, allocations: 207.4 kB / 0.4967 GB, free: 7.551 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1814, allocations: 0 / 0.4967 GB, free: 7.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2529/0.4344, allocations: 12.04 MB / 0.5084 GB, free: 48.69 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/0.4346, allocations: 274.2 kB / 0.5087 GB, free: 48.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/2.597, allocations: 4.344 kB / 0.5087 GB, free: 48.34 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat