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.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.001724/0.001724, allocations: 104.1 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.00217/0.00217, 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.474/1.474, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2334/0.2334, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002225/0.002225, allocations: 80.52 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1138, allocations: 62.44 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003348/0.1171, allocations: 1.822 MB / 482 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1194, allocations: 1.391 MB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/0.1195, allocations: 0 / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.1197, allocations: 39.77 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001728/0.1199, allocations: 51.61 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.1204, allocations: 255 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1206, allocations: 107.4 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.1207, allocations: 5.125 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.1209, allocations: 51.73 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.283e-05/0.121, allocations: 55.69 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.121, allocations: 4 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007717/0.1218, allocations: 0.5068 MB / 484.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.1218, allocations: 11.92 kB / 484.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.1219, allocations: 47.67 kB / 484.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.1224, allocations: 351.3 kB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1224, allocations: 0 / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1224, allocations: 0 / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.1224, allocations: 0 / 484.9 MB, free: 420 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006426/0.1231, allocations: 453.1 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1231, allocations: 8.031 kB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.1232, allocations: 46.73 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.1232, allocations: 16.75 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.1234, allocations: 176.2 kB / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1234, allocations: 8.375 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.1235, allocations: 19.88 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.1238, allocations: 145.6 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1238, allocations: 0 / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.1238, allocations: 4 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.1238, allocations: 11.92 kB / 485.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.1242, allocations: 131.9 kB / 485.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008945/0.1251, allocations: 0.5182 MB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.1253, allocations: 102.6 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.1255, allocations: 52.83 kB / 486.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.1255, allocations: 4 kB / 486.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1256, allocations: 34.56 kB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.1256, allocations: 0 / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004872/0.1261, allocations: 157.5 kB / 486.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.1261, allocations: 63.34 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.1262, allocations: 117.8 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1262, allocations: 25.7 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.1263, allocations: 107.8 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.1264, allocations: 51.38 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.1264, allocations: 33.61 kB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1266, allocations: 326.8 kB / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.1267, allocations: 35.97 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.1269, allocations: 84.22 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.1272, allocations: 125.4 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1272, allocations: 0 / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003484/0.1276, allocations: 165.3 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1276, allocations: 8.156 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1276, allocations: 8 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1276, allocations: 4 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.1278, allocations: 43.97 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000375/0.1282, allocations: 0.5937 MB / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1283, allocations: 15.84 kB / 488.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.1283, allocations: 8.094 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.1285, allocations: 121.8 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.1285, allocations: 4 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/0.1289, allocations: 177.6 kB / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.129, allocations: 0 / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.129, allocations: 3.938 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.129, allocations: 3.984 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.1293, allocations: 201.6 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1293, allocations: 3.984 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.1295, allocations: 43.97 kB / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1295, allocations: 0 / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.1295, allocations: 11.98 kB / 489.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003532/0.1299, allocations: 0.5898 MB / 489.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1299, allocations: 0 / 489.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000534/0.1304, allocations: 291.3 kB / 490 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/0.1305, allocations: 109.1 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.1306, allocations: 0 / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1307, allocations: 7.984 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.1307, allocations: 11.98 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1308, allocations: 4 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.212e-05/0.1308, allocations: 91.22 kB / 490.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1308, allocations: 3.938 kB / 490.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004073/0.1313, allocations: 79.83 kB / 490.3 MB, free: 10.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/0.1324, allocations: 0.9039 MB / 491.2 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004294/0.1328, allocations: 127.8 kB / 491.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1328, allocations: 0 / 491.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.133, allocations: 76.2 kB / 491.4 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1334, allocations: 12 kB / 491.4 MB, free: 9.457 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.1356, allocations: 1.719 MB / 493.1 MB, free: 7.633 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.136, allocations: 0.7041 MB / 493.8 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.362e-05/0.1361, allocations: 16.55 kB / 493.8 MB, free: 6.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.238e-05/0.1361, allocations: 35.42 kB / 493.9 MB, free: 6.852 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1362, allocations: 4 kB / 493.9 MB, free: 6.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.167, allocations: 3.842 MB / 497.7 MB, free: 3.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/11.89, allocations: 11.41 kB / 497.7 MB, free: 3.215 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1)