Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.00113/0.001131, allocations: 94.81 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 204 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2321/0.2321, allocations: 45.92 MB / 344 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002744, allocations: 4 kB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1317, allocations: 63.47 MB / 481.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002065/0.1338, allocations: 1.553 MB / 483.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1353, allocations: 1.01 MB / 484.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.06e-05/0.1354, allocations: 4 kB / 484.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.1356, allocations: 63.64 kB / 484.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.1358, allocations: 67.81 kB / 484.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.1361, allocations: 111.7 kB / 484.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.1364, allocations: 187.5 kB / 484.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.585e-05/0.1364, allocations: 36.72 kB / 484.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.1366, allocations: 91.5 kB / 484.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1368, allocations: 95.55 kB / 484.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1368, allocations: 8 kB / 484.8 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004484/0.1372, allocations: 315.6 kB / 485.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.1373, allocations: 51.8 kB / 485.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.374e-05/0.1374, allocations: 61.58 kB / 485.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.1377, allocations: 275.7 kB / 485.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1377, allocations: 0 / 485.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1377, allocations: 0 / 485.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.1378, allocations: 0 / 485.4 MB, free: 1.305 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0006304/0.1384, allocations: 0.5345 MB / 486 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1384, allocations: 8.031 kB / 486 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.661e-05/0.1385, allocations: 78.52 kB / 486.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.1386, allocations: 39.58 kB / 486.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.1389, allocations: 238.5 kB / 486.3 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.1389, allocations: 29 kB / 486.4 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.139, allocations: 28 kB / 486.4 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007077/0.1397, allocations: 497.4 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1397, allocations: 3.938 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.1397, allocations: 8 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/0.1398, allocations: 36.97 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000616/0.1404, allocations: 427.7 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.1418, allocations: 1.216 MB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.142, allocations: 74.53 kB / 488.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.1421, allocations: 7.938 kB / 488.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.1421, allocations: 34.56 kB / 488.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.1421, allocations: 4 kB / 488.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005109/0.1426, allocations: 161.6 kB / 488.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.1427, allocations: 59.41 kB / 488.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.1429, allocations: 169.8 kB / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1429, allocations: 25.7 kB / 489.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.143, allocations: 219.2 kB / 489.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.1431, allocations: 35.58 kB / 489.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.1431, allocations: 8 kB / 489.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1432, allocations: 322.8 kB / 489.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1434, allocations: 59.95 kB / 489.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.1436, allocations: 176.2 kB / 489.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1438, allocations: 83.88 kB / 490 MB, free: 12.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1438, allocations: 4 kB / 490 MB, free: 12.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004515/0.1443, allocations: 253.3 kB / 490.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1443, allocations: 8 kB / 490.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1443, allocations: 4 kB / 490.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.1443, allocations: 7.984 kB / 490.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.1447, allocations: 91.83 kB / 490.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009035/0.1456, allocations: 1.786 MB / 492.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1457, allocations: 39.97 kB / 492.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.1458, allocations: 16 kB / 492.2 MB, free: 10.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0001961/0.146, allocations: 180.2 kB / 492.3 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.146, allocations: 7.906 kB / 492.4 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005291/0.1466, allocations: 210 kB / 492.6 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1466, allocations: 0 / 492.6 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1466, allocations: 4 kB / 492.6 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1466, allocations: 0 / 492.6 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.1469, allocations: 301.4 kB / 492.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1469, allocations: 0 / 492.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.1471, allocations: 59.95 kB / 492.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.1471, allocations: 0 / 492.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1471, allocations: 8 kB / 492.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009061/0.1481, allocations: 1.77 MB / 494.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1481, allocations: 0 / 494.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.1484, allocations: 232.1 kB / 494.9 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.1485, allocations: 88.92 kB / 495 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.1485, allocations: 4 kB / 495 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1486, allocations: 19.98 kB / 495 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.1486, allocations: 4 kB / 495 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.1487, allocations: 7.984 kB / 495 MB, free: 7.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.609e-05/0.1487, allocations: 111.2 kB / 495.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1487, allocations: 0 / 495.2 MB, free: 7.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004623/0.1492, allocations: 95.62 kB / 495.2 MB, free: 6.926 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 (7): * Single equations (assignments): 4 * 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.0007485/0.15, allocations: 0.8103 MB / 496.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005417/0.1505, allocations: 192.8 kB / 496.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1505, allocations: 0 / 496.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.1508, allocations: 95.8 kB / 496.3 MB, free: 5.809 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.151, allocations: 15.8 kB / 496.4 MB, free: 5.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.1539, allocations: 3.93 MB / 0.4886 GB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1542, allocations: 0.8102 MB / 0.4893 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.1544, allocations: 57.2 kB / 0.4894 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/0.1545, allocations: 79.41 kB / 0.4895 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1545, allocations: 0 / 0.4895 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.1704, allocations: 4.732 MB / 0.4941 GB, free: 12.28 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.1706, allocations: 283.9 kB / 0.4944 GB, free: 11.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/1.988, allocations: 0 / 0.4944 GB, free: 11.92 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat