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_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 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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_4_1_0-beta_om_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.001503/0.001503, allocations: 104.6 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.00149/0.00149, 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.418/1.418, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2321/0.2321, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.003327/0.003328, allocations: 81.77 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1308, allocations: 62.45 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003037/0.1339, allocations: 1.662 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1355, allocations: 0.9113 MB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.1355, allocations: 0 / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.1357, allocations: 31.84 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.1359, allocations: 47.75 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.1363, allocations: 135.5 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.1366, allocations: 139.4 kB / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.877e-05/0.1366, allocations: 17.45 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.68e-05/0.1367, allocations: 55.72 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1369, allocations: 71.67 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1369, allocations: 4 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.1373, allocations: 211.6 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.1374, allocations: 35.83 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.19e-05/0.1375, allocations: 59.62 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.1378, allocations: 243.5 kB / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1379, allocations: 0 / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1379, allocations: 0 / 483.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1379, allocations: 0 / 483.8 MB, free: 1.477 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.0006727/0.1386, allocations: 480.9 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1386, allocations: 12.03 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.1387, allocations: 46.73 kB / 484.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.1398, allocations: 120.5 kB / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.1401, allocations: 232 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1402, allocations: 8.375 kB / 484.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.1402, allocations: 12.36 kB / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.1409, allocations: 318.6 kB / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1409, allocations: 0 / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.141, allocations: 7.984 kB / 485.1 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.141, allocations: 23.98 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008401/0.1418, allocations: 323.6 kB / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.1434, allocations: 0.822 MB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007601/0.1442, allocations: 222.3 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.1445, allocations: 84.81 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.1445, allocations: 4 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1445, allocations: 38.59 kB / 486.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1446, allocations: 0 / 486.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.00109/0.1456, allocations: 297.2 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.1457, allocations: 51.41 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.1459, allocations: 195.2 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.1459, allocations: 25.7 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1461, allocations: 135.6 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.1461, allocations: 47.33 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.314e-05/0.1462, allocations: 50.05 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1464, allocations: 322.8 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.1467, allocations: 87.89 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.147, allocations: 134.8 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.1477, allocations: 226.5 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1477, allocations: 0 / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007772/0.1485, allocations: 269.1 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1485, allocations: 8 kB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1485, allocations: 3.938 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1486, allocations: 7.984 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/0.149, allocations: 79.88 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.1502, allocations: 1.785 MB / 490.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.1504, allocations: 28.11 kB / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.1504, allocations: 15.98 kB / 490.3 MB, free: 10.64 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 (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.0002153/0.1507, allocations: 145.7 kB / 490.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.1507, allocations: 19.75 kB / 490.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008372/0.1516, allocations: 258.8 kB / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1516, allocations: 4 kB / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1516, allocations: 0 / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1516, allocations: 96 / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.1519, allocations: 261.4 kB / 491 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1519, allocations: 0 / 491 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/0.1523, allocations: 67.88 kB / 491 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.1523, allocations: 3.984 kB / 491 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.1524, allocations: 15.92 kB / 491 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.1535, allocations: 1.785 MB / 492.8 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1535, allocations: 3.984 kB / 492.8 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000752/0.1543, allocations: 315.1 kB / 493.1 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.1544, allocations: 89.02 kB / 493.2 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.1544, allocations: 0 / 493.2 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.1546, allocations: 12.08 kB / 493.2 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.1547, allocations: 19.97 kB / 493.3 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.1547, allocations: 11.92 kB / 493.3 MB, free: 7.484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1549, allocations: 135.9 kB / 493.4 MB, free: 7.352 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1549, allocations: 0 / 493.4 MB, free: 7.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.1553, allocations: 67.83 kB / 493.5 MB, free: 7.285 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 (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.001231/0.1565, allocations: 0.8683 MB / 494.3 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009409/0.1575, allocations: 251.9 kB / 494.6 MB, free: 6.145 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1575, allocations: 4 kB / 494.6 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004925/0.158, allocations: 127.8 kB / 494.7 MB, free: 6.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.1583, allocations: 12 kB / 494.7 MB, free: 6.004 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/0.1621, allocations: 2.34 MB / 497.1 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.1626, allocations: 0.7358 MB / 497.8 MB, free: 2.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002315/0.1628, allocations: 61.42 kB / 497.9 MB, free: 2.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.163, allocations: 59.39 kB / 497.9 MB, free: 2.668 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.163, allocations: 3.938 kB / 497.9 MB, free: 2.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.1928, allocations: 4.798 MB / 0.4909 GB, free: 14.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12, allocations: 19.03 kB / 0.491 GB, free: 14.07 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1)