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_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.001592/0.001592, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 203.9 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 247 MB, free: 10.44 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.2182/0.2182, allocations: 46.13 MB / 344.4 MB, free: 11.46 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.002422/0.002422, allocations: 79.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3156, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.00295/0.3186, allocations: 1.789 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.3201, allocations: 1.002 MB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.3202, allocations: 1.781 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.3204, allocations: 55.17 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.3207, allocations: 59.94 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.321, allocations: 131.2 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.3213, allocations: 223.1 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.589e-05/0.3213, allocations: 24.8 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.3214, allocations: 83.45 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.3216, allocations: 106 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.3216, allocations: 6.875 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.322, allocations: 202.3 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-05/0.3221, allocations: 62.94 kB / 0.5343 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.949e-05/0.3222, allocations: 90.98 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.3226, allocations: 302.4 kB / 0.5346 GB, free: 10.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3226, allocations: 0 / 0.5346 GB, free: 10.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3227, allocations: 9.375 kB / 0.5347 GB, free: 10.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3227, allocations: 0 / 0.5347 GB, free: 10.36 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007995/0.3235, allocations: 0.5365 MB / 0.5352 GB, free: 9.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3235, allocations: 12.59 kB / 0.5352 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.93e-05/0.3236, allocations: 64.94 kB / 0.5352 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008052/0.3244, allocations: 128 kB / 0.5354 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.3247, allocations: 258.8 kB / 0.5356 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3247, allocations: 12.84 kB / 0.5356 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.3248, allocations: 28.67 kB / 0.5357 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006602/0.3255, allocations: 435.9 kB / 0.5361 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3255, allocations: 0 / 0.5361 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.3255, allocations: 6.094 kB / 0.5361 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.816e-05/0.3256, allocations: 32.77 kB / 0.5361 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000672/0.3263, allocations: 392.2 kB / 0.5365 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.3283, allocations: 1.48 MB / 0.5379 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.3286, allocations: 92.95 kB / 0.538 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.3287, allocations: 52.75 kB / 0.5381 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.3288, allocations: 3.938 kB / 0.5381 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.3288, allocations: 35.81 kB / 0.5381 GB, free: 7.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.3288, allocations: 0 / 0.5381 GB, free: 7.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005848/0.3294, allocations: 192 kB / 0.5383 GB, free: 7.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3294, allocations: 53.12 kB / 0.5383 GB, free: 7.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.3298, allocations: 332.4 kB / 0.5387 GB, free: 7.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3298, allocations: 26.64 kB / 0.5387 GB, free: 7.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.33, allocations: 183.8 kB / 0.5389 GB, free: 6.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.33, allocations: 22.77 kB / 0.5389 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.3301, allocations: 45.66 kB / 0.5389 GB, free: 6.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3303, allocations: 337.8 kB / 0.5392 GB, free: 6.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.3305, allocations: 67.81 kB / 0.5393 GB, free: 6.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.3307, allocations: 123.1 kB / 0.5394 GB, free: 6.422 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.3311, allocations: 182.7 kB / 0.5396 GB, free: 6.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3311, allocations: 1.125 kB / 0.5396 GB, free: 6.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005201/0.3316, allocations: 253.4 kB / 0.5398 GB, free: 6.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3317, allocations: 5.5 kB / 0.5398 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3317, allocations: 2.156 kB / 0.5399 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3317, allocations: 1.938 kB / 0.5399 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.3332, allocations: 113.2 kB / 0.54 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.3352, allocations: 1.849 MB / 0.5418 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.3355, allocations: 33.95 kB / 0.5418 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.3355, allocations: 5.812 kB / 0.5418 GB, free: 4.273 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0001724/0.3357, allocations: 163.1 kB / 0.542 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.3358, allocations: 22.02 kB / 0.542 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005172/0.3363, allocations: 204.5 kB / 0.5422 GB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.3363, allocations: 9.031 kB / 0.5422 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3363, allocations: 1.125 kB / 0.5422 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3363, allocations: 3.984 kB / 0.5422 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.3367, allocations: 272.1 kB / 0.5424 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3367, allocations: 0 / 0.5424 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.3379, allocations: 108.8 kB / 0.5426 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3379, allocations: 0 / 0.5426 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3379, allocations: 1.438 kB / 0.5426 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.3392, allocations: 1.787 MB / 0.5443 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3392, allocations: 7.875 kB / 0.5443 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.3397, allocations: 256 kB / 0.5446 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.498e-05/0.3398, allocations: 99.73 kB / 0.5446 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.3398, allocations: 5.25 kB / 0.5447 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.34, allocations: 8.438 kB / 0.5447 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.3401, allocations: 11.27 kB / 0.5447 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.3401, allocations: 7.219 kB / 0.5447 GB, free: 1.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002772/0.3404, allocations: 244.4 kB / 0.5449 GB, free: 1.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3404, allocations: 0 / 0.5449 GB, free: 1.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.3408, allocations: 68.77 kB / 0.545 GB, free: 1.379 MB / 398.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.00094/0.3417, allocations: 0.8012 MB / 0.5458 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00227/0.344, allocations: 258 kB / 0.546 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.344, allocations: 0.9688 kB / 0.546 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009672/0.345, allocations: 112.6 kB / 0.5461 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.3455, allocations: 47.89 kB / 0.5462 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.3495, allocations: 2.916 MB / 0.549 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.3499, allocations: 0.7753 MB / 0.5498 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.3501, allocations: 58.19 kB / 0.5498 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3502, allocations: 71.41 kB / 0.5499 GB, free: 13.23 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3503, allocations: 4 kB / 0.5499 GB, free: 13.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03586/0.3861, allocations: 7.789 MB / 0.5575 GB, free: 5.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.3, allocations: 17.38 kB / 0.5575 GB, free: 5.684 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1)