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_laminar_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.00139/0.00139, allocations: 105.8 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.001521/0.001521, allocations: 221 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.306/1.306, allocations: 230.2 MB / 256.2 MB, free: 8.762 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.1988/0.1988, allocations: 46.89 MB / 359.3 MB, free: 4.984 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_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.00215/0.00215, allocations: 83.86 kB / 0.494 GB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2598, allocations: 65.99 MB / 0.5584 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002821/0.2626, allocations: 1.82 MB / 0.5602 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.2639, allocations: 0.8462 MB / 0.561 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.2639, allocations: 4 kB / 0.5611 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.2641, allocations: 43.75 kB / 0.5611 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.2644, allocations: 79.58 kB / 0.5612 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.2645, allocations: 67.72 kB / 0.5612 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.2647, allocations: 135.4 kB / 0.5614 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.2647, allocations: 13.81 kB / 0.5614 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.2649, allocations: 71.75 kB / 0.5614 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.2651, allocations: 91.69 kB / 0.5615 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.2651, allocations: 4 kB / 0.5615 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.2652, allocations: 71.89 kB / 0.5616 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.2653, allocations: 27.84 kB / 0.5616 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.2653, allocations: 39.8 kB / 0.5617 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.2656, allocations: 147.3 kB / 0.5618 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2656, allocations: 0 / 0.5618 GB, free: 1.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2656, allocations: 0 / 0.5618 GB, free: 1.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.2656, allocations: 0 / 0.5618 GB, free: 1.758 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005352/0.2661, allocations: 418.9 kB / 0.5622 GB, free: 1.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2662, allocations: 8.031 kB / 0.5622 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.729e-05/0.2662, allocations: 46.72 kB / 0.5623 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.2665, allocations: 36.81 kB / 0.5623 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.2667, allocations: 184.2 kB / 0.5625 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.2667, allocations: 8.375 kB / 0.5625 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.2667, allocations: 11.94 kB / 0.5625 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003347/0.267, allocations: 180.1 kB / 0.5627 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.267, allocations: 0 / 0.5627 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.2671, allocations: 3.984 kB / 0.5627 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.2671, allocations: 19.92 kB / 0.5627 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.2674, allocations: 127.9 kB / 0.5628 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007893/0.2682, allocations: 0.6406 MB / 0.5634 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.2685, allocations: 110.6 kB / 0.5635 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.2686, allocations: 40.81 kB / 0.5636 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.2686, allocations: 7.938 kB / 0.5636 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.2686, allocations: 30.56 kB / 0.5636 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2686, allocations: 0 / 0.5636 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004255/0.2691, allocations: 141.5 kB / 0.5637 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.2691, allocations: 55.41 kB / 0.5638 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.2692, allocations: 129.1 kB / 0.5639 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.2692, allocations: 25.7 kB / 0.5639 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.2693, allocations: 124.2 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.2693, allocations: 27.78 kB / 0.5641 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.2694, allocations: 29.7 kB / 0.5641 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2695, allocations: 330.8 kB / 0.5644 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.2696, allocations: 31.97 kB / 0.5645 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.2697, allocations: 95.69 kB / 0.5646 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.27, allocations: 139.5 kB / 0.5647 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.27, allocations: 4 kB / 0.5647 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003178/0.2703, allocations: 161.4 kB / 0.5649 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2703, allocations: 4 kB / 0.5649 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2703, allocations: 4.25 kB / 0.5649 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2704, allocations: 7.984 kB / 0.5649 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.2705, allocations: 39.92 kB / 0.5649 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2705, allocations: 4 kB / 0.5649 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.439e-05/0.2706, allocations: 15.88 kB / 0.5649 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2706, allocations: 12 kB / 0.5649 GB, free: 14.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.376e-05/0.2707, allocations: 129.7 kB / 0.5651 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.2708, allocations: 15.94 kB / 0.5651 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.2711, allocations: 125.9 kB / 0.5652 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2711, allocations: 7.938 kB / 0.5652 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2711, allocations: 0 / 0.5652 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2711, allocations: 0 / 0.5652 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.2713, allocations: 193.6 kB / 0.5654 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2713, allocations: 0 / 0.5654 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.2714, allocations: 39.91 kB / 0.5654 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2714, allocations: 0 / 0.5654 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.2714, allocations: 4 kB / 0.5654 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2714, allocations: 0 / 0.5654 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2714, allocations: 0 / 0.5654 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.2717, allocations: 211.3 kB / 0.5656 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.2718, allocations: 85.06 kB / 0.5657 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.2718, allocations: 4 kB / 0.5657 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.2719, allocations: 11.98 kB / 0.5657 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.2719, allocations: 7.984 kB / 0.5657 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.2719, allocations: 0 / 0.5657 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.483e-05/0.272, allocations: 95.27 kB / 0.5658 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.272, allocations: 3.938 kB / 0.5658 GB, free: 13.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.2722, allocations: 27.95 kB / 0.5659 GB, free: 13.19 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00059/0.2728, allocations: 0.748 MB / 0.5666 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.2731, allocations: 104 kB / 0.5667 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2731, allocations: 0 / 0.5667 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.2732, allocations: 35.97 kB / 0.5667 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.2734, allocations: 7.984 kB / 0.5667 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.2752, allocations: 1.672 MB / 0.5684 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.2755, allocations: 0.7127 MB / 0.5691 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.831e-05/0.2756, allocations: 24.53 kB / 0.5691 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.2757, allocations: 31.41 kB / 0.5691 GB, free: 9.676 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2757, allocations: 4 kB / 0.5691 GB, free: 9.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.2978, allocations: 2.266 MB / 0.5713 GB, free: 7.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.893/7.191, allocations: 7.062 kB / 0.5713 GB, free: 7.512 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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_laminar_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.678531735000433]