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_turbulent_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.001401/0.001401, allocations: 109 kB / 19.74 MB, free: 2.582 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.001293/0.001293, allocations: 216.1 kB / 22.92 MB, free: 5.562 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.286/1.286, allocations: 230.2 MB / 256.2 MB, free: 8.598 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.1991/0.1991, allocations: 46.9 MB / 359.3 MB, free: 4.949 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_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_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.002178/0.002178, allocations: 83.86 kB / 0.494 GB, free: 9.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2521, allocations: 65.99 MB / 0.5584 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002943/0.255, allocations: 1.836 MB / 0.5602 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.2574, allocations: 1.742 MB / 0.5619 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.2575, allocations: 0 / 0.5619 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.2577, allocations: 43.75 kB / 0.562 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.258, allocations: 87.56 kB / 0.5621 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007409/0.2587, allocations: 402.7 kB / 0.5625 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.259, allocations: 246.7 kB / 0.5627 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.259, allocations: 14.23 kB / 0.5627 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.2592, allocations: 107.4 kB / 0.5628 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.2594, allocations: 123.4 kB / 0.5629 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.2594, allocations: 8 kB / 0.5629 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.2604, allocations: 0.7173 MB / 0.5636 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.711e-05/0.2605, allocations: 67.69 kB / 0.5637 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.2606, allocations: 119.1 kB / 0.5638 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008092/0.2614, allocations: 0.6305 MB / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2614, allocations: 3.938 kB / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2614, allocations: 0 / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2614, allocations: 0 / 0.5644 GB, free: 15.04 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.000918/0.2624, allocations: 0.6345 MB / 0.565 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2624, allocations: 8.031 kB / 0.5651 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.857e-05/0.2625, allocations: 74.72 kB / 0.5651 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.2625, allocations: 32.7 kB / 0.5652 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.2628, allocations: 247.1 kB / 0.5654 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.2628, allocations: 24.55 kB / 0.5654 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/0.2629, allocations: 20 kB / 0.5654 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006938/0.2636, allocations: 467.3 kB / 0.5659 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2636, allocations: 3.938 kB / 0.5659 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.2636, allocations: 15.98 kB / 0.5659 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.898e-05/0.2637, allocations: 44.97 kB / 0.5659 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008341/0.2645, allocations: 0.5504 MB / 0.5665 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.2663, allocations: 1.3 MB / 0.5677 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005215/0.2668, allocations: 262.5 kB / 0.568 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.267, allocations: 88.8 kB / 0.5681 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.267, allocations: 11.92 kB / 0.5681 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.267, allocations: 38.56 kB / 0.5681 GB, free: 10.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.2671, allocations: 0 / 0.5681 GB, free: 10.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007449/0.2678, allocations: 329.2 kB / 0.5684 GB, free: 10.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.2678, allocations: 55.41 kB / 0.5685 GB, free: 10.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.268, allocations: 149.1 kB / 0.5686 GB, free: 10.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.268, allocations: 29.7 kB / 0.5687 GB, free: 10.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.2681, allocations: 200.5 kB / 0.5689 GB, free: 10.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.127e-05/0.2682, allocations: 95.22 kB / 0.5689 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2683, allocations: 69.62 kB / 0.569 GB, free: 10.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2684, allocations: 326.8 kB / 0.5693 GB, free: 9.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.2686, allocations: 91.86 kB / 0.5694 GB, free: 9.617 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.2689, allocations: 179 kB / 0.5696 GB, free: 9.406 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/0.2694, allocations: 286.9 kB / 0.5699 GB, free: 9.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2694, allocations: 7.938 kB / 0.5699 GB, free: 9.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00057/0.27, allocations: 325.1 kB / 0.5702 GB, free: 8.758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.27, allocations: 4 kB / 0.5702 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.27, allocations: 4.344 kB / 0.5702 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.27, allocations: 8 kB / 0.5702 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.2705, allocations: 119.9 kB / 0.5703 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.2717, allocations: 2.36 MB / 0.5726 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.2719, allocations: 43.72 kB / 0.5727 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.2719, allocations: 19.97 kB / 0.5727 GB, free: 6.109 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.0001826/0.2721, allocations: 173.9 kB / 0.5728 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.2722, allocations: 15.91 kB / 0.5729 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007458/0.2729, allocations: 362.2 kB / 0.5732 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2729, allocations: 0 / 0.5732 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2729, allocations: 7.984 kB / 0.5732 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2729, allocations: 3.938 kB / 0.5732 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.2733, allocations: 341.4 kB / 0.5735 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2733, allocations: 0 / 0.5735 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.2737, allocations: 103.9 kB / 0.5736 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.2737, allocations: 4 kB / 0.5736 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.2738, allocations: 19.98 kB / 0.5737 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.275, allocations: 2.356 MB / 0.576 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.275, allocations: 0 / 0.576 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.2755, allocations: 371.3 kB / 0.5763 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.2756, allocations: 97.14 kB / 0.5764 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.2756, allocations: 11.98 kB / 0.5764 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.2758, allocations: 8 kB / 0.5764 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.2758, allocations: 27.91 kB / 0.5765 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.2758, allocations: 4 kB / 0.5765 GB, free: 2.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.881e-05/0.2759, allocations: 107.2 kB / 0.5766 GB, free: 1.938 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2759, allocations: 3.938 kB / 0.5766 GB, free: 1.934 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004975/0.2764, allocations: 175.2 kB / 0.5767 GB, free: 1.762 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.00111/0.2775, allocations: 1.036 MB / 0.5777 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007048/0.2782, allocations: 283.7 kB / 0.578 GB, free: 432 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2782, allocations: 0.6875 kB / 0.578 GB, free: 432 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004246/0.2787, allocations: 179.7 kB / 0.5782 GB, free: 252 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.279, allocations: 12 kB / 0.5782 GB, free: 240 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.282, allocations: 2.552 MB / 0.5807 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.2824, allocations: 0.8102 MB / 0.5815 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002259/0.2826, allocations: 97.69 kB / 0.5816 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.2827, allocations: 91.41 kB / 0.5817 GB, free: 12.52 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2827, allocations: 0 / 0.5817 GB, free: 12.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.3125, allocations: 7.094 MB / 0.5886 GB, free: 5.551 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.76, allocations: 12.61 kB / 0.5886 GB, free: 5.539 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_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_turbulent_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.326942571002292]