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.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.001385/0.001385, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, 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.2181/0.2181, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.003744/0.003744, allocations: 79.86 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3575, allocations: 62.45 MB / 0.5306 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003407/0.3609, allocations: 2.212 MB / 0.5328 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00485/0.3658, allocations: 3.33 MB / 0.536 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.366, allocations: 1.156 kB / 0.536 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004204/0.3664, allocations: 97.39 kB / 0.5361 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.3668, allocations: 143.6 kB / 0.5363 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.3688, allocations: 0.8838 MB / 0.5371 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006458/0.3694, allocations: 0.5717 MB / 0.5377 GB, free: 8.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3695, allocations: 84.8 kB / 0.5378 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003785/0.3699, allocations: 238.5 kB / 0.538 GB, free: 8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.3703, allocations: 274.3 kB / 0.5383 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.3704, allocations: 18.19 kB / 0.5383 GB, free: 7.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.3739, allocations: 1.983 MB / 0.5402 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.3742, allocations: 151.2 kB / 0.5404 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004668/0.3746, allocations: 276.8 kB / 0.5406 GB, free: 6.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.3776, allocations: 1.7 MB / 0.5423 GB, free: 5.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3776, allocations: 0 / 0.5423 GB, free: 5.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3776, allocations: 1.125 kB / 0.5423 GB, free: 5.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.3776, allocations: 0 / 0.5423 GB, free: 5.133 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00202/0.3797, allocations: 1.06 MB / 0.5433 GB, free: 4.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3797, allocations: 14.19 kB / 0.5433 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001904/0.3799, allocations: 151.5 kB / 0.5435 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.3801, allocations: 78.03 kB / 0.5436 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.3806, allocations: 351 kB / 0.5439 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/0.3807, allocations: 56 kB / 0.5439 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.3808, allocations: 81.41 kB / 0.544 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.3827, allocations: 1.221 MB / 0.5452 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.3827, allocations: 4 kB / 0.5452 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-05/0.3828, allocations: 31.98 kB / 0.5453 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.666e-05/0.3829, allocations: 85.95 kB / 0.5453 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/0.3855, allocations: 1.718 MB / 0.547 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004477/0.39, allocations: 2.924 MB / 0.5499 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008857/0.3909, allocations: 432.6 kB / 0.5503 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.3912, allocations: 145.3 kB / 0.5504 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.3913, allocations: 16.25 kB / 0.5504 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.3913, allocations: 34.84 kB / 0.5505 GB, free: 13.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.3913, allocations: 0 / 0.5505 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009993/0.3923, allocations: 487.4 kB / 0.5509 GB, free: 12.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.3924, allocations: 63.28 kB / 0.551 GB, free: 12.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.3926, allocations: 210.5 kB / 0.5512 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.3926, allocations: 29.7 kB / 0.5512 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.3929, allocations: 403.5 kB / 0.5516 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.393, allocations: 126.9 kB / 0.5517 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.3932, allocations: 122.1 kB / 0.5518 GB, free: 11.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3933, allocations: 334.8 kB / 0.5522 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.3936, allocations: 149 kB / 0.5523 GB, free: 11.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.3941, allocations: 346.3 kB / 0.5526 GB, free: 10.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008003/0.3949, allocations: 0.5249 MB / 0.5531 GB, free: 10.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.3949, allocations: 4 kB / 0.5532 GB, free: 10.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001029/0.396, allocations: 0.5359 MB / 0.5537 GB, free: 9.695 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.396, allocations: 8 kB / 0.5537 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.396, allocations: 11.94 kB / 0.5537 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.396, allocations: 11.94 kB / 0.5537 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.3968, allocations: 216.4 kB / 0.5539 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.3988, allocations: 2.996 MB / 0.5568 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.3991, allocations: 51.66 kB / 0.5569 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.3991, allocations: 32 kB / 0.5569 GB, free: 6.258 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004111/0.3995, allocations: 288.6 kB / 0.5572 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.3996, allocations: 23.84 kB / 0.5572 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.4008, allocations: 0.5542 MB / 0.5578 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4008, allocations: 4 kB / 0.5578 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4008, allocations: 0 / 0.5578 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4008, allocations: 0 / 0.5578 GB, free: 5.391 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.4026, allocations: 1.166 MB / 0.5589 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.4026, allocations: 4 kB / 0.5589 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.4032, allocations: 184 kB / 0.5591 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.4032, allocations: 4 kB / 0.5591 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.4033, allocations: 23.98 kB / 0.5591 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.4049, allocations: 2.957 MB / 0.562 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4049, allocations: 4.281 kB / 0.562 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/0.4057, allocations: 0.49 MB / 0.5625 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.4058, allocations: 112.8 kB / 0.5626 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.4058, allocations: 11.94 kB / 0.5626 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.406, allocations: 15.98 kB / 0.5626 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.4061, allocations: 31.97 kB / 0.5626 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.4061, allocations: 24 kB / 0.5627 GB, free: 116 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.4062, allocations: 131.5 kB / 0.5628 GB, free: 15.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4062, allocations: 0 / 0.5628 GB, free: 15.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001091/0.4073, allocations: 366.3 kB / 0.5631 GB, free: 15.62 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001748/0.4091, allocations: 1.3 MB / 0.5644 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.4102, allocations: 480.9 kB / 0.5649 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4102, allocations: 0 / 0.5649 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005987/0.4108, allocations: 256.5 kB / 0.5651 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.4112, allocations: 32.67 kB / 0.5651 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/0.4164, allocations: 3.993 MB / 0.569 GB, free: 9.227 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.4171, allocations: 0.9907 MB / 0.57 GB, free: 8.207 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004125/0.4175, allocations: 166.5 kB / 0.5702 GB, free: 8.043 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.4178, allocations: 207.4 kB / 0.5704 GB, free: 7.84 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4178, allocations: 0 / 0.5704 GB, free: 7.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/0.456, allocations: 12.72 MB / 0.5828 GB, free: 11.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.39, allocations: 20.5 kB / 0.5828 GB, free: 11.33 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1)