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.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.00142/0.001419, allocations: 118.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 202 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 247 MB, free: 10.45 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.2689/0.2689, allocations: 46.12 MB / 344.3 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.002207/0.002207, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.332, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003665/0.3357, allocations: 1.83 MB / 0.5324 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004351/0.3401, allocations: 2.956 MB / 0.5353 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.443e-05/0.3402, allocations: 1.125 kB / 0.5353 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.3405, allocations: 35.27 kB / 0.5353 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.3408, allocations: 80.25 kB / 0.5354 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.3425, allocations: 0.735 MB / 0.5361 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.3428, allocations: 248 kB / 0.5364 GB, free: 8.973 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.938e-05/0.3429, allocations: 26.3 kB / 0.5364 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.3431, allocations: 109.9 kB / 0.5365 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.3433, allocations: 119.7 kB / 0.5366 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.3434, allocations: 7.844 kB / 0.5366 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.3453, allocations: 1.231 MB / 0.5378 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.3454, allocations: 68.72 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.3455, allocations: 109.1 kB / 0.538 GB, free: 7.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.347, allocations: 0.9349 MB / 0.5389 GB, free: 7.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.347, allocations: 4 kB / 0.5389 GB, free: 7.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.347, allocations: 3.938 kB / 0.5389 GB, free: 7.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.347, allocations: 4.906 kB / 0.5389 GB, free: 7.344 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001056/0.3481, allocations: 0.6914 MB / 0.5396 GB, free: 6.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3481, allocations: 9.031 kB / 0.5396 GB, free: 6.719 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.778e-05/0.3482, allocations: 68.72 kB / 0.5397 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.3483, allocations: 30.5 kB / 0.5397 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.3486, allocations: 249.4 kB / 0.5399 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.3486, allocations: 23.72 kB / 0.5399 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.3486, allocations: 25.44 kB / 0.54 GB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.3494, allocations: 470.1 kB / 0.5404 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3494, allocations: 0 / 0.5404 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.3494, allocations: 7.312 kB / 0.5404 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.416e-05/0.3495, allocations: 50.5 kB / 0.5405 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008602/0.3504, allocations: 0.5456 MB / 0.541 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.3523, allocations: 1.308 MB / 0.5423 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.3529, allocations: 278.7 kB / 0.5426 GB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.3531, allocations: 98.3 kB / 0.5426 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.816e-05/0.3532, allocations: 16.05 kB / 0.5427 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.3532, allocations: 35.81 kB / 0.5427 GB, free: 4.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/0.3532, allocations: 5.375 kB / 0.5427 GB, free: 4.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.000784/0.354, allocations: 333.6 kB / 0.543 GB, free: 4.387 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3541, allocations: 53.91 kB / 0.5431 GB, free: 4.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3542, allocations: 145.1 kB / 0.5432 GB, free: 4.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.3543, allocations: 30.86 kB / 0.5432 GB, free: 4.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.3544, allocations: 192.3 kB / 0.5434 GB, free: 3.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.3545, allocations: 90.44 kB / 0.5435 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.981e-05/0.3546, allocations: 70.81 kB / 0.5436 GB, free: 3.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3547, allocations: 326.7 kB / 0.5439 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.3549, allocations: 88.3 kB / 0.544 GB, free: 3.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.3552, allocations: 176.7 kB / 0.5441 GB, free: 3.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005047/0.3557, allocations: 292.7 kB / 0.5444 GB, free: 3.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.3558, allocations: 1.125 kB / 0.5444 GB, free: 3.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005993/0.3564, allocations: 322.7 kB / 0.5447 GB, free: 2.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3564, allocations: 11.94 kB / 0.5447 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3564, allocations: 4 kB / 0.5447 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3564, allocations: 4.344 kB / 0.5447 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.3569, allocations: 119.9 kB / 0.5449 GB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.3583, allocations: 2.36 MB / 0.5472 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.3585, allocations: 43.73 kB / 0.5472 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.3585, allocations: 12 kB / 0.5472 GB, free: 248 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002159/0.3587, allocations: 177.7 kB / 0.5474 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.3588, allocations: 24.03 kB / 0.5474 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008032/0.3596, allocations: 354.3 kB / 0.5478 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3596, allocations: 4 kB / 0.5478 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3596, allocations: 3.938 kB / 0.5478 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3596, allocations: 7.922 kB / 0.5478 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.36, allocations: 349.3 kB / 0.5481 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3601, allocations: 0 / 0.5481 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.3605, allocations: 107.9 kB / 0.5482 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3605, allocations: 0 / 0.5482 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.3605, allocations: 8 kB / 0.5482 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.3618, allocations: 2.368 MB / 0.5505 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3618, allocations: 4 kB / 0.5505 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.3624, allocations: 371.3 kB / 0.5509 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.3625, allocations: 92.95 kB / 0.551 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.3625, allocations: 12.08 kB / 0.551 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.3627, allocations: 12 kB / 0.551 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.3627, allocations: 19.95 kB / 0.551 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.3628, allocations: 12 kB / 0.551 GB, free: 12.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.277e-05/0.3628, allocations: 103.2 kB / 0.5511 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3628, allocations: 0 / 0.5511 GB, free: 12.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007874/0.3636, allocations: 254.7 kB / 0.5514 GB, free: 11.8 MB / 414.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001447/0.3651, allocations: 1.161 MB / 0.5525 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007583/0.3659, allocations: 299.6 kB / 0.5528 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3659, allocations: 0 / 0.5528 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004384/0.3663, allocations: 179.8 kB / 0.553 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.3667, allocations: 12.69 kB / 0.553 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.37, allocations: 2.585 MB / 0.5555 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.3704, allocations: 0.8024 MB / 0.5563 GB, free: 6.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002559/0.3707, allocations: 101.7 kB / 0.5564 GB, free: 6.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.3708, allocations: 91.39 kB / 0.5565 GB, free: 6.391 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3709, allocations: 3.938 kB / 0.5565 GB, free: 6.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03481/0.4057, allocations: 8.924 MB / 0.5652 GB, free: 13.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.31, allocations: 6.641 kB / 0.5652 GB, free: 13.69 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1)