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.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001255/0.001255, allocations: 118.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.001525/0.001526, allocations: 198 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.398/1.398, 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.2253/0.2253, allocations: 46.11 MB / 344.3 MB, free: 11.47 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.003647/0.003647, allocations: 79.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3457, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003046/0.3488, allocations: 1.834 MB / 0.5324 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004247/0.3531, allocations: 2.952 MB / 0.5353 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.746e-05/0.3532, allocations: 1.375 kB / 0.5353 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.3535, allocations: 44.12 kB / 0.5353 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.3538, allocations: 80.06 kB / 0.5354 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.3555, allocations: 0.7394 MB / 0.5361 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.3558, allocations: 240 kB / 0.5364 GB, free: 8.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.433e-05/0.3559, allocations: 25.23 kB / 0.5364 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.3561, allocations: 110.2 kB / 0.5365 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.3563, allocations: 120.1 kB / 0.5366 GB, free: 8.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.3563, allocations: 7.781 kB / 0.5366 GB, free: 8.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.3582, allocations: 1.235 MB / 0.5378 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.976e-05/0.3583, allocations: 67.77 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.3585, allocations: 117.7 kB / 0.538 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.3599, allocations: 0.9353 MB / 0.5389 GB, free: 7.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.36, allocations: 0 / 0.5389 GB, free: 7.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.36, allocations: 0 / 0.5389 GB, free: 7.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.36, allocations: 0 / 0.5389 GB, free: 7.348 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001043/0.361, allocations: 0.6877 MB / 0.5396 GB, free: 6.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3611, allocations: 8.625 kB / 0.5396 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.599e-05/0.3612, allocations: 73.53 kB / 0.5397 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.3612, allocations: 29.41 kB / 0.5397 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.3615, allocations: 243.2 kB / 0.5399 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.3616, allocations: 22.88 kB / 0.5399 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.344e-05/0.3616, allocations: 24.77 kB / 0.54 GB, free: 6.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000738/0.3624, allocations: 475.3 kB / 0.5404 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3624, allocations: 3.938 kB / 0.5404 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.3624, allocations: 10 kB / 0.5404 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-05/0.3625, allocations: 51.8 kB / 0.5405 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008683/0.3634, allocations: 0.5437 MB / 0.541 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.3652, allocations: 1.306 MB / 0.5423 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.3658, allocations: 279.2 kB / 0.5426 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.366, allocations: 96.78 kB / 0.5427 GB, free: 4.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.3661, allocations: 13.38 kB / 0.5427 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3661, allocations: 35.97 kB / 0.5427 GB, free: 4.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.024e-06/0.3661, allocations: 4 kB / 0.5427 GB, free: 4.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007639/0.3669, allocations: 337.4 kB / 0.543 GB, free: 4.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.3669, allocations: 54.72 kB / 0.5431 GB, free: 4.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3671, allocations: 143.6 kB / 0.5432 GB, free: 4.199 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.3671, allocations: 30.77 kB / 0.5432 GB, free: 4.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.3673, allocations: 192.3 kB / 0.5434 GB, free: 3.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.663e-05/0.3674, allocations: 99.59 kB / 0.5435 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.3675, allocations: 70.34 kB / 0.5436 GB, free: 3.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3676, allocations: 323.6 kB / 0.5439 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.3678, allocations: 90.55 kB / 0.544 GB, free: 3.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.3681, allocations: 174 kB / 0.5441 GB, free: 3.352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.3686, allocations: 297 kB / 0.5444 GB, free: 3.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3686, allocations: 0 / 0.5444 GB, free: 3.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005893/0.3692, allocations: 327.5 kB / 0.5447 GB, free: 2.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3693, allocations: 8 kB / 0.5448 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.3693, allocations: 4 kB / 0.5448 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3693, allocations: 4.344 kB / 0.5448 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.3698, allocations: 119.9 kB / 0.5449 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.3713, allocations: 2.364 MB / 0.5472 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.3714, allocations: 39.73 kB / 0.5472 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.3715, allocations: 16 kB / 0.5472 GB, free: 248 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002034/0.3717, allocations: 177.8 kB / 0.5474 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.3718, allocations: 19.91 kB / 0.5474 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000794/0.3726, allocations: 362.2 kB / 0.5478 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.3726, allocations: 4 kB / 0.5478 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3726, allocations: 3.938 kB / 0.5478 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3726, allocations: 7.875 kB / 0.5478 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.373, allocations: 345.3 kB / 0.5481 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3731, allocations: 0 / 0.5481 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/0.3735, allocations: 103.9 kB / 0.5482 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.3735, allocations: 0 / 0.5482 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.3735, allocations: 12 kB / 0.5482 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.3749, allocations: 2.36 MB / 0.5505 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3749, allocations: 0 / 0.5505 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.3755, allocations: 371.2 kB / 0.5509 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.3756, allocations: 97.11 kB / 0.551 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.3756, allocations: 4 kB / 0.551 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3758, allocations: 11.98 kB / 0.551 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.3759, allocations: 31.84 kB / 0.551 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.3759, allocations: 12 kB / 0.551 GB, free: 12.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.115e-05/0.376, allocations: 95.27 kB / 0.5511 GB, free: 12.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.376, allocations: 0 / 0.5511 GB, free: 12.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007528/0.3767, allocations: 254.7 kB / 0.5514 GB, free: 11.82 MB / 414.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001498/0.3782, allocations: 1.164 MB / 0.5525 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007674/0.379, allocations: 299.6 kB / 0.5528 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.379, allocations: 3.938 kB / 0.5528 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004628/0.3795, allocations: 180.5 kB / 0.553 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.3798, allocations: 12 kB / 0.553 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.3832, allocations: 2.588 MB / 0.5555 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.3837, allocations: 0.8063 MB / 0.5563 GB, free: 6.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.3839, allocations: 97.72 kB / 0.5564 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.3841, allocations: 93.75 kB / 0.5565 GB, free: 6.395 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3841, allocations: 0 / 0.5565 GB, free: 6.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/0.4192, allocations: 8.92 MB / 0.5652 GB, free: 13.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.44, allocations: 10.5 kB / 0.5652 GB, free: 13.7 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1)