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.0008594/0.0008594, allocations: 94.8 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009347/0.0009348, allocations: 192.2 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2143/0.2143, allocations: 45.92 MB / 344.1 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002478/0.0002478, allocations: 11.94 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1261, allocations: 63.46 MB / 481.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002247/0.1284, allocations: 1.6 MB / 483.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1299, allocations: 1.049 MB / 484.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.1299, allocations: 0 / 484.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.1302, allocations: 51.73 kB / 484.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.1303, allocations: 75.58 kB / 484.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.1307, allocations: 111.5 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.131, allocations: 290.4 kB / 484.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.1311, allocations: 40.7 kB / 484.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.1313, allocations: 103.5 kB / 485 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.1314, allocations: 119.4 kB / 485.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1315, allocations: 12 kB / 485.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.1319, allocations: 291.5 kB / 485.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.132, allocations: 51.7 kB / 485.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.1321, allocations: 69.52 kB / 485.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.1324, allocations: 299.4 kB / 485.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1324, allocations: 3.938 kB / 485.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1324, allocations: 0 / 485.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1324, allocations: 0 / 485.8 MB, free: 1.125 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.0006253/0.1331, allocations: 0.5307 MB / 486.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1331, allocations: 8.031 kB / 486.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.913e-05/0.1332, allocations: 74.53 kB / 486.4 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.1333, allocations: 35.58 kB / 486.4 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1335, allocations: 242.5 kB / 486.7 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.1336, allocations: 25 kB / 486.7 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.1336, allocations: 31.94 kB / 486.7 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008159/0.1345, allocations: 0.4896 MB / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1345, allocations: 0 / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.1345, allocations: 16 kB / 487.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.893e-05/0.1346, allocations: 28.98 kB / 487.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.1353, allocations: 427.7 kB / 487.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.1369, allocations: 1.189 MB / 488.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1371, allocations: 86.52 kB / 489 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.1373, allocations: 40.83 kB / 489 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-05/0.1373, allocations: 8 kB / 489 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.1374, allocations: 38.55 kB / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/0.1374, allocations: 0 / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005272/0.1379, allocations: 173.6 kB / 489.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.138, allocations: 51.41 kB / 489.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1381, allocations: 165.8 kB / 489.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.1382, allocations: 29.7 kB / 489.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.1383, allocations: 219.2 kB / 489.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.1383, allocations: 23.66 kB / 489.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.1384, allocations: 4 kB / 489.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1385, allocations: 330.8 kB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1386, allocations: 55.95 kB / 490.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.1388, allocations: 179 kB / 490.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.139, allocations: 83.95 kB / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.139, allocations: 0 / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004033/0.1394, allocations: 269 kB / 490.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1394, allocations: 4 kB / 490.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1394, allocations: 8 kB / 490.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1395, allocations: 4.562 kB / 490.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.1398, allocations: 95.89 kB / 490.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009063/0.1407, allocations: 1.785 MB / 492.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.1408, allocations: 35.69 kB / 492.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.1409, allocations: 12 kB / 492.5 MB, free: 9.973 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.0002543/0.1411, allocations: 181.7 kB / 492.7 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.1412, allocations: 11.84 kB / 492.7 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005242/0.1417, allocations: 198.3 kB / 492.9 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1417, allocations: 0 / 492.9 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1417, allocations: 0 / 492.9 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1417, allocations: 4 kB / 492.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.1421, allocations: 301.4 kB / 493.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1421, allocations: 0 / 493.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.1423, allocations: 71.91 kB / 493.3 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1423, allocations: 0 / 493.3 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1424, allocations: 4 kB / 493.3 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007255/0.1431, allocations: 1.77 MB / 495.1 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1431, allocations: 0 / 495.1 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.1434, allocations: 235.5 kB / 495.3 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.1434, allocations: 88.92 kB / 495.4 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.1435, allocations: 0 / 495.4 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.1436, allocations: 7.984 kB / 495.4 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.1436, allocations: 12 kB / 495.4 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1436, allocations: 4 kB / 495.4 MB, free: 6.938 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.873e-05/0.1437, allocations: 111.2 kB / 495.5 MB, free: 6.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.1437, allocations: 4 kB / 495.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004348/0.1442, allocations: 107.5 kB / 495.6 MB, free: 6.719 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.0006631/0.1448, allocations: 0.7953 MB / 496.4 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004809/0.1453, allocations: 200.8 kB / 496.6 MB, free: 5.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1453, allocations: 0 / 496.6 MB, free: 5.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.1456, allocations: 108 kB / 496.7 MB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1459, allocations: 16.23 kB / 496.7 MB, free: 5.582 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.1475, allocations: 1.216 MB / 497.9 MB, free: 4.266 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1478, allocations: 0.7946 MB / 498.7 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000182/0.148, allocations: 65.19 kB / 498.8 MB, free: 3.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.397e-05/0.1481, allocations: 71.42 kB / 498.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1481, allocations: 0 / 498.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.1631, allocations: 4.849 MB / 0.4919 GB, free: 14.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.1633, allocations: 289.7 kB / 0.4922 GB, free: 14.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.048, allocations: 0 / 0.4922 GB, free: 14.36 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