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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.00132/0.00132, allocations: 104.5 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.001426/0.001426, 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.473/1.473, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2326/0.2326, 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.002286/0.002286, allocations: 82.59 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1132, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003017/0.1163, allocations: 1.683 MB / 481.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1177, allocations: 0.8374 MB / 482.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.1177, allocations: 0 / 482.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.1179, allocations: 47.75 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.1181, allocations: 55.73 kB / 482.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1184, allocations: 91.62 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1186, allocations: 159.2 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.1186, allocations: 13.12 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1188, allocations: 79.64 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.119, allocations: 71.67 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.119, allocations: 4 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003128/0.1193, allocations: 159.8 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.057e-05/0.1194, allocations: 35.83 kB / 483.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.778e-05/0.1195, allocations: 63.61 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.1198, allocations: 203.6 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1198, allocations: 0 / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1198, allocations: 4 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1198, allocations: 0 / 483.7 MB, free: 1.602 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000618/0.1204, allocations: 465.2 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1205, allocations: 12.03 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/0.1205, allocations: 46.73 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/0.121, allocations: 60.69 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1212, allocations: 212.1 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1213, allocations: 8.375 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.1213, allocations: 19.92 kB / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.1217, allocations: 237.5 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.1218, allocations: 0 / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.1218, allocations: 11.98 kB / 484.8 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.1218, allocations: 15.98 kB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.1223, allocations: 223.6 kB / 485 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.1235, allocations: 0.7325 MB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.1237, allocations: 90.44 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.1239, allocations: 52.81 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1239, allocations: 0 / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.1239, allocations: 34.5 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1239, allocations: 3.938 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005357/0.1245, allocations: 177.6 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1245, allocations: 55.34 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1247, allocations: 195.3 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1248, allocations: 25.7 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.1249, allocations: 131.6 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.1249, allocations: 27.64 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.125, allocations: 33.7 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1251, allocations: 322.8 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.1253, allocations: 51.89 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.1254, allocations: 101.7 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.1258, allocations: 162.6 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1258, allocations: 0 / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004172/0.1262, allocations: 197.1 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1262, allocations: 4 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1263, allocations: 4 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1263, allocations: 0 / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009093/0.1272, allocations: 87.89 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.1287, allocations: 1.817 MB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.1288, allocations: 27.77 kB / 489.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.1289, allocations: 4 kB / 489.3 MB, free: 11.62 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 (14): * Single equations (assignments): 11 * 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.0001371/0.129, allocations: 141.8 kB / 489.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.129, allocations: 11.91 kB / 489.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.1295, allocations: 186.8 kB / 489.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1295, allocations: 0 / 489.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1296, allocations: 4 kB / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1296, allocations: 4 kB / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.1299, allocations: 233.5 kB / 489.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1299, allocations: 0 / 489.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007457/0.1306, allocations: 87.83 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1306, allocations: 0 / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1306, allocations: 4 kB / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.1319, allocations: 1.77 MB / 491.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1319, allocations: 0 / 491.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.1323, allocations: 259.5 kB / 492 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.256e-05/0.1324, allocations: 92.86 kB / 492.1 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.1324, allocations: 3.984 kB / 492.1 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.1326, allocations: 8 kB / 492.1 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.1326, allocations: 7.984 kB / 492.1 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1326, allocations: 4 kB / 492.1 MB, free: 8.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1328, allocations: 143.9 kB / 492.2 MB, free: 8.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1328, allocations: 0 / 492.2 MB, free: 8.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003395/0.1331, allocations: 47.91 kB / 492.3 MB, free: 8.473 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 (11): * Single equations (assignments): 8 * 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.0007968/0.1339, allocations: 0.7786 MB / 493.1 MB, free: 7.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.1352, allocations: 212.1 kB / 493.3 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1352, allocations: 0 / 493.3 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006668/0.1359, allocations: 99.83 kB / 493.4 MB, free: 7.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.1363, allocations: 48.38 kB / 493.4 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.139, allocations: 2.121 MB / 495.5 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.1394, allocations: 0.7397 MB / 496.3 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.1396, allocations: 33.41 kB / 496.3 MB, free: 4.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.1397, allocations: 35.42 kB / 496.3 MB, free: 4.25 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1397, allocations: 8 kB / 496.4 MB, free: 4.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.1688, allocations: 4.997 MB / 0.4896 GB, free: 15.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.74, allocations: 16.58 kB / 0.4896 GB, free: 15.44 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1)