Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_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_4_1_0-beta_om_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.001249/0.001249, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2315/0.2315, allocations: 46.1 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 89.03 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.118, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003875/0.1219, allocations: 1.927 MB / 482.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.1239, allocations: 1.133 MB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.124, allocations: 0 / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.1244, allocations: 71.59 kB / 483.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.1246, allocations: 67.53 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.1251, allocations: 151.6 kB / 483.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.1254, allocations: 266.4 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.231e-05/0.1255, allocations: 40.67 kB / 483.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.1258, allocations: 107.4 kB / 484 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.126, allocations: 115.3 kB / 484.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.126, allocations: 8 kB / 484.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005532/0.1265, allocations: 323.5 kB / 484.4 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.1266, allocations: 59.64 kB / 484.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1268, allocations: 111.2 kB / 484.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005703/0.1273, allocations: 434.5 kB / 485 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1274, allocations: 4 kB / 485 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1274, allocations: 0 / 485 MB, free: 344 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.1274, allocations: 0 / 485 MB, free: 344 kB / 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.0008007/0.1282, allocations: 0.5621 MB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1282, allocations: 12.03 kB / 485.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.724e-05/0.1283, allocations: 82.66 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.1284, allocations: 32.56 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1287, allocations: 239.9 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.1287, allocations: 24.94 kB / 486 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.1288, allocations: 28 kB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007268/0.1295, allocations: 497.4 kB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1295, allocations: 0 / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.1296, allocations: 20 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.1296, allocations: 28.92 kB / 486.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006578/0.1303, allocations: 423.7 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.1318, allocations: 1.189 MB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.1321, allocations: 74.53 kB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.1322, allocations: 40.83 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.1322, allocations: 7.984 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1323, allocations: 34.5 kB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1323, allocations: 4 kB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000486/0.1328, allocations: 153.7 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.1328, allocations: 59.28 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.133, allocations: 162.4 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.133, allocations: 25.7 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.1332, allocations: 223.2 kB / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1332, allocations: 27.64 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/0.1333, allocations: 61.61 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1335, allocations: 318.8 kB / 489.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.1336, allocations: 47.95 kB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.1339, allocations: 178.3 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.1344, allocations: 251.9 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1344, allocations: 0 / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004955/0.1349, allocations: 257.7 kB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.1349, allocations: 7.984 kB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1349, allocations: 11.94 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.135, allocations: 4 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.1353, allocations: 83.91 kB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.1366, allocations: 1.786 MB / 491.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.1368, allocations: 35.73 kB / 491.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.1368, allocations: 12 kB / 491.9 MB, free: 8.926 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002972/0.1371, allocations: 181.8 kB / 492.1 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.1372, allocations: 7.906 kB / 492.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005486/0.1377, allocations: 194 kB / 492.3 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.1378, allocations: 3.984 kB / 492.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1378, allocations: 0 / 492.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1378, allocations: 0 / 492.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.1381, allocations: 301.5 kB / 492.6 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1382, allocations: 0 / 492.6 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.1384, allocations: 59.98 kB / 492.7 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1384, allocations: 3.984 kB / 492.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1384, allocations: 7.938 kB / 492.7 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.1395, allocations: 1.77 MB / 494.5 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1395, allocations: 0 / 494.5 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.1399, allocations: 219.4 kB / 494.7 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.14, allocations: 84.95 kB / 494.8 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.14, allocations: 4.094 kB / 494.8 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.354e-05/0.1401, allocations: 15.98 kB / 494.8 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.1402, allocations: 4 kB / 494.8 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1402, allocations: 7.984 kB / 494.8 MB, free: 5.914 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.968e-05/0.1403, allocations: 118.3 kB / 494.9 MB, free: 5.801 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1403, allocations: 0 / 494.9 MB, free: 5.801 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004531/0.1407, allocations: 99.53 kB / 495 MB, free: 5.703 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000849/0.1416, allocations: 0.7981 MB / 495.8 MB, free: 4.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005926/0.1422, allocations: 184.8 kB / 496 MB, free: 4.699 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1422, allocations: 0 / 496 MB, free: 4.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003033/0.1425, allocations: 91.94 kB / 496.1 MB, free: 4.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.1428, allocations: 20.23 kB / 496.1 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.1456, allocations: 2.206 MB / 498.3 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004797/0.1461, allocations: 0.8098 MB / 499.1 MB, free: 1.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000192/0.1463, allocations: 57.25 kB / 499.2 MB, free: 1.305 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1464, allocations: 79.41 kB / 499.2 MB, free: 1.227 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1464, allocations: 0 / 499.2 MB, free: 1.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.1756, allocations: 5.175 MB / 0.4926 GB, free: 12.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.76, allocations: 27.56 kB / 0.4926 GB, free: 12.21 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1)