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.001782/0.001782, allocations: 106 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.001987/0.001987, 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.482/1.482, 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.2231/0.2231, 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.002711/0.002711, allocations: 80.98 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1198, allocations: 62.46 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.003199/0.123, allocations: 1.807 MB / 482 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.1253, allocations: 1.387 MB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.1253, allocations: 4 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.1256, allocations: 51.73 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.1258, allocations: 47.64 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.1263, allocations: 251 kB / 483.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.1265, allocations: 99.47 kB / 483.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.1265, allocations: 13.06 kB / 483.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.1267, allocations: 59.7 kB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/0.1268, allocations: 47.72 kB / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1268, allocations: 4 kB / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008576/0.1277, allocations: 0.5029 MB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.1277, allocations: 15.92 kB / 484.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.1278, allocations: 43.67 kB / 484.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.1283, allocations: 363.3 kB / 484.9 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1283, allocations: 0 / 484.9 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1283, allocations: 4 kB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1283, 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.0005975/0.1289, allocations: 445.2 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.129, allocations: 15.97 kB / 485.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.129, allocations: 42.75 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.1291, allocations: 12.75 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.1293, allocations: 176.2 kB / 485.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1293, allocations: 8.375 kB / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.1293, allocations: 19.88 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.1296, allocations: 145.6 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1296, allocations: 0 / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1297, allocations: 8 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1297, allocations: 7.938 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.13, allocations: 131.9 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008968/0.1309, allocations: 0.5143 MB / 486.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.1312, allocations: 102.6 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.1313, allocations: 52.83 kB / 486.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1314, allocations: 4 kB / 486.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1314, allocations: 30.56 kB / 486.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.1314, allocations: 0 / 486.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005128/0.1319, allocations: 169.5 kB / 486.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.132, allocations: 59.33 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.327e-05/0.1321, allocations: 109.8 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1321, allocations: 30.08 kB / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.1322, allocations: 111.8 kB / 487.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.1322, allocations: 43.38 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.1323, allocations: 37.61 kB / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1324, allocations: 322.7 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.1326, allocations: 39.97 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.1327, allocations: 81.11 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.1331, allocations: 133.5 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1331, allocations: 3.938 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003644/0.1334, allocations: 169.4 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1335, allocations: 4 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1335, allocations: 0 / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1335, allocations: 4 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.1337, allocations: 39.97 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004254/0.1342, allocations: 0.5937 MB / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.1343, allocations: 24.02 kB / 488.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.1343, allocations: 8 kB / 488.6 MB, free: 12.46 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.00011/0.1344, allocations: 113.8 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.1345, allocations: 4 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.1349, allocations: 177.8 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1349, allocations: 0 / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.1349, allocations: 3.938 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.135, allocations: 4 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.1352, allocations: 209.6 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1353, allocations: 0 / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.1355, allocations: 39.97 kB / 489.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.1355, allocations: 4 kB / 489.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1355, allocations: 4 kB / 489.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003683/0.1359, allocations: 0.5859 MB / 489.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1359, allocations: 0 / 489.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.1364, allocations: 306.3 kB / 490 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.228e-05/0.1365, allocations: 92.97 kB / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1365, allocations: 0 / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1366, allocations: 11.98 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.1367, allocations: 11.98 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1367, allocations: 4 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.031e-05/0.1368, allocations: 95.2 kB / 490.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1368, allocations: 3.938 kB / 490.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003889/0.1372, allocations: 79.83 kB / 490.3 MB, free: 10.61 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.00113/0.1383, allocations: 0.8998 MB / 491.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004524/0.1388, allocations: 131.8 kB / 491.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1388, allocations: 0.5938 kB / 491.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.139, allocations: 79.89 kB / 491.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.1394, allocations: 17.41 kB / 491.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.1417, allocations: 1.713 MB / 493.1 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1421, allocations: 0.708 MB / 493.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.204e-05/0.1422, allocations: 12.55 kB / 493.8 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.1423, allocations: 43.42 kB / 493.9 MB, free: 6.859 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1423, allocations: 0 / 493.9 MB, free: 6.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.1725, allocations: 3.844 MB / 497.7 MB, free: 3.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/11.97, allocations: 14.75 kB / 497.7 MB, free: 3.219 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 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)