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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.001319/0.00132, allocations: 118.8 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.001292/0.001292, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247 MB, free: 10.46 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.2226/0.2226, allocations: 46.13 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.002283/0.002283, allocations: 83.84 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3172, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003263/0.3206, allocations: 1.92 MB / 0.5325 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.3225, allocations: 1.138 MB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.3226, allocations: 2.625 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.3229, allocations: 73.52 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.3231, allocations: 64.53 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.3235, allocations: 163.5 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.324, allocations: 257.5 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.246e-05/0.324, allocations: 35.08 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.3243, allocations: 110.1 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.3245, allocations: 119.3 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.3245, allocations: 6.875 kB / 0.5344 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005297/0.325, allocations: 323.4 kB / 0.5347 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.3e-05/0.3251, allocations: 54.77 kB / 0.5348 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3252, allocations: 112.5 kB / 0.5349 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.3258, allocations: 440.5 kB / 0.5353 GB, free: 9.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3258, allocations: 0.875 kB / 0.5353 GB, free: 9.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3259, allocations: 0 / 0.5353 GB, free: 9.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3259, allocations: 0 / 0.5353 GB, free: 9.895 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007867/0.3267, allocations: 0.573 MB / 0.5359 GB, free: 9.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3267, allocations: 10.47 kB / 0.5359 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.091e-05/0.3268, allocations: 80.17 kB / 0.5359 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.3269, allocations: 36.45 kB / 0.536 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.3271, allocations: 235.2 kB / 0.5362 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.3272, allocations: 25.41 kB / 0.5362 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.3272, allocations: 33.03 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007982/0.328, allocations: 496.3 kB / 0.5367 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3281, allocations: 0 / 0.5367 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.3281, allocations: 15.5 kB / 0.5367 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/0.3281, allocations: 30.55 kB / 0.5368 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006704/0.3288, allocations: 426.9 kB / 0.5372 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.3303, allocations: 1.187 MB / 0.5383 GB, free: 7.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.3306, allocations: 76.53 kB / 0.5384 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.3307, allocations: 42.48 kB / 0.5385 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.3307, allocations: 1.25 kB / 0.5385 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.3308, allocations: 31.69 kB / 0.5385 GB, free: 7.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.935e-06/0.3308, allocations: 1.25 kB / 0.5385 GB, free: 7.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004799/0.3312, allocations: 159.1 kB / 0.5386 GB, free: 7.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.3313, allocations: 56.91 kB / 0.5387 GB, free: 7.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.3315, allocations: 172.1 kB / 0.5389 GB, free: 7.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.3315, allocations: 27.36 kB / 0.5389 GB, free: 7.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.3316, allocations: 226.4 kB / 0.5391 GB, free: 6.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.3317, allocations: 33.45 kB / 0.5391 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-05/0.3318, allocations: 52.23 kB / 0.5392 GB, free: 6.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3319, allocations: 325.5 kB / 0.5395 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.3321, allocations: 51.42 kB / 0.5395 GB, free: 6.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.3323, allocations: 180 kB / 0.5397 GB, free: 6.258 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.3327, allocations: 247.1 kB / 0.5399 GB, free: 6.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3327, allocations: 1.156 kB / 0.5399 GB, free: 6.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004633/0.3332, allocations: 250.9 kB / 0.5402 GB, free: 5.898 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3332, allocations: 10.75 kB / 0.5402 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3332, allocations: 4.312 kB / 0.5402 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3332, allocations: 6.188 kB / 0.5402 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.3336, allocations: 89.23 kB / 0.5403 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.3347, allocations: 1.787 MB / 0.542 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.3348, allocations: 31.62 kB / 0.5421 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.3349, allocations: 15.66 kB / 0.5421 GB, free: 4.043 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0002678/0.3351, allocations: 172 kB / 0.5422 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.3352, allocations: 16.36 kB / 0.5423 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005131/0.3357, allocations: 203.4 kB / 0.5425 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.3357, allocations: 1.125 kB / 0.5425 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3357, allocations: 0 / 0.5425 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3358, allocations: 5.172 kB / 0.5425 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003771/0.3361, allocations: 290.9 kB / 0.5427 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3361, allocations: 1.125 kB / 0.5427 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.3364, allocations: 61.12 kB / 0.5428 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3364, allocations: 1.25 kB / 0.5428 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3364, allocations: 7.156 kB / 0.5428 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.3375, allocations: 1.774 MB / 0.5445 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3375, allocations: 4.281 kB / 0.5445 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.3379, allocations: 213 kB / 0.5447 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.3379, allocations: 90.7 kB / 0.5448 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.338, allocations: 5.375 kB / 0.5448 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.499e-05/0.3381, allocations: 3.688 kB / 0.5448 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.3381, allocations: 9.703 kB / 0.5449 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.3382, allocations: 11.5 kB / 0.5449 GB, free: 1.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.148e-05/0.3383, allocations: 115.1 kB / 0.545 GB, free: 1.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3383, allocations: 3.938 kB / 0.545 GB, free: 1.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.3387, allocations: 103.2 kB / 0.5451 GB, free: 1.254 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 (7): * Single equations (assignments): 4 * 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.0009012/0.3396, allocations: 0.8037 MB / 0.5459 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000552/0.3402, allocations: 183.1 kB / 0.546 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3402, allocations: 0 / 0.546 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.3405, allocations: 88.52 kB / 0.5461 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3408, allocations: 12.17 kB / 0.5461 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.3435, allocations: 2.223 MB / 0.5483 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.344, allocations: 0.799 MB / 0.5491 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.3442, allocations: 64.33 kB / 0.5491 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.3443, allocations: 76.16 kB / 0.5492 GB, free: 13.63 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3443, allocations: 0 / 0.5492 GB, free: 13.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.3725, allocations: 5.313 MB / 0.5544 GB, free: 8.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.01, allocations: 10.83 kB / 0.5544 GB, free: 8.684 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1)