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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 106.5 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001589/0.001589, allocations: 221.8 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 230.2 MB / 256.2 MB, free: 8.73 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1975/0.1975, allocations: 46.88 MB / 359.3 MB, free: 4.969 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002145/0.002145, allocations: 87.84 kB / 0.494 GB, free: 9.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2613, allocations: 65.98 MB / 0.5584 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.00283/0.2642, allocations: 1.863 MB / 0.5603 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003912/0.2681, allocations: 2.98 MB / 0.5632 GB, free: 368 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.2681, allocations: 4 kB / 0.5632 GB, free: 364 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002075/0.2683, allocations: 47.73 kB / 0.5632 GB, free: 316 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.2686, allocations: 79.58 kB / 0.5633 GB, free: 236 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.27, allocations: 0.7388 MB / 0.564 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.2702, allocations: 250.7 kB / 0.5642 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.2703, allocations: 10.23 kB / 0.5643 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.2705, allocations: 107.5 kB / 0.5644 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.2706, allocations: 127.4 kB / 0.5645 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.2707, allocations: 8 kB / 0.5645 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.2724, allocations: 1.232 MB / 0.5657 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.2725, allocations: 67.69 kB / 0.5658 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.2726, allocations: 119.2 kB / 0.5659 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.2738, allocations: 0.9343 MB / 0.5668 GB, free: 12.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2738, allocations: 0 / 0.5668 GB, free: 12.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2738, allocations: 0 / 0.5668 GB, free: 12.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2739, allocations: 0 / 0.5668 GB, free: 12.64 MB / 414.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.0009276/0.2748, allocations: 0.6848 MB / 0.5675 GB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2748, allocations: 8.031 kB / 0.5675 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.11e-05/0.2749, allocations: 78.7 kB / 0.5675 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.275, allocations: 28.75 kB / 0.5676 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.2752, allocations: 251 kB / 0.5678 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.2752, allocations: 28.48 kB / 0.5678 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.2753, allocations: 20 kB / 0.5678 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.276, allocations: 467.3 kB / 0.5683 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.276, allocations: 4 kB / 0.5683 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.276, allocations: 11.98 kB / 0.5683 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-05/0.2761, allocations: 48.97 kB / 0.5684 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/0.2769, allocations: 0.5464 MB / 0.5689 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.2786, allocations: 1.312 MB / 0.5702 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.2791, allocations: 254.5 kB / 0.5704 GB, free: 8.688 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.2793, allocations: 92.8 kB / 0.5705 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.2793, allocations: 7.938 kB / 0.5705 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2793, allocations: 34.56 kB / 0.5705 GB, free: 8.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.232e-06/0.2793, allocations: 0 / 0.5705 GB, free: 8.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007161/0.2801, allocations: 337.2 kB / 0.5709 GB, free: 8.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.2801, allocations: 59.41 kB / 0.5709 GB, free: 8.137 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.2802, allocations: 148.9 kB / 0.5711 GB, free: 7.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.2802, allocations: 29.7 kB / 0.5711 GB, free: 7.945 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.2804, allocations: 196.6 kB / 0.5713 GB, free: 7.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.2804, allocations: 91.22 kB / 0.5714 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.2805, allocations: 61.7 kB / 0.5714 GB, free: 7.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2806, allocations: 330.8 kB / 0.5717 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.2808, allocations: 91.92 kB / 0.5718 GB, free: 7.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.2811, allocations: 178.9 kB / 0.572 GB, free: 6.961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.2816, allocations: 286.9 kB / 0.5723 GB, free: 6.645 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2816, allocations: 3.938 kB / 0.5723 GB, free: 6.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005701/0.2821, allocations: 329.1 kB / 0.5726 GB, free: 6.312 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2822, allocations: 7.984 kB / 0.5726 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2822, allocations: 4 kB / 0.5726 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2822, allocations: 4 kB / 0.5726 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.2826, allocations: 119.8 kB / 0.5727 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.2839, allocations: 2.356 MB / 0.575 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.2841, allocations: 47.8 kB / 0.5751 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.2841, allocations: 12 kB / 0.5751 GB, free: 3.672 MB / 414.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.0001666/0.2843, allocations: 181.6 kB / 0.5753 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.2843, allocations: 15.91 kB / 0.5753 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007152/0.285, allocations: 362.2 kB / 0.5756 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.285, allocations: 0 / 0.5756 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.285, allocations: 0 / 0.5756 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.285, allocations: 15.92 kB / 0.5756 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.2854, allocations: 341.3 kB / 0.576 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2854, allocations: 0 / 0.576 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.2858, allocations: 111.9 kB / 0.5761 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.2858, allocations: 4 kB / 0.5761 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.2858, allocations: 12 kB / 0.5761 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.287, allocations: 2.356 MB / 0.5784 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.287, allocations: 288 / 0.5784 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005459/0.2876, allocations: 379.2 kB / 0.5787 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.2876, allocations: 92.95 kB / 0.5788 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.2877, allocations: 8 kB / 0.5788 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.2878, allocations: 11.98 kB / 0.5788 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.2879, allocations: 23.95 kB / 0.5789 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.2879, allocations: 8 kB / 0.5789 GB, free: 15.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.281e-05/0.2879, allocations: 107.3 kB / 0.579 GB, free: 15.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2879, allocations: 0 / 0.579 GB, free: 15.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006388/0.2886, allocations: 254.7 kB / 0.5792 GB, free: 15.23 MB / 430.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.001314/0.2899, allocations: 1.157 MB / 0.5803 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007004/0.2906, allocations: 296.3 kB / 0.5806 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2906, allocations: 0 / 0.5806 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.291, allocations: 163.8 kB / 0.5808 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.2913, allocations: 15.94 kB / 0.5808 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.2943, allocations: 2.593 MB / 0.5833 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.2947, allocations: 0.7985 MB / 0.5841 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002317/0.2949, allocations: 101.7 kB / 0.5842 GB, free: 9.926 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.2951, allocations: 95.39 kB / 0.5843 GB, free: 9.832 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2951, allocations: 0 / 0.5843 GB, free: 9.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.3261, allocations: 8.904 MB / 0.593 GB, free: 1.051 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/10.91, allocations: 10.73 kB / 0.593 GB, free: 1.043 MB / 430.1 MB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.501027945996611]