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.001409/0.001409, allocations: 122.8 kB / 17.79 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.001571/0.001571, allocations: 202 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.439/1.439, allocations: 227.4 MB / 247 MB, free: 10.4 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.2236/0.2236, allocations: 46.13 MB / 344.4 MB, free: 11.39 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.002329/0.002329, allocations: 79.86 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3375, allocations: 62.44 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003116/0.3407, allocations: 1.847 MB / 0.5324 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.3432, allocations: 1.369 MB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.899e-05/0.3433, allocations: 1.312 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.3436, allocations: 55.58 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.3438, allocations: 80.55 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.3444, allocations: 227.3 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004497/0.3448, allocations: 401.2 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3449, allocations: 47.12 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002915/0.3452, allocations: 159.9 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.3455, allocations: 175.8 kB / 0.5349 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.3456, allocations: 15 kB / 0.5349 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007541/0.3463, allocations: 462.3 kB / 0.5353 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.3465, allocations: 134.5 kB / 0.5354 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.3467, allocations: 189.5 kB / 0.5356 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008092/0.3475, allocations: 0.6207 MB / 0.5362 GB, free: 9.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3475, allocations: 0 / 0.5362 GB, free: 9.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3476, allocations: 0 / 0.5362 GB, free: 9.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3476, allocations: 1.156 kB / 0.5362 GB, free: 9.273 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.001266/0.3488, allocations: 0.7936 MB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3489, allocations: 9 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.349, allocations: 97.48 kB / 0.5371 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.3491, allocations: 55.44 kB / 0.5372 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.3496, allocations: 324.7 kB / 0.5375 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.3497, allocations: 34.28 kB / 0.5375 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.871e-05/0.3498, allocations: 47.31 kB / 0.5375 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.3508, allocations: 0.6941 MB / 0.5382 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3508, allocations: 1.188 kB / 0.5382 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.3509, allocations: 19.73 kB / 0.5382 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.694e-05/0.351, allocations: 61.92 kB / 0.5383 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.3522, allocations: 0.7249 MB / 0.539 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.3549, allocations: 1.707 MB / 0.5407 GB, free: 6.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/0.3555, allocations: 365.6 kB / 0.541 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.3558, allocations: 148.1 kB / 0.5412 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.3559, allocations: 9.188 kB / 0.5412 GB, free: 5.828 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.3559, allocations: 36.05 kB / 0.5412 GB, free: 5.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.705e-06/0.356, allocations: 0 / 0.5412 GB, free: 5.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.001241/0.3572, allocations: 495.8 kB / 0.5417 GB, free: 5.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.3573, allocations: 53.72 kB / 0.5417 GB, free: 5.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.3578, allocations: 461 kB / 0.5422 GB, free: 5.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.3579, allocations: 31.36 kB / 0.5422 GB, free: 5.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.3581, allocations: 256.4 kB / 0.5424 GB, free: 4.965 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.807e-05/0.3582, allocations: 115.2 kB / 0.5426 GB, free: 4.863 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3583, allocations: 82.72 kB / 0.5426 GB, free: 4.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3585, allocations: 354.9 kB / 0.543 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.3588, allocations: 140.3 kB / 0.5431 GB, free: 4.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.3592, allocations: 249.5 kB / 0.5433 GB, free: 4.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/0.36, allocations: 435.9 kB / 0.5438 GB, free: 3.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.36, allocations: 3.938 kB / 0.5438 GB, free: 3.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008757/0.3609, allocations: 481.3 kB / 0.5442 GB, free: 3.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3609, allocations: 8 kB / 0.5442 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3609, allocations: 4 kB / 0.5442 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.361, allocations: 8 kB / 0.5442 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/0.3616, allocations: 163.8 kB / 0.5444 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.3638, allocations: 3.606 MB / 0.5479 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.3642, allocations: 67.5 kB / 0.548 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.3642, allocations: 23.94 kB / 0.548 GB, free: 15.3 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.0003029/0.3645, allocations: 216.9 kB / 0.5482 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.741e-05/0.3646, allocations: 39.77 kB / 0.5483 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.3657, allocations: 0.5297 MB / 0.5488 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.3657, allocations: 4 kB / 0.5488 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3658, allocations: 3.938 kB / 0.5488 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3658, allocations: 3.984 kB / 0.5488 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.3664, allocations: 461.1 kB / 0.5492 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3664, allocations: 0 / 0.5492 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005349/0.3669, allocations: 143.9 kB / 0.5494 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.367, allocations: 8 kB / 0.5494 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.367, allocations: 12 kB / 0.5494 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.3692, allocations: 3.61 MB / 0.5529 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3692, allocations: 0 / 0.5529 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.3703, allocations: 0.656 MB / 0.5535 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.3706, allocations: 156.7 kB / 0.5537 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.3706, allocations: 8 kB / 0.5537 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.3708, allocations: 20.08 kB / 0.5537 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.3709, allocations: 31.91 kB / 0.5538 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.371, allocations: 15.94 kB / 0.5538 GB, free: 9.164 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000388/0.3714, allocations: 351.1 kB / 0.5541 GB, free: 8.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3714, allocations: 0 / 0.5541 GB, free: 8.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005681/0.3719, allocations: 163.5 kB / 0.5543 GB, free: 8.664 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.001613/0.3736, allocations: 1.282 MB / 0.5555 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.3747, allocations: 439.4 kB / 0.5559 GB, free: 6.926 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3747, allocations: 0.9375 kB / 0.5559 GB, free: 6.926 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006452/0.3753, allocations: 259.7 kB / 0.5562 GB, free: 6.672 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.3758, allocations: 37.44 kB / 0.5562 GB, free: 6.637 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007062/0.3829, allocations: 4.885 MB / 0.561 GB, free: 1.586 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.3835, allocations: 0.913 MB / 0.5619 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003279/0.3838, allocations: 143 kB / 0.562 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.3841, allocations: 167.4 kB / 0.5622 GB, free: 352 kB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3841, allocations: 0 / 0.5622 GB, free: 352 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03784/0.4219, allocations: 11.25 MB / 0.5732 GB, free: 5.316 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.61, allocations: 22.8 kB / 0.5732 GB, free: 5.301 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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)