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.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.001705/0.001705, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002/0.002, allocations: 205.2 kB / 18.74 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.476/1.476, allocations: 227.4 MB / 247 MB, free: 10.42 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.2316/0.2316, 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.002314/0.002314, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3452, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003297/0.3485, allocations: 1.835 MB / 0.5324 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.3508, allocations: 1.373 MB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.3509, allocations: 1.594 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.3512, allocations: 56.48 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002522/0.3514, allocations: 87.8 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.3519, allocations: 219.2 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004158/0.3523, allocations: 401.5 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.244e-05/0.3524, allocations: 48.34 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.3527, allocations: 159.9 kB / 0.5347 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.353, allocations: 175.1 kB / 0.5349 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.353, allocations: 11.09 kB / 0.5349 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008512/0.3539, allocations: 465.4 kB / 0.5353 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.3541, allocations: 135.5 kB / 0.5354 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.3544, allocations: 185.8 kB / 0.5356 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009584/0.3553, allocations: 0.6237 MB / 0.5362 GB, free: 9.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3553, allocations: 0 / 0.5362 GB, free: 9.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.95e-06/0.3554, allocations: 5.156 kB / 0.5362 GB, free: 9.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3554, allocations: 3.938 kB / 0.5362 GB, free: 9.301 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001403/0.3568, allocations: 0.7858 MB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3568, allocations: 9.469 kB / 0.537 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.357, allocations: 96.3 kB / 0.5371 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.3571, allocations: 56.53 kB / 0.5372 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/0.3575, allocations: 327.8 kB / 0.5375 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.3576, allocations: 30.84 kB / 0.5375 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.357e-05/0.3577, allocations: 47.33 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.3587, allocations: 0.7025 MB / 0.5382 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3588, allocations: 3.938 kB / 0.5382 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.085e-05/0.3588, allocations: 16.12 kB / 0.5382 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.342e-05/0.3589, allocations: 58.34 kB / 0.5383 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.36, allocations: 0.7217 MB / 0.539 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.3625, allocations: 1.71 MB / 0.5407 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.3632, allocations: 359.6 kB / 0.541 GB, free: 5.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.3635, allocations: 148.7 kB / 0.5412 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.3636, allocations: 12.73 kB / 0.5412 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.3636, allocations: 41.05 kB / 0.5412 GB, free: 5.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.714e-06/0.3636, allocations: 0 / 0.5412 GB, free: 5.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.001046/0.3647, allocations: 499.1 kB / 0.5417 GB, free: 5.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.3647, allocations: 54 kB / 0.5417 GB, free: 5.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.3652, allocations: 449 kB / 0.5422 GB, free: 5.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.3653, allocations: 30.83 kB / 0.5422 GB, free: 5.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.3655, allocations: 265.7 kB / 0.5425 GB, free: 4.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.154e-05/0.3656, allocations: 107.2 kB / 0.5426 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3658, allocations: 85.69 kB / 0.5426 GB, free: 4.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3659, allocations: 354.1 kB / 0.543 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.3662, allocations: 142.4 kB / 0.5431 GB, free: 4.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.3666, allocations: 256.9 kB / 0.5434 GB, free: 4.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007028/0.3673, allocations: 425.5 kB / 0.5438 GB, free: 3.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.3673, allocations: 3.938 kB / 0.5438 GB, free: 3.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008472/0.3682, allocations: 485 kB / 0.5442 GB, free: 3.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3682, allocations: 8 kB / 0.5442 GB, free: 3.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3682, allocations: 7.984 kB / 0.5442 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3683, allocations: 4 kB / 0.5442 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/0.3689, allocations: 159.8 kB / 0.5444 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.3712, allocations: 3.614 MB / 0.5479 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.3715, allocations: 59.5 kB / 0.548 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.3715, allocations: 23.94 kB / 0.548 GB, free: 15.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002996/0.3719, allocations: 224.9 kB / 0.5482 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.3719, allocations: 39.75 kB / 0.5483 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.373, allocations: 0.5334 MB / 0.5488 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3731, allocations: 0 / 0.5488 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3731, allocations: 4 kB / 0.5488 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3731, allocations: 3.938 kB / 0.5488 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006386/0.3737, allocations: 457.1 kB / 0.5492 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3737, allocations: 0 / 0.5492 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.3743, allocations: 143.9 kB / 0.5494 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.3743, allocations: 7.984 kB / 0.5494 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.3743, allocations: 12 kB / 0.5494 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/0.3765, allocations: 3.602 MB / 0.5529 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3765, allocations: 0 / 0.5529 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.3776, allocations: 0.6638 MB / 0.5535 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.3779, allocations: 160.7 kB / 0.5537 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.791e-05/0.3779, allocations: 16.14 kB / 0.5537 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.3781, allocations: 11.94 kB / 0.5537 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.3782, allocations: 27.91 kB / 0.5538 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.3783, allocations: 19.98 kB / 0.5538 GB, free: 9.219 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004228/0.3787, allocations: 339.1 kB / 0.5541 GB, free: 8.891 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3787, allocations: 0 / 0.5541 GB, free: 8.891 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006269/0.3793, allocations: 171.5 kB / 0.5543 GB, free: 8.723 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001691/0.381, allocations: 1.282 MB / 0.5555 GB, free: 7.414 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.3822, allocations: 436.3 kB / 0.5559 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3822, allocations: 4.062 kB / 0.5559 GB, free: 6.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006731/0.3829, allocations: 255.7 kB / 0.5562 GB, free: 6.734 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.3833, allocations: 41.44 kB / 0.5562 GB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006435/0.3898, allocations: 4.875 MB / 0.561 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006097/0.3904, allocations: 0.9131 MB / 0.5619 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003605/0.3908, allocations: 146.9 kB / 0.562 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.391, allocations: 159.4 kB / 0.5622 GB, free: 424 kB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3911, allocations: 0 / 0.5622 GB, free: 424 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03868/0.4297, allocations: 11.26 MB / 0.5732 GB, free: 5.371 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.49, allocations: 22.61 kB / 0.5732 GB, free: 5.355 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1)