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.001302/0.001302, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247 MB, free: 10.41 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.223/0.223, 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.002289/0.002289, allocations: 79.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3646, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003171/0.3678, allocations: 1.692 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3694, allocations: 0.833 MB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.3695, allocations: 2.812 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.3697, allocations: 40.73 kB / 0.5331 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.3699, allocations: 46.45 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.3702, allocations: 104.5 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.3704, allocations: 157.3 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.3705, allocations: 18.48 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.3707, allocations: 67.33 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.3708, allocations: 73.92 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3709, allocations: 4.125 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.3712, allocations: 165.3 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.3713, allocations: 37.12 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.219e-05/0.3714, allocations: 59.64 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.3718, allocations: 211.4 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3718, allocations: 3.938 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3718, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.3718, allocations: 1.281 kB / 0.534 GB, free: 10.82 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007226/0.3725, allocations: 470.7 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3726, allocations: 10.88 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.354e-05/0.3727, allocations: 52.41 kB / 0.5346 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004808/0.3731, allocations: 54.81 kB / 0.5346 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.3734, allocations: 218.1 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3734, allocations: 9.219 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.3735, allocations: 16.16 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.374, allocations: 236.4 kB / 0.5351 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.374, allocations: 0 / 0.5351 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.374, allocations: 9.375 kB / 0.5351 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/0.3741, allocations: 17.52 kB / 0.5351 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004596/0.3745, allocations: 228.7 kB / 0.5353 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.3758, allocations: 0.7301 MB / 0.536 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.376, allocations: 94.94 kB / 0.5361 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.3762, allocations: 44.44 kB / 0.5362 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3762, allocations: 1.5 kB / 0.5362 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.3763, allocations: 39.56 kB / 0.5362 GB, free: 8.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3763, allocations: 0 / 0.5362 GB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005762/0.3768, allocations: 171.3 kB / 0.5364 GB, free: 8.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.3769, allocations: 56.19 kB / 0.5364 GB, free: 8.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.3771, allocations: 189.9 kB / 0.5366 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3772, allocations: 26.77 kB / 0.5366 GB, free: 8.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.3773, allocations: 140.9 kB / 0.5367 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.3773, allocations: 27.06 kB / 0.5368 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.3774, allocations: 37 kB / 0.5368 GB, free: 8.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3776, allocations: 327.4 kB / 0.5371 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3777, allocations: 47 kB / 0.5372 GB, free: 8.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.3779, allocations: 99.25 kB / 0.5373 GB, free: 8.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.3783, allocations: 171.2 kB / 0.5374 GB, free: 7.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3783, allocations: 0 / 0.5374 GB, free: 7.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004157/0.3787, allocations: 183.6 kB / 0.5376 GB, free: 7.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3787, allocations: 9.312 kB / 0.5376 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3787, allocations: 5.234 kB / 0.5376 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3788, allocations: 3.469 kB / 0.5376 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008977/0.3797, allocations: 92.17 kB / 0.5377 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.3812, allocations: 1.818 MB / 0.5395 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.3814, allocations: 19.22 kB / 0.5395 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.3814, allocations: 17.83 kB / 0.5395 GB, free: 5.898 MB / 398.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.0001694/0.3816, allocations: 146.1 kB / 0.5397 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.3816, allocations: 9.047 kB / 0.5397 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/0.3821, allocations: 179.1 kB / 0.5398 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3822, allocations: 1.812 kB / 0.5398 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3822, allocations: 1.625 kB / 0.5398 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3822, allocations: 3.984 kB / 0.5398 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.3825, allocations: 236.2 kB / 0.5401 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3825, allocations: 0 / 0.5401 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/0.3833, allocations: 81.77 kB / 0.5401 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.3833, allocations: 9.016 kB / 0.5402 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.3833, allocations: 1.125 kB / 0.5402 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.3847, allocations: 1.776 MB / 0.5419 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3847, allocations: 5.094 kB / 0.5419 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004444/0.3852, allocations: 237.1 kB / 0.5421 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/0.3852, allocations: 93.62 kB / 0.5422 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.3853, allocations: 5.156 kB / 0.5422 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.3854, allocations: 7.469 kB / 0.5422 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.3855, allocations: 12.52 kB / 0.5422 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.3855, allocations: 10.33 kB / 0.5422 GB, free: 3.246 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.3857, allocations: 135.2 kB / 0.5424 GB, free: 3.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3857, allocations: 0 / 0.5424 GB, free: 3.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003516/0.386, allocations: 46.48 kB / 0.5424 GB, free: 3.137 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.0009774/0.387, allocations: 0.7983 MB / 0.5432 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.3882, allocations: 194.5 kB / 0.5434 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.3883, allocations: 1.469 kB / 0.5434 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006403/0.3889, allocations: 98.08 kB / 0.5435 GB, free: 2.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.3893, allocations: 41.7 kB / 0.5435 GB, free: 2.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.3923, allocations: 2.114 MB / 0.5456 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.3928, allocations: 0.7321 MB / 0.5463 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.3929, allocations: 36.66 kB / 0.5463 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.167e-05/0.393, allocations: 42.48 kB / 0.5464 GB, free: 15.77 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.393, allocations: 1.188 kB / 0.5464 GB, free: 15.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.4235, allocations: 5.104 MB / 0.5514 GB, free: 11.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.99, allocations: 13.27 kB / 0.5514 GB, free: 11.95 MB / 414.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)