Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001155/0.001156, allocations: 96.42 kB / 17 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001323, allocations: 194 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1962/0.1962, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004414/0.0004415, allocations: 8 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.144, allocations: 63.47 MB / 481.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.001737/0.1458, allocations: 1.353 MB / 483 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1472, allocations: 0.8304 MB / 483.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.694e-05/0.1472, allocations: 4 kB / 483.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.1474, allocations: 19.84 kB / 483.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.1476, allocations: 59.73 kB / 483.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.148, allocations: 103.7 kB / 484 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.1482, allocations: 159.3 kB / 484.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.1482, allocations: 17.44 kB / 484.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.054e-05/0.1483, allocations: 47.78 kB / 484.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1484, allocations: 71.69 kB / 484.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1485, allocations: 4 kB / 484.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.1488, allocations: 195.7 kB / 484.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.1489, allocations: 39.81 kB / 484.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.1489, allocations: 49.64 kB / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.1491, allocations: 163.8 kB / 484.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1492, allocations: 0 / 484.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1492, allocations: 0 / 484.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1492, allocations: 4 kB / 484.8 MB, free: 2.086 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005223/0.1497, allocations: 453.6 kB / 485.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1497, allocations: 12.03 kB / 485.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.1498, allocations: 50.55 kB / 485.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.1508, allocations: 119.6 kB / 485.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.151, allocations: 230.7 kB / 485.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1511, allocations: 15.98 kB / 485.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.1511, allocations: 12 kB / 485.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006167/0.1517, allocations: 317.9 kB / 486 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1518, allocations: 0 / 486 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.1518, allocations: 8 kB / 486 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/0.1518, allocations: 19.98 kB / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007314/0.1526, allocations: 335.6 kB / 486.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.1539, allocations: 0.8259 MB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.1546, allocations: 226.3 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.1549, allocations: 88.81 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.1549, allocations: 11.98 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1549, allocations: 30.56 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1549, allocations: 0 / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009642/0.1559, allocations: 309.5 kB / 487.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.156, allocations: 59.34 kB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1561, allocations: 184.8 kB / 488 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1562, allocations: 29.64 kB / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.1563, allocations: 147.5 kB / 488.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.1563, allocations: 31.5 kB / 488.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.1563, allocations: 8 kB / 488.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.1564, allocations: 326.8 kB / 488.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.1567, allocations: 87.91 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.157, allocations: 138.8 kB / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.1573, allocations: 111.7 kB / 488.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1573, allocations: 0 / 488.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006763/0.158, allocations: 281.2 kB / 489.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.158, allocations: 10.19 kB / 489.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.158, allocations: 3.984 kB / 489.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.158, allocations: 4 kB / 489.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.1585, allocations: 79.92 kB / 489.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008239/0.1593, allocations: 1.785 MB / 491 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.1595, allocations: 23.86 kB / 491.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.1596, allocations: 19.97 kB / 491.1 MB, free: 11.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001244/0.1597, allocations: 146 kB / 491.2 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.1598, allocations: 15.81 kB / 491.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007517/0.1605, allocations: 270.7 kB / 491.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1605, allocations: 4 kB / 491.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1605, allocations: 0 / 491.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1605, allocations: 0 / 491.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.1608, allocations: 265.4 kB / 491.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1608, allocations: 0 / 491.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.1612, allocations: 75.92 kB / 491.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.1612, allocations: 0 / 491.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.1612, allocations: 11.98 kB / 491.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008177/0.162, allocations: 1.782 MB / 493.6 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1621, allocations: 0 / 493.6 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006795/0.1627, allocations: 327.2 kB / 494 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.1628, allocations: 88.97 kB / 494 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.1629, allocations: 4 kB / 494.1 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.1631, allocations: 7.984 kB / 494.1 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.1631, allocations: 19.97 kB / 494.1 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.1631, allocations: 11.98 kB / 494.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1633, allocations: 144.8 kB / 494.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1633, allocations: 0 / 494.2 MB, free: 8.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003659/0.1636, allocations: 63.84 kB / 494.3 MB, free: 8.035 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/0.1647, allocations: 0.8842 MB / 495.2 MB, free: 7.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008054/0.1655, allocations: 255.7 kB / 495.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1655, allocations: 0 / 495.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004475/0.166, allocations: 136.1 kB / 495.6 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.1663, allocations: 12 kB / 495.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.1685, allocations: 1.209 MB / 496.8 MB, free: 5.453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1688, allocations: 0.7319 MB / 497.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000231/0.1691, allocations: 65.03 kB / 497.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.1692, allocations: 59.75 kB / 497.6 MB, free: 4.574 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1692, allocations: 4 kB / 497.6 MB, free: 4.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.1867, allocations: 4.365 MB / 0.4902 GB, free: 480 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/0.1871, allocations: 271.4 kB / 0.4905 GB, free: 116 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.161, allocations: 0 / 0.4905 GB, free: 116 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat